random pieces of code for controlling RGB Led strips from a Raspberry PI
Listens for api requests using the http protocol
Watches for hardware button pushes. When a button push is detected it makes an API call.
Create systemd startup filesProperly daemonize each piece- Web UI with more controls
- state
- toggle all
- toggle per light
- color set all
- color set per light
- scheduler
- list
- add
- edit
- delete
- fade speed
- addition events
- sunset
- random
- cycle
- custom
Make the api server run under uWSGI and Nginx- Make the light changes fade
- Make all API calls take an optional led set
- Clean out unused code
- Add a /leds endpoint that returns a list of led sets
- Save state when changes are made.
- Restore state on recovery from power loss
- Toggle between stored state and off
- Add swagger docs
/on/off/toggle/rgb/state- /sunrise
- /schedule
- /scheduel/{event_id}
- add more events, including swagger docs
- sunset
- random
- cycle
- custom
Make Sharon and Tim's buttons toggle each respective side