How to define a new type of switch
Posted: Tuesday 19 February 2019 1:43
I've recently purchased one of these switches, and I am able to make Domoticz see it with Zigbee2MQTT plugin.
https://www.aliexpress.com/item/2018-Up ... 11201.html
The double switch is recognized as a multi-selector switch by Domoticz. This is not correct. These are actually 2 momentary push buttons. (they show up in the logs as Left Click, Right Click, Both Click)
Is there a way to define this as a new switch type? (dual push button)
I can provide logs etc if that helps, or I can do some programming, so if it needs some coding, I can try to contribute that.
https://www.aliexpress.com/item/2018-Up ... 11201.html
The double switch is recognized as a multi-selector switch by Domoticz. This is not correct. These are actually 2 momentary push buttons. (they show up in the logs as Left Click, Right Click, Both Click)
Is there a way to define this as a new switch type? (dual push button)
I can provide logs etc if that helps, or I can do some programming, so if it needs some coding, I can try to contribute that.