zigpy / zha-device-handlers

ZHA device handlers bridge the functionality gap created when manufacturers deviate from the ZCL specification, handling deviations and exceptions by parsing custom messages to and from Zigbee devices.
Apache License 2.0
750 stars 685 forks source link

[Device Support Request] TS0222 _TZ3000_t9qqxn70 #3323

Open jorisc90 opened 2 months ago

jorisc90 commented 2 months ago

Problem description

Zigbee plant sensor that sadly does not report any value after a bogus value that is read out on startup. Device reports as a TS0222 _TZ3000_t9qqxn70.

Sf0287f186ff54c40b3b3515659cbec4a9

Link to the AliExpress page of the device: https://nl.aliexpress.com/item/1005007267462478.html

Screenshots:

Screenshot 2024-08-27 at 12 55 37 Screenshot 2024-08-27 at 12 56 08

Solution description

Ideally I'd like this sensor to be able to report the humidity, temperature and light intensity levels, as well as the battery percentage.

Screenshots/Video

Screenshots/Video [Paste/upload your media here]

Device signature

Device signature ```json { "node_descriptor": { "logical_type": 2, "complex_descriptor_available": 0, "user_descriptor_available": 0, "reserved": 0, "aps_flags": 0, "frequency_band": 8, "mac_capability_flags": 128, "manufacturer_code": 4417, "maximum_buffer_size": 74, "maximum_incoming_transfer_size": 80, "server_mask": 10752, "maximum_outgoing_transfer_size": 80, "descriptor_capability_field": 0 }, "endpoints": { "1": { "profile_id": "0x0104", "device_type": "0x0106", "input_clusters": [ "0x0000", "0x0001", "0x0400", "0x0402", "0x0405" ], "output_clusters": [ "0x000a", "0x0019" ] } }, "manufacturer": "_TZ3000_t9qqxn70", "model": "TS0222", "class": "zigpy.device.Device" } ```

Diagnostic information

Diagnostic information ```json [Paste the diagnostic information here] ```

Logs

Logs ```python [Paste the logs here] ```

Custom quirk

Custom quirk ```python [Paste your custom quirk here] ```

Additional information

No response

muerue commented 2 months ago

Hi - I have it working with the same configuration script as model '_TZ3000_kky16aay'.

But the calculation of the humidity is real strange - did not find the right calculation base. On '_TZ3000_kky16aay' it seem the value must be multipled by 10 - with this device it is currently not clear to me. But definitely not a '10' :)

regards

RUE