-
-
Notifications
You must be signed in to change notification settings - Fork 19
fan device
Erik Baauw edited this page Dec 3, 2024
·
1 revision
A fan device exposes a PWM fan connected to a GPIO pin.
Homebridge RPi configures the GPIO pin for output.
Currently, Homebridge RPi is hard-coded to use pigpiod's default frequency and range for PWM.
The device is exposed as a separate HomeKit accessory, with a Fan service. Through this service, you can control the rotation speed from HomeKit.
The fan device uses the following config.json keys:
| key | type | Description |
|---|---|---|
name |
string | The name for the device in HomeKit. |
gpio |
integer | The GPIO pin. |