python-limitlessled icon indicating copy to clipboard operation
python-limitlessled copied to clipboard

Support for RGB (not RGBW) lights?

Open davidmonro opened this issue 8 years ago • 1 comments

Hi,

I note the library doesn't appear to currently support RGB lights. Although limitless stopped selling the plain RGB ones a while ago there are other people currently making things which are compatible with them - like pool lights (http://www.davey.com.au/products/pool-lights/pal-4000-series-led-lights-with-remote-control.html)

The RGB commands are documented under "LimitlessLED RGB CommandSet " on http://www.limitlessled.com/dev/ . The main problem I can see is that there's no concept of a group with the RGB ones, so I'm not sure how to integrate it into the existing paradigm - perhaps only allow creation of group '1' of type RGB?

davidmonro avatar Nov 15 '16 11:11 davidmonro

I was able to adapt on and off commands by simply replacing 0x45 and 0x46 in the source code with 0x22 and 0x21. There is JS implementation which actually works better with this legacy kind of bulbs, you can use it as a command reference https://github.com/mwittig/node-milight-promise/blob/6ed3b4fcd31857a60ec55c4ffd554823c32a50d5/src/commands.js#L166-L178

ReDetection avatar Jun 30 '19 17:06 ReDetection