dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.9k stars 498 forks source link

Adding support for _TZ3000_zl1kmjqx #7666

Closed SimoBa80 closed 5 months ago

SimoBa80 commented 6 months ago

Is there already an existing issue for this?

Product name

Temperaure & Humidity Sensor

Manufacturer

TUYA

Model identifier

RSH-HS06

Device type to add

Sensor

Node info

grafik

Endpoints and clusters

-

Basic

grafik

Further relevant clusters

Power Configuration

On/Off

Level Control

Color Control

Thermostat

Simple Metering

Electrical Measurement

Any other cluster of relevance/interest

Smanar commented 6 months ago

Hello this device work like classic device, it just need the tuya unclock sequence, so you can mimic this DDF https://github.com/dresden-elektronik/deconz-rest-plugin/blob/master/devices/tuya/ih-k009_temp_hum_sensor.json and add the tuya unlock sequence.

But the problem is this device don't have model id ? On your first capture, the attribute 0x0005, this one is empty, it's a bug, or this device don't have it ? If this device don't have it, it will be not possible tu support it.

SimoBa80 commented 6 months ago

Hi, I bought 2 sensors and one of them has the ID and the other does not: grafik grafik

Smanar commented 6 months ago

Nope, the missing information is "Model identifier", to reconise device deconz use it and the "Manufacturer", on the 2 capture you have "unknow". This is something normal on battery device, because they are sleeper, you need to awake them in same time you ask for attribute"

https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/How-to-read-Clusters

The usefull one are in cluster 0x0000 "Basic", attribute 0x00004 and 0x0005

SimoBa80 commented 6 months ago

Nope, the missing information is "Model identifier", to reconise device deconz use it and the "Manufacturer", on the 2 capture you have "unknow". This is something normal on battery device, because they are sleeper, you need to awake them in same time you ask for attribute"

https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/How-to-read-Clusters

The usefull one are in cluster 0x0000 "Basic", attribute 0x00004 and 0x0005

Thanks for the Hint i am new to deconz: grafik

I have also tried with the Json File you provided but nothing happens in Phoscon App.

Many Thanks and Regards Simon

SimoBa80 commented 6 months ago

20240326_125054

Smanar commented 6 months ago

So I m sorry, but this device can't be used with deconz. If you look at the capture, it's same result, the attribute 0x0005 is empty, not possible to do something with this device.

SimoBa80 commented 6 months ago

ok that is bad but ok, so i need to have some new sensors. Ok there is also nothing which would this device work?

Smanar commented 6 months ago

No sorry, deconz use the manufacture name and the model id to reconise device, if one of them is missing, not possible. Deconz need both.

github-actions[bot] commented 5 months ago

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.

Little-Foxy commented 3 months ago

I got one of these as well with an empty Model identifier. Values like temp, etc are still reported in the cluster in the gui though. Is there no way to read these values out from an 'unidentified' device via API? Reading the mac address via api just returns a mostly empty object. Or force a device to use a ddf file manually?

Smanar commented 3 months ago

Deconz reconise device using the couple Model ID/ Manufacture name to use DDF. So without one of them, not posible ATM.