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.json46
1 files changed, 46 insertions, 0 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
new file mode 100644
index 0000000000..a394faef81
--- /dev/null
+++ b/meta-facebook/recipes-phosphor/sensors/phosphor-virtual-sensor/tiogapass/tiogapass_sensor_config.json
@@ -0,0 +1,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)"
+ }
+]