[APP][Pro] Tuya Zigbee App

Well nuts. Perhaps I should try a warranty claim on the ones that are acting up, several are working fine…

dear @johan_bendz please add Smart plug with metering

"ids": {
    "modelId": "TS011F",
    "manufacturerName": "_TZ3000_r6buo8ba"
  },
  "endpoints": {
    "endpointDescriptors": [
      {
        "endpointId": 1,
        "applicationProfileId": 260,
        "applicationDeviceId": 81,
        "applicationDeviceVersion": 0,
        "_reserved1": 1,
        "inputClusters": [
          0,
          6,
          3,
          4,
          5,
          57345,
          2820,
          1794
        ],
        "outputClusters": []
      }
    ],
    "endpoints": {
      "1": {
        "clusters": {
          "basic": {
            "attributes": "UNSUP_GENERAL_COMMAND",
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "onOff": {
            "attributes": "UNSUP_GENERAL_COMMAND",
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "identify": {
            "attributes": "UNSUP_GENERAL_COMMAND",
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "groups": {
            "attributes": "UNSUP_GENERAL_COMMAND",
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "scenes": {
            "attributes": "UNSUP_GENERAL_COMMAND",
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "electricalMeasurement": {
            "attributes": "UNSUP_GENERAL_COMMAND",
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          },
          "metering": {
            "attributes": "UNSUP_GENERAL_COMMAND",
            "commandsGenerated": "UNSUP_GENERAL_COMMAND",
            "commandsReceived": "UNSUP_GENERAL_COMMAND"
          }
        },
        "bindings": {}
      }
    }
  }

Never mind my previous post, power metering now works after removing and adding the device.

@johan_bendz
Hi, did you have any time to look into it?

1 Like

Hello Johan Bendz,
It seems that I have a Tuya temperature sensor wich should be recognized by the app but no…
It shows as a generic zigbee device…

  "ids": {
    "modelId": "TS0201",
    "manufacturerName": "_TZ3000_dowj6gyi"
  },
  "endpoints": {
    "endpointDescriptors": [
      {
        "endpointId": 1,
        "applicationProfileId": 260,
        "applicationDeviceId": 770,
        "applicationDeviceVersion": 0,
        "_reserved1": 1,
        "inputClusters": [
          1,
          3,
          1026,
          1029,
          0
        ],
        "outputClusters": [
          3,
          25,
          10
        ]
      }
    ],
    "endpoints": {
      "1": {
        "clusters": {
          "powerConfiguration": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 32,
                "name": "batteryVoltage",
                "value": 30,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 33,
                "name": "batteryPercentageRemaining",
                "value": 200,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              }
            ]
          },
          "identify": {
            "attributes": []
          },
          "temperatureMeasurement": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "measuredValue",
                "value": 2503
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 1,
                "name": "minMeasuredValue",
                "value": 2310
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 2,
                "name": "maxMeasuredValue",
                "value": 2503
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 2
              }
            ]
          },
          "relativeHumidity": {},
          "basic": {}
        },
        "bindings": {
          "identify": {
            "attributes": []
          },
          "ota": {},
          "time": {}
        }
      }
    }
  }

What am I doing wrong and do you have the answers?

You’re not reading the first post correctly: it states that support for this device is present in the test version of the app. The first post also contains a link to that version.

Thanks for the fast reply, I thought that I had installed the test version but no.
Now I did and the app isn’t ready yet…
I just have to wait now untill the app is finished…

@johan_bendz I have the exact same problem as @Tirrazo has. Using the TEST version of your amazing app, but the Motion Sensor wont work. If I add it and just leave it I get the same error as Tirrazo is describing. If I restart the app it seems to be ok, but after a litte while I get a red triangle telling me that the device have timed out.
I was able to interview the device after a few tries:


  "ids": {
    "modelId": "RH3040",
    "manufacturerName": "TUYATEC-bd5faf9p"
  },
  "endpoints": {
    "endpointDescriptors": [
      {
        "endpointId": 1,
        "applicationProfileId": 260,
        "applicationDeviceId": 1026,
        "applicationDeviceVersion": 0,
        "_reserved1": 0,
        "inputClusters": [
          0,
          1,
          3,
          1280
        ],
        "outputClusters": []
      }
    ],
    "endpoints": {
      "1": {
        "clusters": {
          "basic": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "zclVersion",
                "value": 1
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 1,
                "name": "appVersion",
                "value": 72
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 2,
                "name": "stackVersion",
                "value": 0
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 3,
                "name": "hwVersion",
                "value": 1
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 4,
                "name": "manufacturerName",
                "value": "TUYATEC-bd5faf9p"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 5,
                "name": "modelId",
                "value": "RH3040"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 6,
                "name": "dateCode",
                "value": "20180512"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 7,
                "name": "powerSource",
                "value": "battery"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1
              }
            ],
            "commandsGenerated": [],
            "commandsReceived": [
              "factoryReset"
            ]
          },
          "powerConfiguration": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 32,
                "name": "batteryVoltage",
                "value": 30
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 33,
                "name": "batteryPercentageRemaining",
                "value": 200
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1
              }
            ],
            "commandsGenerated": [],
            "commandsReceived": []
          },
          "identify": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 0
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1
              }
            ],
            "commandsGenerated": [
              0
            ],
            "commandsReceived": [
              0,
              1
            ]
          },
          "iasZone": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "zoneState",
                "value": "notEnrolled"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 1,
                "name": "zoneType",
                "value": "motionSensor"
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 2,
                "name": "zoneStatus"
              },
              {
                "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"
            ]
          }
        },
        "bindings": {}
      }
    }
  }

Nedis_error1
Nedis_error2

1 Like

Hi is there anything what i missing about the 4 (3,2,1) gang Wall switches. I have 3pcs which works they are about 2 years old.
I have also another 8 PCs purchased in different time about 1 yard ago there are types with printed dots without dots and so on.
I posted the interview many months ago.

Only one from the 8 PCs work (but with different places of the Buttons) next there are some where works only one button and the rest without any function.

Ale of them are recognized by Homey as 4gang switches.

I know about the trick with the pressing of button 2 and 4.

Is there any other chance to bring them to work? Or should I only wait if sometime they will work.

Hi,

How are you interviewing the device and how do you create your own buttons as I can see in the image? :slight_smile:

Hi @Tirrazo,

The virutal buttons can be enabled in Homey :slight_smile: Go to settings → experiments (don´t know if that is the right translation (I´m using norwegian language), it is in the bottom of the first section) → enable “Virtual devices”

To interview the device, use the developer tool (https://tools.developer.homey.app), choose zigbee, find your device and click on “interview”. To do it with this device I had to push the button on the side of the device to wake it up and try a couple of times.

Thank you :slight_smile:

I got this under settings:

Is this the right one?

Will check out the interview part :+1:

This one I guess:

image

And you use this app?

image

image

Gotten this before? :smiley:

I will PM you so we don’t hijack this thread

Look at the first post…

Yes but it doesn’t work.

Are you running the test version of the app? What does “doesn’t work” actually mean? Zigbee device recognition for Homey depends only on modelId and manufacturerName, so if you have a different device that has the exact values of another device I don’t think there’s a lot that the developer can do.

Also for the current one which does work:

_TZ3000_wkai4ga5 TS0044

Would it be possible to add the hold option as well, as these switches seem to have a single press, double press and hold capability using the Tuya hub.

There also seems to be an issue with the button ordering, let me know if I can provide any further details if possible to amend these.

TIA.

Yes test version of the app.

_TZ3000_wkai4ga5 TS0044
Works absolutely fine, is a black plastic 4 Gang Mood Switch, adds as this device and works fine, apart from some ordering/missing capability issues.

_TZ3000_xabckq1v TS004F
This is the white plastic version, both from amazon. Adds as a 4 Gang Mood Switch, but none of the options function when used in flows.