Logic Machine Forum
mi-lights - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: General (https://forum.logicmachine.net/forumdisplay.php?fid=2)
+--- Thread: mi-lights (/showthread.php?tid=199)



mi-lights - managementboy - 16.01.2016

I have been researching a way to drive an RGB strip at a place in the house where I only have 1 connection of 24v (was planed to have only white LED). I found the mi-light system, but I am unsure if the LM does support it in any way?


RE: mi-lights - admin - 18.01.2016

Unfortunately, nearly all manufacturers of WiFi or BLE lights don't publish any protocol specs so you are forced to use their own apps.

There are some nodejs/pythong bindings for milight which you can use to implement it in your LM:
https://github.com/oeuillot/node-milight
https://github.com/McSwindler/python-milight


RE: mi-lights - Domoticatorino - 18.10.2016

Dear all,
have you any updated about it? I would like to install milight for a customer of mine.

How can I procede with command "$ npm install milight"?

Thanks.


RE: mi-lights - admin - 18.10.2016

Unfortunately, you can't. Npm requires nodejs which is not present on LM. Milight JS code looks simple enough to rewrite it in Lua.


RE: mi-lights - managementboy - 31.07.2017

(18.10.2016, 11:55)admin Wrote: Unfortunately, you can't. Npm requires nodejs which is not present on LM. Milight JS code looks simple enough to rewrite it in Lua.

So, as some time has passed I found a post for someone using a NRF24L01 2.4GHz wireless radio transceiver module with a Raspi. https://www.raspberrypi.org/magpi/pi-mi-light/

Any chance that the librf24-bcm code could be used with the reactor?


RE: mi-lights - admin - 31.07.2017

No, the library is specifi for RPi and the transceiver is connected via SPI bus which is not populated on Reactor.


RE: mi-lights - morak - 02.08.2017

(16.01.2016, 09:28)managementboy Wrote: I have been researching a way to drive an RGB strip at a place in the house where I only have 1 connection of 24v (was planed to have only white LED). I found the mi-light system, but I am unsure if the LM does support it in any way?

Why don't you use Z-Wave RGB controller?  I didn't try but it should work.