diff options
Diffstat (limited to 'meta-fii/meta-kudo/recipes-phosphor/sensors/phosphor-virtual-sensor/virtual_sensor_config.json')
-rw-r--r-- | meta-fii/meta-kudo/recipes-phosphor/sensors/phosphor-virtual-sensor/virtual_sensor_config.json | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/meta-fii/meta-kudo/recipes-phosphor/sensors/phosphor-virtual-sensor/virtual_sensor_config.json b/meta-fii/meta-kudo/recipes-phosphor/sensors/phosphor-virtual-sensor/virtual_sensor_config.json new file mode 100644 index 000000000..d7b2e4450 --- /dev/null +++ b/meta-fii/meta-kudo/recipes-phosphor/sensors/phosphor-virtual-sensor/virtual_sensor_config.json @@ -0,0 +1,64 @@ +[ + { + "Desc": + { + "Name": "Mobo_NBM1_T", + "SensorType": "temperature", + "minValue": 0, + "maxValue": 160 + }, + "Threshold" : + { + "CriticalHigh": 110, + "CriticalLow": 0, + "WarningHigh": 108, + "WarningLow": 0 + }, + "Params": + { + "DbusParam": + [ + { + "ParamName": "V1", + "Desc": + { + "Name": "Mobo_NBM1_RAW", + "SensorType": "voltage" + } + } + ] + }, + "Expression": "(V1 - 2.73) * 100" + }, + { + "Desc": + { + "Name": "Mobo_NBM2_T", + "SensorType": "temperature", + "minValue": 0, + "maxValue": 160 + }, + "Threshold" : + { + "CriticalHigh": 110, + "CriticalLow": 0, + "WarningHigh": 108, + "WarningLow": 0 + }, + "Params": + { + "DbusParam": + [ + { + "ParamName": "V2", + "Desc": + { + "Name": "Mobo_NBM2_RAW", + "SensorType": "voltage" + } + } + ] + }, + "Expression": "(V2 - 2.73) * 100" + } +] |