LED Lighting

From Fixme.ch
Revision as of 07:48, 13 January 2018 by Rorist (Talk | contribs) (API)

Jump to: navigation, search


  • You can control LED strips with the official app Magic Home Pro for Android or iOS.
  • You can also use the flux_led library, or some implementation from FIXME.
  • A script for controlling through Blender objects exists here


  • https://git.fixme.ch/FIXME/led-ctrl-2018
  • A service has been created to be on Foo to control the leds through an API
  • Everything is in the repo, but it's a python script using Flask that runs on Apache though wsgi
  • Usage example:
curl https://led.fixme.ch/ -XGET
curl https://led.fixme.ch/status -XGET
curl https://led.fixme.ch/ctrl -XPOST -d 'do=on'
curl https://led.fixme.ch/ctrl -XPOST -d 'do=off'
curl https://led.fixme.ch/ctrl -XPOST -d 'do=police'
curl https://led.fixme.ch/ctrl -XPOST -d 'do=color&r=255&g=0&b=0'


  • Each line are controlled by a wifi device
  • Here the list of the current IPs and MAC addresses:	60:01:94:96:09:0C	DC:4F:22:81:56:8A	DC:4F:22:81:3B:FE	DC:4F:22:81:5D:F5	60:01:94:95:8A:A8	60:01:94:95:A6:E0	60:01:94:95:A6:E1	DC:4F:22:81:5E:03	DC:4F:22:81:53:37	DC:4F:22:81:53:33


From North to South:	DC:4F:22:81:3B:FE	DC:4F:22:81:56:8A	60:01:94:96:09:0C	60:01:94:95:A6:E1	DC:4F:22:81:53:33	DC:4F:22:81:5E:03

From East to West:	60:01:94:95:8A:A8	DC:4F:22:81:53:37	60:01:94:95:A6:E0	DC:4F:22:81:5D:F5