Replies: 7 comments 3 replies
-
I have the same question. |
Beta Was this translation helpful? Give feedback.
-
Does any one found a solution for this? I have the same device and the same problem.. |
Beta Was this translation helpful? Give feedback.
-
Yes. I have created automations allowing me to open/close my garage door depending on the state of the door sensor. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the tip on how to format the code on github, much better now ! I also took the time to translate the comments in english, it will be way more helpful than the french comments 😅 |
Beta Was this translation helpful? Give feedback.
-
entiendo que el PJ-ZGD01 funciona dando ventajas de temporización yo requiero que el al activar el pulso la puerta se abra y trascurrido el desplazamiento y el sensor marque que la puerta se ha cerrado el botón regrese a estar listo para nuevamente abrir la puerta sin tener que pulsarlo dos veces he intentado con configuration.yaml creando un interruptor virtua input_boolean: para luego crear un Automatización. alias: Control Puerta - Modo Timbre
sin lograrlo si alguien puede ayudar lo agradezco. |
Beta Was this translation helpful? Give feedback.
-
any simpler solutions to this? i don't want to add such an enormouns complexity instead of simply changing a switch into a momentary one... there must be a simpler solution! unfortunately the PJ-ZGD01 related issues explaining this behavior were all closed without a fix. my garage door switch in HA must be pressed twice... |
Beta Was this translation helpful? Give feedback.
-
i have zero knowledge of the internals, but i looked at the code. as a comparison i looked at WHD02, which supposed to have some settings to change the button's behavior (as per #12197).
i think the key difference is that the PJ-ZGD01 cannot simply do the maybe it's possible to use the extend and only list the i'm running z2m from a git checkout, so i tried to test this, but then i realized that i'm running a rather old version (1.36.0), so i've updated to the current latest (2.1.3) and the settings page became more complex, so i'll experiment with the new version before i delve into testing any change to the code. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I've got 3 TuYa PJ-ZGD01 that I have integrated in HA thanks to Z2M.
It's working fine for the sensor letting me know if the door is closed or not.
It's also working for the trigger to open the door, but not the expected way. The trigger is a classic switch. I have to click on it to turn it to "true", then click on it again to turn it to "false". At this point the door will move.
I'd expect a push button, to click on it once and then the door will move.
This is what I have :

From what I read, a push button in Z2M is a switch with a "momentary" parameter, like in this configuration :

How can I achieve this change ?
Franck
Beta Was this translation helpful? Give feedback.
All reactions