Skip to content

kittsville/pretty-lights

Repository files navigation

pretty-lights

A toolkit for using and testing the addressable LED lights on the stairs. Here's a video cycling through a few of the animations.

Screenshot of lights control UI

Based on localwood, the smart socket control panel.

Uses Flask.

Usage

  1. python3 -m venv .venv
  2. source .venv/bin/activate
  3. pip install -r requirements.txt
  4. PORT=8090 python3 server.py
  5. Navigate to http://0.0.0.0:8090/

Automate colour changes with cron:

*/30 * * * * curl -X POST "localhost:8090/random/single?automated=1"

Note: You can't change the frequency of automated colour changes faster than SECONDS_TO_IDLE

About

Procedurally generated IoT lighting

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors