RPiLC lets you control your RGB led strip with a Raspberry Pi. RPiLC has a designed web app that allows you to control your RGB led strip from any device with style!
- Live color preview as you move the color picker
- Multiple clients can be opened simultaneously
- control multiple RPiLC servers from one client
- Cycle between selected colors
- Recently used colors
- Web controlled, clean design
- iOS web app support
- Touch ready UI
- API
In order to use this app you need:
- A Raspberry Pi.
- Node.js installed.
- Pigpio C library (Version V41 or higher)
- RGB led connected to the Pi's GPIO (you can follow this guide for wiring)
You can follow these 3 easy steps to get it running on your own RPi:
git clone https://github.com/Winor/RPiLC
cd RPiLC
npm install
Edit config.json to match your setup
sudo node index.js
You can start RPiLC on startup by following these steps:
sudo npm install pm2@latest -g
cd [RPiLC location]
sudo pm2 start index.js --name RPiLC
sudo pm2 startup
http://RPiLC-Address/status
Will return status in JSON format
http://RPiLC-Address/togglestate
Will turn the LED strip on or off & return status in JSON format
http://RPiLC-Address/color
Accepts hex value, rgb(x, x, x) and color name. Will set the LED strip color & return status in JSON format
You can use this Siri shortcut to toggle your LED strip using your Apple device.
You can see what I plan to do next at my trello list, might be a little messy, sorry :P
This project is licensed under Apache License 2.0