[APP][Pro] Tuya Zigbee App

Hi @Arnd_Koch, thanks for the feedback. I had this working in my test environment but see that Homey get to many requests at startup of the app so I have made a change in how I handle the device. New update available.

Just tried it with the latest version and still no response. Even after re-adding the device (smare motion sensor Lidl).

PS awesome work that you are doing this. Very nice!

Hi @johan_bendz thanks for the update !
The ( ! ) status is solved !! Great work !
Only the trigger is stil set as NULL ( Tried also to start up homey again )
Is there somethng i can try else to fix this or is it the hardware / firmware ?
Please do not work to hard on Chrismas day i can wait :slight_smile:
sensor1 sensor2

  "ids": {
    "modelId": "TY0203",
    "manufacturerName": "_TZ1800_ejwkn2h2"
  },
  "endpoints": {
    "endpointDescriptors": [
      {
        "endpointId": 1,
        "applicationProfileId": 260,
        "applicationDeviceId": 1026,
        "applicationDeviceVersion": 0,
        "_reserved1": 0,
        "inputClusters": [
          0,
          1,
          3,
          1280,
          2821
        ],
        "outputClusters": [
          25
        ]
      }
    ],
    "endpoints": {
      "1": {
        "clusters": {
          "basic": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "zclVersion",
                "value": 1,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 1,
                "name": "appVersion",
                "value": 65,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 2,
                "name": "stackVersion",
                "value": 2,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 3,
                "name": "hwVersion",
                "value": 1,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 4,
                "name": "manufacturerName",
                "value": "_TZ1800_ejwkn2h2",
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 5,
                "name": "modelId",
                "value": "TY0203",
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 6,
                "name": "dateCode",
                "value": "2019.12.12",
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 7,
                "name": "powerSource",
                "value": "battery",
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              }
            ],
            "commandsGenerated": [],
            "commandsReceived": [
              "factoryReset"
            ]
          },
          "powerConfiguration": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 32,
                "name": "batteryVoltage",
                "value": 32,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 33,
                "name": "batteryPercentageRemaining",
                "value": 200,
                "reportingConfiguration": {
                  "direction": "reported",
                  "attributeDataType": 32,
                  "minInterval": 14300,
                  "maxInterval": 14400,
                  "minChange": 0,
                  "status": "SUCCESS"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              }
            ],
            "commandsGenerated": []
          },
          "identify": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 0,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              }
            ],
            "commandsGenerated": [
              0
            ],
            "commandsReceived": [
              0,
              1
            ]
          },
          "iasZone": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "zoneState",
                "value": "notEnrolled"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 1,
                "name": "zoneType",
                "value": "contactSwitch"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 2,
                "name": "zoneStatus",
                "value": {
                  "type": "Buffer",
                  "data": [
                    32,
                    0
                  ]
                }
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 16,
                "name": "iasCIEAddress",
                "value": "00:00:00:00:00:00:00:00"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 17,
                "name": "zoneId",
                "value": 255
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1
              }
            ],
            "commandsGenerated": [
              "zoneStatusChangeNotification",
              1
            ],
            "commandsReceived": [
              "zoneStatusChangeNotification"
            ]
          },
          "diagnostics": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 283,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 284,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 285,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              }
            ],
            "commandsGenerated": [],
            "commandsReceived": []
          }
        },
        "bindings": {
          "ota": {
            "attributes": [],
            "commandsGenerated": [],
            "commandsReceived": []
          }
        }
      }
    }

found it @Yianni, thx…

Can you check that again when the device has been inited properly? (it might need 5-10 minutes before it works OK after being added)

I have the exact same items and everything looks great here…

@johan_bendz Was the .23 build also supposed to fix anything for the metered smart plug (it still does not initialize)? :slight_smile:

I have the same problem with this plugs. Cant even add them as generic zigbee devices and use as on/off only, they end up as “Smart Plug with metering” Screenshot_20201225-161306

Same here. I assume that when you connect using a Generic Zigbee driver, it will still prefer the more specific app/driver for that device if it is found. I’m really curious to see how accurate power measurement is with this plug (will compare with old Power Meter and Mi Smart Plug). And we are so close to having a working driver, thanks to Johan! :slight_smile:

2 Likes

Correct, yes he is the reason i still have patience with Homey :slight_smile:

1 Like

New version, might help… I rewrote the driver. But it could also fail completely :wink: Do send a crash report if it does :smiley:

Btw, by deactivating the app you should be able to add your device as a generic device if needed.

Sorry, Still the same result.
9785fc34-ef0a-42d4-ab3d-5fa83da392d2

Same here unfortunately.
When I disable the app it works as a generic zigbee device (Plug on/off only).

Hi @johan_bendz , i did check the sensors this morning and still the same result .
When i look at the Homey developer site by zigbee is the current command : updating _ Nodes .
That command is not changed since yesterday ?
Did a reset of homey and wait for 30 min , everyting starts up normal .
Now the status current command is after updating IDLE , but no respons on the trigger / Sabotage ?
Greetz Arnd

Strange… this is my door/window sensor with the same code right now:

Yes very strange :slight_smile:

After instal the sensor i got this .
Also tested to change the zigbee channel with the sam result …
sensor3 sensor4

Johan, merry Christmas. Any news on TUYA cluster implementation?

Same here with both the lidl motion sensor as door sensor. Tried rebooting and restarting the app, and waiting overnight. It initializes fine, and battery communication parameter seems fine. Just no values (null) for motion, tamper or door alarm. Using latest homey firmware (v5 latest rc). Didnt work past few days with earlier versions either.
@johan_bendz do you need a diag report link?

I am new to this and I dont understand what to do. I have the same homey 5.xxx

Try this. <<This is a link, u can click it!

Thank you😀

Skickat från min Galaxy

-------- Originalmeddelande --------