Programmatic light bulb syncing
See original GitHub issueDear Marcus,
I’m a newbie in the Milight world, and I’m wondering if this node can be used to programmatically link my Milight light bulbs to a specified zone?
Current setup without NodeJs
Milight App --> V6 Wifi bridge (iBox 2) --> light bulb
When powering up a light bulb, you have 5 seconds in the Milight App to press a zone number X (from 1 to 4). From that moment on, the light bulb is linked to zone number X.
Remark: when another app is used (e.g. on another smartphone), another zone can be setup for the same light bulb.
New setup with NodeJs
Web application --> Node-Milight-Promise --> V6 Wifi bridge (iBox 2) --> light bulb
I would like to simulate the same behavious, without having to use my original Milight app (or remote control). So when I press some button in my own web application (e.g. Node-Red), I want to let the Node-Milight-Promise node know that the light bulb (that is currently starting up) needs to be linked to zone X.
It is not clear to me if this is currently possible with this node. If not, is this perhaps somewhere on the roadmap?
Thanks in advance !!! Bart Butenaers
Issue Analytics
- State:
- Created 6 years ago
- Comments:24 (12 by maintainers)
@bartbutenaers, @HellandB, et al.
I reviewed the project for node-red-contrib-milight (https://github.com/stephenkeep/node-red-contrib-milight) and spent some time to add support for the “full color” bulb and bridge light. The code currently resides in my fork as I want to do more testing. If you are impatient and want to give it a try you should be able to install from my fork if you have git installed:
npm i mwittig/node-red-contrib-milight
Bart,
Sounds great! Thanks for the feedback.
Unfortunately there is still no new npm package release even though a maintainer stepped in to help with the project. However, he has no access to npmjs and the author is not responding to e-mails. For this reason, I’ll publish the plugin as a new project soon. I’ll keep you posted on this.
Kind Regards marcus