Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

homebridge-gpio-rgbw-ledstrip

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homebridge-gpio-rgbw-ledstrip

Raspberry Pi GPIO based LED Strip plugin for Homebridge

  • 1.3.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
increased by80%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

FAQs

Package last updated on 17 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc