Changes

Jump to: navigation, search

LED Lighting

2,717 bytes added, 12:49, 27 December 2022
= Specs =
* Our ceiling is covered with '''~100m of LED strips'''
* 5050 RGB 60 LED/m strips that were previously used for this [https://www.youtube.com/watch?v=9mIPOYKuu2M art instalation]
* Controlled using Magic Home controllers and custom software built around the [https://github.com/beville/flux_led flux_led library]
* Powered by 12v 30a JCPOWER power supplies
 
= Control =
- * You can control them with our good old [https://foo.fixme.ch/trigger.html trigger].* You can control LED strips with the official app Magic Home Pro for [https://play.google.com/store/apps/details?id=com.zengge.wifi Android] or [https://itunes.apple.com/us/app/magic-home-pro/id1187808229?mt=8 iOS].- * You can also use the [[https://github.com/beville/flux_led flux_led]] library, or some [[https://git.fixme.ch/francois/34c3/src/master/led implementation]] from FIXME.* A script for controlling through Blender objects exists [https://fixme.ch/wiki/File:Flux_controller.blend.zip here]* A physicial switch is able to turn on/off the LEDs https://git.fixme.ch/sasha/led-switch-box == Reset == If the LEDs blinks red/green/blue, it means they have been reseted, usually by turning them on and off too many times. You will have to set up the wifi again using the smartphone app for instance, https://play.google.com/store/apps/details?id=com.zengge.wifi Add them to the FIXME_NAT network one by one and it should be good to go again. == API ==* https://git.fixme.ch/FIXME/led-ctrl-2018* Deployed on [[Kubernetes]]* Everything is in the repo, but it's a python script using Flask that runs on Apache though wsgi* Usage example:<pre>curl https://led.fixme.ch/ -XGETcurl https://led.fixme.ch/status -XGETcurl 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'</pre> = Devices =* Each line are controlled by a wifi device* Here the list of the current IPs and MAC addresses:<pre>192.168.130.78 60:01:94:96:09:0C192.168.130.80 DC:4F:22:81:56:8A192.168.130.105 DC:4F:22:81:3B:FE192.168.130.130 DC:4F:22:81:5D:F5192.168.130.134 60:01:94:95:8A:A8192.168.130.143 60:01:94:95:A6:E0192.168.130.173 60:01:94:95:A6:E1192.168.130.225 DC:4F:22:81:5E:03192.168.130.237 DC:4F:22:81:53:37192.168.130.238 DC:4F:22:81:53:33</pre> == Mapping ==From North to South:<pre>192.168.130.105 DC:4F:22:81:3B:FE192.168.130.80 DC:4F:22:81:56:8A192.168.130.78 60:01:94:96:09:0C192.168.130.173 60:01:94:95:A6:E1192.168.130.238 DC:4F:22:81:53:33192.168.130.225 DC:4F:22:81:5E:03</pre>From East to West:<pre>192.168.130.134 60:01:94:95:8A:A8192.168.130.237 DC:4F:22:81:53:37192.168.130.143 60:01:94:95:A6:E0192.168.130.130 DC:4F:22:81:5D:F5</pre> == TRON ==The TRON also has some LEDs in it. <pre>192.168.130.31 60:01:94:95:EB:D7 (Background)192.168.130.219 60:01:94:95:79:0E (Header - Top)192.168.130.232 60:01:94:91:3A:41 (Header - Bottom)</pre> ''Notice: There is actually two different controller for the header as it requires quite a lot of power.''
ControlGroup, administrator
4,205
edits