I’ve spending hours getting this mofo module to work;
Aliexpress Gate / Garage door opener QS-ZIGBEE-S10-C03
Zigbee ID; _TZE608_xkr8gep3 TS0603
Apparently the module does not send a pulse when the reed contact is opened.
I’ve used this quirk;
"""Tuya garage door opener."""
from zigpy.quirks.v2.homeassistant.binary_sensor import BinarySensorDeviceClass # HA binary sensor device classes (icons/behavior)
import zigpy.types as t # Zigpy data types (Bool, int, etc.)
from zhaquirks.tuya import TUYA_CLUSTER_ID # Tuya manufacturer cluster ID (0xEF00)
from zhaquirks.tuya.builder import TuyaQuirkBuilder # Helper to build Tuya ZHA quirks
(
TuyaQuirkBuilder("_TZE608_xkr8gep3", "TS0603") # Match this Tuya Zigbee device (fingerprint + model)
.tuya_dp_attribute(
dp_id=1, # Tuya datapoint ID used as trigger
attribute_name="garage_door_button", # Internal attribute name
type=t.Bool, # Boolean DP (event trigger, not a state)
)
.write_attr_button(
attribute_name="garage_door_button", # Attribute written when button is pressed
cluster_id=TUYA_CLUSTER_ID, # Write to Tuya manufacturer cluster
attribute_value=0x01, # Send a single trigger value (press event)
translation_key="garage_door_button", # HA translation key
fallback_name="Garage door button", # HA name if no translation exists
)
.tuya_binary_sensor(
dp_id=3, # Tuya datapoint reporting door state
device_class=BinarySensorDeviceClass.GARAGE_DOOR, # HA garage door sensor (open/closed)
attribute_name="garage_door", # Internal sensor attribute name
translation_key="garage_door", # HA translation key
fallback_name="Garage door", # HA name if no translation exists
)
.skip_configuration() # Skip ZHA auto-configuration (Tuya-safe)
.add_to_registry() # Register this quirk with ZHA
)
But I noticed, that opening de garage door went fine. But when pressing the button again to close it, nothing happens. I saw the command go to the Zigbee module. But the module didn’t respond. When pressing the button on the Zigbee device, it would close the garage door. ! WTF !
So apparently the zigbee hardware device decides not to send the pulse once the magnetic reed contact is in the state ‘open’. Very funky, perhaps there is a way to configure module not to act like this.
The thing is, my other garage also has a comparable Zigbee device; _TZE608_fmemczv1 TS0603), that does not display this behavior.
Anyways, this is simply omitted when just bridging the contacts that would be used for the reed contact with a wire. S1 and S2 on the module. This way the module always sends the pulse.
Hope this saves someone the hours I’ve spend troubleshooting this like I did. A thank you when it did is appreciated.
Maybe somebody knows a way to change the settings for this device? Or how to get this module incorprated in the ZHA lib…?
