summaryrefslogtreecommitdiff
path: root/meta-bytedance/meta-g220a/recipes-phosphor/sensors/phosphor-virtual-sensor/virtual_sensor_config.json
blob: 0aacc030f99f8a6accf831cef80699f16ae062e2 (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
[
    {
        "Desc":
        {
            "Name": "total_power",
            "SensorType": "power"
        },
        "Params":
        {
            "DbusParam":
            [
                {
                    "ParamName": "T0",
                    "Desc":
                    {
                        "Name": "PSU0_Input_Power",
                        "SensorType": "power"
                    }
                },
                {
                    "ParamName": "T1",
                    "Desc":
                    {
                        "Name": "PSU1_Input_Power",
                        "SensorType": "power"
                    }
                }
            ]
        },
        "Expression": "T0 + T1"
    }
]