RPi GPIO based LED Strip plugin for Homebridge
- Install homebridge using: npm install -g homebridge
- Install this plugin using: npm install -g homebridge-gpio-ledstrip
- Update your configuration file. See sample config.json snippet below.
Configuration sample:
"accessories": [
{
"accessory": "GPIORGBLEDStrip",
"name": "Kitchen Cabinet Strip",
"redPin": 22,
"greenPin": 27,
"bluePin": 17
}
]
Fields:
- "accessory": Must always be "GPIORGBLEDStrip" (required)
- "name": Can be anything (required)
- "redPin": GPIO pin that is used to set red value (required)
- "greenPin": GPIO pin that is used to set green value (required)
- "bluePin": GPIO pin that is used to set blue value (required)