Skip to content

suhajda3/homebridge-rgb-ledstrip

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homebridge-rgb-ledstrip

verified-by-homebridge npm version npm Donate

Raspberry Pi GPIO based LED Strip plugin for Homebridge

Originally inspired by GiniaE/homebridge-gpio-ledstrip and manfredipist/homebridge-gpio-rgb-ledstrip

Installation

  1. Install Homebridge using npm install -g homebridge
  2. Install this plugin npm install -g homebridge-rgb-ledstrip
  3. Run sudo pigpiod after installing the pigpio library and Python
  4. 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
     }
   ]

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)

Contributing

Feel free to open an issue (or even better, send a Pull Request) to contribute. Contributions are always welcomed! 😄

Buy Me A Coffee

Please consider donating. 🙏

About

Raspberry Pi GPIO based LED Strip plugin for Homebridge

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 82.7%
  • Python 17.3%