summaryrefslogtreecommitdiff
path: root/meta-facebook/recipes-phosphor/sensors/phosphor-virtual-sensor/tiogapass/tiogapass_sensor_config.json
blob: a394faef81c17a67c39a5c32a4739a90de468fe0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[
	{
		"Desc" :
		{
			"Name" : "Virtual_Inlet_Temp",
			"SensorType" : "temperature"
		},
		"Threshold" :
		{
			"CriticalHigh": 90,
			"CriticalLow": 20,
			"WarningHigh": 70,
			"WarningLow": 30
		},
		"Params":
		{
			"ConstParam" :
			[
				{
					"ParamName" : "P1",
					"Value" : 1.1
				}
			],
			"DbusParam" :
			[
				{
					"ParamName" : "P2",
					"Desc" :
					{
						"Name" : "MB_INLET_TEMP",
						"SensorType" : "temperature"
					}
				},
				{
					"ParamName" : "P3",
					"Desc" :
					{
						"Name" : "MB_FAN0_TACH",
						"SensorType" : "fan_tach"
					}
				}
			]
		},
		"Expression" : "P1 * (P2 + 5 - P3 * 0.01)"
	}
]