summaryrefslogtreecommitdiff
path: root/meta-facebook/recipes-phosphor/sensors/phosphor-virtual-sensor/tiogapass/tiogapass_sensor_config.json
diff options
context:
space:
mode:
Diffstat (limited to 'meta-facebook/recipes-phosphor/sensors/phosphor-virtual-sensor/tiogapass/tiogapass_sensor_config.json')
-rw-r--r--meta-facebook/recipes-phosphor/sensors/phosphor-virtual-sensor/tiogapass/tiogapass_sensor_config.json81
1 files changed, 37 insertions, 44 deletions
diff --git a/meta-facebook/recipes-phosphor/sensors/phosphor-virtual-sensor/tiogapass/tiogapass_sensor_config.json b/meta-facebook/recipes-phosphor/sensors/phosphor-virtual-sensor/tiogapass/tiogapass_sensor_config.json
index a394faef81..17dacba11e 100644
--- a/meta-facebook/recipes-phosphor/sensors/phosphor-virtual-sensor/tiogapass/tiogapass_sensor_config.json
+++ b/meta-facebook/recipes-phosphor/sensors/phosphor-virtual-sensor/tiogapass/tiogapass_sensor_config.json
@@ -1,46 +1,39 @@
[
- {
- "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)"
- }
+ {
+ "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)"
+ }
]