I'm currently in the process of setting up a domoticz home, using zigbee devices, raspberry pi 3, debian buster, zigate+ and zigate plugin. I have successfully paired several devices (mostly lidl home devices). Now i'm trying to control everything via physical switches, instead of clicking on domoticz ui buttons. So, i bought a Moe's two-button scene switch, which appears to be a Tuya TS0042.
I have paired it fine, and both buttons are recognized. I have click, double click and long click working correctly. However, i struggle to understand how to put it back to "OFF" position. Clicking on the OFF button in domoticz does not yield any result, and gives the following in the logs :
Code: Select all
2022-05-13 13:16:58,384 INFO : [ MainThread] mgtCommand - You are trying to action not allowed for Device: Inter cuisine 1 Type: [('01', '26', 'Button_3')] and DeviceType: Button_3 Command: Off Level:0
Second question: the idea is to use it as a toggle switch : 1 click toggle light status, next click, toggle again. Is this possible ? (currently, i need to double click to get a click event again). I can't find the module in blockly, did not try yet with dzvents, but obviously i am missing something.
Thanks for your help.