Control the leds at FIXME. https://fixme.ch/wiki/LED_Lighting

rorist db79d51d84 how to deploy on k8s without https 7 months ago
.gitignore ef0dcc6abd rename led-ctrl, ignore pyc files 1 year ago
Dockerfile d82fbc20f6 Make things work 7 months ago
README.md 72f158e4bb docs 8 months ago
apache-vhost.conf 9a5b5904b3 apache vhost 1 year ago
app.wsgi dc56eaa20d wsgi file for apache 1 year ago
ips-ew a0c1d2e8e4 use 2 separated lists for row/col 8 months ago
ips-ns a0c1d2e8e4 use 2 separated lists for row/col 8 months ago
k8s db79d51d84 how to deploy on k8s without https 7 months ago
led_ctrl.py d82fbc20f6 Make things work 7 months ago
requirements.txt 133b9a506b deps 8 months ago

README.md

Installation

pip3 install --user -r requirements.txt

Usage

curl -XPOST localhost:5000/'

Discovery

To find your strips uses the following code and create the ips_ew and ips_ns config file. The match row and columns to north/south axes.

flux_led --scan

TODO

  • Use a JSON payload instead of POST variables ?
  • Keep the state of every strip
  • Check that the state is applied and reapply it if this is not the case
  • Multi color effects (JSON Payload needed)

  • Information de position dans le fichier des IPs

  • Async.io ???

  • multi colors