summaryrefslogtreecommitdiff
path: root/meta-facebook/recipes-phosphor/sensors/phosphor-virtual-sensor/yosemitev2/yosemitev2_sensor_config.json
blob: c56712dbddc7ff5dc720fa2d3aeb1ba43f24a736 (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
47
48
49
50
51
[
  {
		"Desc" :
		{
			"Name" : "Virtual_CFM_Sensor",
			"SensorType" : "airflow"
		},
		"Threshold" :
		{
			"CriticalHigh": 40,
			"CriticalLow": 10,
			"WarningHigh": 30,
			"WarningLow": 15
		},
		"Params":
		{
			"ConstParam" :
			[
				{
					"ParamName" : "P1",
					"Value" : 0.00565
				},
				{
					"ParamName" : "P2",
					"Value" : 3.7427
				}
			],
			"DbusParam" :
			[
				{
					"ParamName" : "P3",
					"Desc" :
					{
						"Name" : "SP_FAN0_TACH",
						"SensorType" : "fan_tach"
					}
				},
				{
					"ParamName" : "P4",
					"Desc" :
					{
						"Name" : "SP_FAN1_TACH",
						"SensorType" : "fan_tach"
					}
				}
			]
		},
		"Expression" : "(P3 * P1) + (P4 * P1) - P2"
	}
]