homebridge-remote-ledstrip-plugin
Raspberry Pi GPIO based LED Strip plugin for Homebridge
Originally inspired by GiniaE/homebridge-gpio-ledstrip and manfredipist/homebridge-gpio-rgb-ledstrip and base plugin taken from suhajda3/homebridge-rgb-ledstrip
Installation
- Install Homebridge on your host
- Install this plugin
npm install -g homebridge-remote-ledstrip-plugin
(on the host) - Run
sudo pigpiod
after installing the pigpio library and Python (on slave) - Optionally install Homebridge Config UI X
Hardware
Follow David Ordnung's tutorial on how to connect your LED Strip to the Rapsberry Pi's GPIO pins.Configuration
Configuration sample:```
"accessories": [
{
"accessory": "RgbLedStrip",
"name": "Bedroom LED Strip",
"rPin": 17,
"gPin": 22,
"bPin": 24,
"led-slave": "192.168.178.38"
}
]
```Fields:
- "accessory": Must always be "RgbLedStrip" (required)
- "name": Can be anything (required)
- "rPin": GPIO pin that is used to set red value (required)
- "gPin": GPIO pin that is used to set green value (required)
- "bPin": GPIO pin that is used to set blue value (required)
- "led-slave": IP of the client directly controlling the strip (required)