-
-
Notifications
You must be signed in to change notification settings - Fork 19
blinkt Device
A blinkt
device exposes a Pimoroni Blinkt! or compatible device,
like the LED of the Pimoroni Fan SHIM.
These devices control a series of individually addressable LEDs, using two GPIO pins: one for the clock signal and one for the data signal.
Homebridge RPi configures the GPIOs for output.
Note that the actual state of the LEDs cannot be obtained.
Homebridge RPi does not monitor the GPIO pins to see whether any other application is controlling the LED.
The device is exposed as a separate HomeKit accessory, with a Lightbulb service per LED. Through this service, the LEDs brightness and colour can be controlled from HomeKit. HomeKit simply shows the latest state set through Homebridge RPi. Any change made to the LEDs through another application will not be reflected in HomeKit.
The blinkt
device uses the following config.json keys:
key | type | B* | F* | Description |
---|---|---|---|---|
name |
string | The name for the device in HomeKit. | ||
gpioClock |
integer | 24 | 14 | The GPIO pin for the clock signal. |
gpioData |
integer | 23 | 15 | The GPIO pin for the data signal. |
nLeds |
integer | 8 | 1 | The number of LEDs. |
*) B: Value for Blinkt!; F: Value for Fan SHIM.