openLuup: Magic Home Wifi LED Control

I’m very happy to see that my plugin was mentioned as being known to work, for others than me! :slight_smile:

[hr]

Moderator: Split into a separate thread from this discussion Known working plugins

yes works well - going to order a couple more of them, only thing I was wondering whether I could swap the blue/green channels in your plugin to save swapping the wiring.

It makes sense to me that you should be able to. The LED controller only cares about what it’s told, and each channel handles the same sort of information. If you want to feed it RBGW instead of RGBW, it shouldn’t affect it I wouldn’t think.

its simple enough to switch values[2] and values[3] in sendTcp (in I_magichomeRGBW.xml) and so the setcolour works correctly but its obviouly used to set built in modes as well which then dont work and the built in modes wont work correctly anyway. Ideally it would be better for the controller itself to be able to alias the colour channels - do you know of a reference to access the controller so I can have a look ?

I’ve take the liberty of splitting this discussion off from the “Known working plugins” thread, because it’s getting into some of the details and I can see that it might go on longer. I split at @ceefin’s first post to that thread in order to be the OP for this new thread, and also added a backlink to the original one in the first post of this thread.

cheers great idea - wasnt sure where to carry on with it after the first of ceefins post