1# fans.json
2
3## JSON Example
4
5```
6[
7    {
8        "name": "fan0",
9        "zone": "0",
10        "sensors": ["fan0_0"],
11        "target_interface": "xyz.openbmc_project.Control.FanSpeed",
12        "target_path": "/xyz/openbmc_project/control/fanpwm/"
13    }
14    ...
15]
16```
17
18## Attributes
19
20### name
21
22The D-Bus name of the fan FRU. Required.
23
24### zone
25
26The zone the fan is in. Required.
27
28### sensors
29
30The D-bus sensor names associated with that fan. Required.
31
32### target_interface
33
34The D-Bus interface to use for setting the fan target speed/PWM. Either
35`xyz.openbmc_project.Control.FanSpeed` for RPM controlled fans or
36`xyz.openbmc_project.Control.FanPWM` for PWM controlled fans. Required.
37
38### target_path
39
40The D-Bus object path used for setting the fan target speed/PWM via
41"target_interface". If not configured, it defaults to
42`/xyz/openbmc_project/sensors/fan_tach/`. Optional.
43