Hue ZLLSwitch support
Posted: Thursday 03 October 2019 1:00
Hello,
I want to get the button events of a philips hue dimmer switch in the dzvents script. There are a few ways to do so. But i was looking why domoticz doesn't do this natively, and found that most of it already is present in the philipsHue.cpp file. Just the elseif of the "SensorTypeZLLSwitch" is empty.
Is there a specific reason this isn't done yet? Is it ok if i implement ZLLSwitch?
My idea is to implement only the "short_release" and "long_release" as seperate switch for all 4 buttons. Only "On" events are send to the workerthread.
Note: then i will also implement the "ZGPSwitch" switch.
Regards,
Richard
I want to get the button events of a philips hue dimmer switch in the dzvents script. There are a few ways to do so. But i was looking why domoticz doesn't do this natively, and found that most of it already is present in the philipsHue.cpp file. Just the elseif of the "SensorTypeZLLSwitch" is empty.
Is there a specific reason this isn't done yet? Is it ok if i implement ZLLSwitch?
My idea is to implement only the "short_release" and "long_release" as seperate switch for all 4 buttons. Only "On" events are send to the workerthread.
Note: then i will also implement the "ZGPSwitch" switch.
Regards,
Richard