Hi all,
I have bougt some Zigbee Tuya dimmers both 1 gang as 2 gang (Avatto 1/2-ch dimmer. TS0601 _TZE204_o9gyszw2/_TZE204_5cuocqty). The on/off and dimmer functionality works in ZHA via TS0601. However, the additional manufacturing Tuya Data Points (DP) are not available. For my application I want to use momentary wall switches to turn on/off and dim, which is supported in Zigbee2MQTT. Based on the Zigbee2MQTT and Discussion on Github I figured out that I need to write a command to the 0xEF00 tuya DP cluster
- 0x04 Send DP command
- 0x05 Reporting DP commands
Known DP commands for External Switch-Type:
0 Unknown
1 Toggle
2 Momentary
3 Rotary
4 Auto Config
As a first attempt to add support in a Custom quirk I try to change the setting via a Zigbee command. However, I got stuck. Can you provide insight in what I am doing wrong?
action: zha_toolkit.zcl_cmd
data:
ieee: a4:c1:38:dc:2b:c5:a5:61 # Replace with your device’s IEEE address
endpoint_id: 1 # The endpoint ID of the device, usually 1 for most devices
cluster: 61184 # 0xEF00 in decimal
cmd: 4 # The command ID for Send DP
args:
- 57 # DP ID for External Switch-Type (check device specifics)
- 0 # Data type (0 for raw/unknown, may vary)
- 2 # Data value (set to 2 for Momentary)
Thanks in advance!