homebridge-gpio-rgbw-ledstrip

1.3.5 • Public • Published

homebridge-gpio-rgbw-ledstrip

npm npm verified-by-homebridge

RPi GPIO based LED Strip plugin for Homebridge

Installation

  1. Install Homebridge using the official instructions.
  2. Install pi-blaster using these instructions.
  3. Update pi-blaster DAEMON_OPTS to contain the pins your LED strip is connected to (instructions).
  4. Install this plugin using sudo npm install -g homebridge-gpio-rgbw-ledstrip.
  5. Update your configuration file. See sample config.json snippet below.

Configuration

Configuration sample:

"accessories": [
  {
    "accessory": "SmartLedStrip",
    "name": "Basement LED Strip",
    "rPin": 26,
    "gPin": 19,
    "bPin": 16,
    "wPin": 20
  }
]

Fields

  • "accessory": Must always be "SmartLedStrip" (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)
  • "wPin": GPIO pin that is used to set white value (required)

Connecting LED Strips

You'll need to wire up a circuit to connect an LED strip to your Raspberry Pi. A decent guide on doing that is available here.

Package Sidebar

Install

npm i homebridge-gpio-rgbw-ledstrip

Weekly Downloads

19

Version

1.3.5

License

MIT

Unpacked Size

18 kB

Total Files

8

Last publish

Collaborators

  • sunookitsune