TuYa PJ-ZGD01 Garage door opener trigger doesn't toggle
What happened?
When pressing the trigger in Zigbee2MQTT it doesn't toggle
What did you expect to happen?
The trigger should turn back to its original state
How to reproduce it (minimal and precise)
Just press the trigger switch.
Zigbee2MQTT version
1.25.2
Adapter firmware version
20201127
Adapter
zStack12
Debug log
No response
Same issue here after having just bought the Tuya PJ-ZGD01
Zigbee2MQTT version 1.25.2-1
Adapter & firmware version zzh! CC2652R_coordinator_20210708
Basically, the toggle-on switch does nothing, if you toggle it back only then it will click, then to activate the garage door again you need to toggle it twice again for it to activate/click. Seems there's a double toggle issue, of which the first toggle does nothing.
@Koenkk
Edit Update: I updated to 1.25.2-1 - still same issue. Garage door will only activate movement on second toggle each time
There is no issue on my end, it turns out i had to keep the contact sensor connected and (closed/open) to have the relay trigger correctly. My issue is probably unrelated to the OP's issue above.
I'm seeing this as well. Zigbee2MQTT shows trigger as a switch, however true-state does nothing and false-state triggers a momentary close of contact. The ideal would be for this to be a push button action for the false-state.
edit: it seems the reverse is true when the closed sensor is true.

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days
I'm seeing this as well. Zigbee2MQTT shows trigger as a switch, however true-state does nothing and false-state triggers a momentary close of contact. The ideal would be for this to be a push button action for the false-state.
edit: it seems the reverse is true when the closed sensor is true.
I have this exact same behaviour, only OFF position triggers the door, I don't want to use the contact sensor, I have my own sonoff sensor. Exists any workaround to make it work properly ?
The issue is actual for me as well..
Itβs a tricky one: seems relay teiggering is codependant with contact sensor state. If contact state is false, then sending command false will activate relay. If contact state is true, then sending command true will activate the relay.
Itβs a tricky one: seems relay teiggering is codependant with contact sensor state. If contact state is false, then sending command false will activate relay. If contact state is true, then sending command true will activate the relay.
It seems odd when you first interact with it, but it works fine once you add it in to the cover integration.
cover:
- platform: template
covers:
garage_door:
device_class: garage
friendly_name: "Garage Door"
unique_id: garage_door_cover
value_template: >-
{% if is_state('binary_sensor.garage_door_garage_door_contact', 'on') %}
open
{% else %}
closed
{% endif %}
open_cover:
service: switch.turn_on
target:
entity_id: switch.garage_door_trigger
close_cover:
service: switch.turn_off
target:
entity_id: switch.garage_door_trigger
stop_cover:
service: switch.turn_off
target:
entity_id: switch.garage_door_trigger
Yeah, but for simple open-stop-close itβs an overkill.
did anyone experiment with contact duration? Is it possible to define duration of the contact?
I got same issue. From what I understood this is dependent on the board door is using. My board for example is expecting this trigger to happen under a second. So for it to work the relay must really fast become ON and OF. Currently when I trigger it, it becomes ON then waits a few seconds, then becomes OFF, and my board do not react to this at all. Not sure if this can be fixed on zigbee2mqtt side or at firmware level though. It feels like there should be a settings for this.