summaryrefslogtreecommitdiff
path: root/meta-facebook/recipes-phosphor/sensors/phosphor-virtual-sensor/yosemitev2/yosemitev2_sensor_config.json
diff options
context:
space:
mode:
Diffstat (limited to 'meta-facebook/recipes-phosphor/sensors/phosphor-virtual-sensor/yosemitev2/yosemitev2_sensor_config.json')
-rw-r--r--meta-facebook/recipes-phosphor/sensors/phosphor-virtual-sensor/yosemitev2/yosemitev2_sensor_config.json90
1 files changed, 41 insertions, 49 deletions
diff --git a/meta-facebook/recipes-phosphor/sensors/phosphor-virtual-sensor/yosemitev2/yosemitev2_sensor_config.json b/meta-facebook/recipes-phosphor/sensors/phosphor-virtual-sensor/yosemitev2/yosemitev2_sensor_config.json
index c56712dbdd..8864f9c019 100644
--- a/meta-facebook/recipes-phosphor/sensors/phosphor-virtual-sensor/yosemitev2/yosemitev2_sensor_config.json
+++ b/meta-facebook/recipes-phosphor/sensors/phosphor-virtual-sensor/yosemitev2/yosemitev2_sensor_config.json
@@ -1,51 +1,43 @@
[
- {
- "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"
- }
+ {
+ "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"
+ }
]
-