flux_led
flux_led copied to clipboard
A utility for controlling Flux WiFi Smart LED Light Bulbs
I just received some magic home bulbs and in the app there is an option for candle where you can set amplitude, brightness, speed and color/CCT.
The current implementation only supports RGB+W bulbs, but the protocol supports multiple other types. Add support for identifying the controller based on its ID byte, and add a real rgbw...
The current code uses ``, a.k.a. [`INADDR_BROADCAST`](https://docs.python.org/2/library/socket.html), to scan for bulbs. I found that this doesn't work in all situations (including mine) due to the [limitations of such broadcasts](https://stackoverflow.com/a/683774). In...
I have made a simple PHP file to work with this python script. Basically gives you a simple web API that can be used to remotely activate it. IE: led.php?led=on...
**Existing code** ``` def byteToPercent(byte): ... return int((byte * 100)/255) def percentToByte(percent): ... return int((percent * 255)/100) ``` **Modified code** Add Round() to Return. ``` def byteToPercent(byte): ... return int(round(byte...
Is there a method to "ask" the bulb what color it is set to?
This is just one person's fork of the project. Issues and PRs should go to upstream, although it seems to be inactive there, too.
I know its a bit far fetched to ask here, but is there another way of 'talking' to these controllers? Could I send them php POST requests perhaps? I'm trying...
Is it possible to implement jumping to a color instead of fading to it? Im working on csgo game state integration but the lamps are not responding quick enough at...
in addition to on and off states, apparently the protocol offers pause and run (perhaps exploited to do the 'music' modes?): got back a response from Tomas Li, Sales Manager...