Page 1 of 1

Hue ZLLSwitch support

Posted: Thursday 03 October 2019 1:00
by Dols
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

Re: Hue ZLLSwitch support

Posted: Thursday 03 October 2019 1:10
by Dols
Why do i find these things always after i post somehting?? hahahaha

https://github.com/domoticz/domoticz/issues/3369

Regards,
Richard