Re: Philips Hue app?
Posted: 30 Dec 2016 07:18
Thanks Minux, the module worked (unlike the other one, that did nothing). I have updated it a bit to deal with Ambience lights.
For Ambience lights my version now:
Creates a dimmer for colour temperature (unfortunately there's no proper UI element for this).
Doesn't create the unnecessary Saturation dimmer.
Optionally removes the on/off switch, and instead turns off when dimmed to 0.
I also fixed the polling for status updates, so on/off updates for non-RGBW lights and brightness update correctly.
Hopefully it does this without messing up the functioning of RGBW lights! But I don't have any to test, nor do I have any of the plan white ones to test (though I probably should tweak it so it auto detects them as well and just gives a slider or slider+switch).
Minux: Do you have a GitHub or something so people can contribute to the module?
bse4792: If you were hoping to use the Hue sensors and dimmers to control anything but Hue lights you're not going to have much luck. The Hue API doesn't have any ability to push events out, so it can't tell ZWay when a button is pushed or whatever. You can poll the status, but that would introduce unacceptable delay - it could be many seconds from the Hue sensor going off or a button being pressed to ZWay responding. Developers have apparently been going on at Phillips to add this feature for years, but nothing so far. In the meantime, while the lights are great I wouldn't advise buying their sensors or switches if you want to properly integrate them into a heterogeneous system (though I appreciate it might be too late for you!).
For Ambience lights my version now:
Creates a dimmer for colour temperature (unfortunately there's no proper UI element for this).
Doesn't create the unnecessary Saturation dimmer.
Optionally removes the on/off switch, and instead turns off when dimmed to 0.
I also fixed the polling for status updates, so on/off updates for non-RGBW lights and brightness update correctly.
Hopefully it does this without messing up the functioning of RGBW lights! But I don't have any to test, nor do I have any of the plan white ones to test (though I probably should tweak it so it auto detects them as well and just gives a slider or slider+switch).
Minux: Do you have a GitHub or something so people can contribute to the module?
bse4792: If you were hoping to use the Hue sensors and dimmers to control anything but Hue lights you're not going to have much luck. The Hue API doesn't have any ability to push events out, so it can't tell ZWay when a button is pushed or whatever. You can poll the status, but that would introduce unacceptable delay - it could be many seconds from the Hue sensor going off or a button being pressed to ZWay responding. Developers have apparently been going on at Phillips to add this feature for years, but nothing so far. In the meantime, while the lights are great I wouldn't advise buying their sensors or switches if you want to properly integrate them into a heterogeneous system (though I appreciate it might be too late for you!).