-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tuya Smart Life ZigBee Garage Door Opener Controller #5899
Comments
+1 on this request Zigbee2MQTT already supports it: https://www.zigbee2mqtt.io/devices/PJ-ZGD01.html |
As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs. |
As there has not been any response in 28 days, this issue will be closed. @ OP: If this issue is solved post what fixed it for you. If it is not solved, request to get this opened again. |
Have the same device. Same behaviour, button works, state is not working. Woundering if there were any progress on this one? |
Hey, what do you mean about state not working? |
So I bought two of these, which arrived today. I now see what you mean. It is reported as a switch or light, but its state has nothing to do with the open/close sensor. That sensor state is not being displayed. Additionally, the switch state doesn't represent the dry contact signal state and to send a signal (close the dry contact for 1s) it is needed to switch it on then off and only then the signal will be sent. So, for now, to make it work in HA to send a signal, I created a script that turns the switch on, waits 500ms then turns it off and it works fine.
This issue apparently has a DDF to load a similar device, but I'm still trying to understand how the whole thing works. [Update] I got these from the debugger: Sensor:
Switch
The resulting DDF is: {
"schema": "devcap1.schema.json",
"manufacturername": "_TZE200_nklqjk62",
"modelid": "TS0601",
"product": "TS0601",
"sleeper": false,
"status": "Gold",
"path": "/devices/vendor/_TZE200_nklqjk62.json",
"subdevices": [
{
"type": "$TYPE_OPEN_CLOSE_SENSOR",
"restapi": "/sensors",
"uuid": [
"$address.ext",
"0x01",
"0xef00"
],
"items": [
{
"name": "attr/id"
},
{
"name": "attr/lastannounced"
},
{
"name": "attr/lastseen"
},
{
"name": "attr/manufacturername"
},
{
"name": "attr/modelid"
},
{
"name": "attr/name"
},
{
"name": "attr/swversion"
},
{
"name": "attr/type"
},
{
"name": "attr/uniqueid"
},
{
"name": "config/on"
},
{
"name": "config/reachable"
},
{
"name": "state/lastupdated"
},
{
"name": "state/open",
"refresh.interval": 7200,
"parse": {
"dpid": 3,
"eval": "Item.val = Attr.val;",
"fn": "tuya"
}
}
]
},
{
"type": "$TYPE_ON_OFF_LIGHT",
"restapi": "/lights",
"uuid": [
"$address.ext",
"0x01"
],
"items": [
{
"name": "attr/id"
},
{
"name": "attr/lastannounced"
},
{
"name": "attr/lastseen"
},
{
"name": "attr/manufacturername"
},
{
"name": "attr/modelid"
},
{
"name": "attr/name"
},
{
"name": "attr/swversion"
},
{
"name": "attr/type"
},
{
"name": "attr/uniqueid"
},
{
"name": "state/on",
"refresh.interval": 300,
"read": {
"fn": "tuya"
},
"write": {
"dpid": 1,
"dt": "0x10",
"eval": "Item.val == 1 ? 1 : 0;",
"fn": "tuya"
},
"parse": {
"dpid": 1,
"eval": "Item.val = Attr.val;",
"fn": "tuya"
}
},
{
"name": "state/reachable"
}
]
}
]
} This is how it shows up on HA: Now, is it possible to improve the signal trigger so that the script isn't needed? |
Re-opened on request. @BabaIsYou or @Smanar you got time to check in :)? |
@pdcmoreira or @MiAutomations I do require to have all related screenshots attached. |
Thanks @Mimiix |
I think @pdcmoreira have made the full DDF ? Or something is still missing ? |
@Smanar
|
Does this link he same issue that needs to use a script : Koenkk/zigbee-herdsman-converters#3897 ? BTW, nothing very special to improve your DDF, may be some "cosmetics" :
|
Yes for me it's fine too, you can send "on" or "off" request, so no problem with trigger. |
As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs. |
As there has not been any response in 28 days, this issue will be closed. @ OP: If this issue is solved post what fixed it for you. If it is not solved, request to get this opened again. |
I bought another one which came with the _TZE204_nklqjk62 manufacturer code and I want to let you guys know that this exact same DDF still works on it. |
Hello |
Yes, it works, my explanation above is still true today. |
Ok thanks |
The device is now founded as a Smart plug but I don't see the status of the Sensor, can you please add this function also?
https://s.click.aliexpress.com/e/_A7We5d
Screenshots
Required screenshots:
Thank you
The text was updated successfully, but these errors were encountered: