summaryrefslogtreecommitdiff
path: root/meta-ibm/recipes-phosphor/sensors/phosphor-virtual-sensor/p10bmc/virtual_sensor_config.json
blob: 15bf4560784268693906c26201f204dd0ec6924f (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
[
    {
        "Desc":
        {
            "Config" : "D-Bus",
            "Type" : "ModifiedMedian"
        }
    },
    {
        "Desc":
        {
            "Name": "Altitude",
            "SensorType": "altitude"
        },
        "Threshold" :
        {
            "WarningHigh": 3050
        },
        "Params":
        {
            "DbusParam":
            [
                {
                    "ParamName": "P0",
                    "Desc":
                    {
                        "Name": "Station_Pressure",
                        "SensorType": "pressure"
                    }
                }
            ]
        },
        "Expression": "44330.0 * (1.0 - ((P0/101325.0) ^ (1/5.255)))"
    }
]