homebridge-gpio-ledstrip
v0.0.2
Published
Raspberry Pi GPIO based LED Strip plugin for Homebridge
Downloads
3
Readme
homebridge-gpio-ledstrip
RPi GPIO based LED Strip plugin for Homebridge
Installation
- 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
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)