-
-
Notifications
You must be signed in to change notification settings - Fork 20
light Device
Erik Baauw edited this page Apr 16, 2021
·
2 revisions
A light device exposes a PWM light 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 Lightbulb service. Through this service, you can control the brightness from HomeKit.
The light device uses the following config.json keys:
| key | type | Description |
|---|---|---|
name |
string | The name for the device in HomeKit. |
gpio |
integer | The GPIO pin. |