1{
2    "sensors" : [
3        {
4            "name": "Fan1",
5            "type": "fan",
6            "readPath": "/xyz/openbmc_project/sensors/fan_tach/Fan1",
7            "writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/pwm1",
8            "min": 0,
9            "max": 255
10        },
11        {
12            "name": "Fan2",
13            "type": "fan",
14            "readPath": "/xyz/openbmc_project/sensors/fan_tach/Fan2",
15            "writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/pwm2",
16            "min": 0,
17            "max": 255
18        },
19        {
20            "name": "Fan3",
21            "type": "fan",
22            "readPath": "/xyz/openbmc_project/sensors/fan_tach/Fan3",
23            "writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/pwm3",
24            "min": 0,
25            "max": 255
26        },
27        {
28            "name": "Fan4",
29            "type": "fan",
30            "readPath": "/xyz/openbmc_project/sensors/fan_tach/Fan4",
31            "writePath": "/sys/devices/platform/ahb/ahb:apb/f0103000.pwm-fan-controller/hwmon/**/pwm4",
32            "min": 0,
33            "max": 255
34        },
35        {
36            "name": "EVB_Temp",
37            "type": "temp",
38            "readPath": "/xyz/openbmc_project/sensors/temperature/EVB_Temp",
39            "writePath": "",
40            "ignoreDbusMinMax": true,
41            "timeout": 0
42        }
43    ],
44    "zones" : [
45        {
46            "id": 0,
47            "minThermalOutput": 0.0,
48            "failsafePercent": 100.0,
49            "pids": [
50                {
51                    "name": "Fan1",
52                    "type": "fan",
53                    "inputs": ["Fan1"],
54                    "setpoint": 40.0,
55                    "pid": {
56                        "samplePeriod": 1.0,
57                        "proportionalCoeff": 0.0,
58                        "integralCoeff": 0.0,
59                        "feedFwdOffsetCoeff": 0.0,
60                        "feedFwdGainCoeff": 1.0,
61                        "integralLimit_min": 0.0,
62                        "integralLimit_max": 0.0,
63                        "outLim_min": 10.0,
64                        "outLim_max": 100.0,
65                        "slewNeg": 0.0,
66                        "slewPos": 0.0
67                    }
68                }
69            ]
70        },
71        {
72            "id": 1,
73            "minThermalOutput": 0.0,
74            "failsafePercent": 100.0,
75            "pids": [
76                {
77                    "name": "Fan4",
78                    "type": "fan",
79                    "inputs": ["Fan4"],
80                    "setpoint": 90.0,
81                    "pid": {
82                        "samplePeriod": 0.1,
83                        "proportionalCoeff": 0.0,
84                        "integralCoeff": 0.0,
85                        "feedFwdOffsetCoeff": 0.0,
86                        "feedFwdGainCoeff": 1.0,
87                        "integralLimit_min": 0.0,
88                        "integralLimit_max": 0.0,
89                        "outLim_min": 10.0,
90                        "outLim_max": 100.0,
91                        "slewNeg": 0.0,
92                        "slewPos": 0.0
93                    }
94                },
95                 {
96                    "name": "EVB_Temp",
97                    "type": "stepwise",
98                    "inputs": ["EVB_Temp"],
99                    "setpoint": 30.0,
100                    "pid": {
101                        "samplePeriod": 1.0,
102                        "positiveHysteresis": 0.0,
103                        "negativeHysteresis": 0.0,
104                        "isCeiling": false,
105                        "reading": {
106                            "0": 25,
107                            "1": 28,
108                            "2": 31,
109                            "3": 34,
110                            "4": 37,
111                            "5": 40,
112                            "6": 43,
113                            "7": 46,
114                            "8": 49,
115                            "9": 52,
116                            "10": 55,
117                            "11": 58,
118                            "12": 61,
119                            "13": 64,
120                            "14": 67,
121                            "15": 70
122                        },
123                        "output": {
124                            "0": 10,
125                            "1": 10,
126                            "2": 20,
127                            "3": 20,
128                            "4": 20,
129                            "5": 30,
130                            "6": 30,
131                            "7": 30,
132                            "8": 40,
133                            "9": 50,
134                            "10": 60,
135                            "11": 70,
136                            "12": 80,
137                            "13": 90,
138                            "14": 100,
139                            "15": 100
140                        }
141
142
143                    }
144                }
145
146            ]
147        }
148    ]
149}
150