TS0201 invalid temperature and humidity
Opened this issue · 4 comments
my device also not working after installed the firmware, the device id is "_TZ3000_rdhukkmi", may be the sensor was changed?
below is the z2m status from the device
{
"battery": 100,
"humidity_calibration": 0,
"last_seen": "2024-05-30T19:16:57.416Z",
"linkquality": 112,
"measurement_interval": 10,
"temperature": -327.68,
"temperature_calibration": 0,
"update": {
"installed_version": 18952193,
"latest_version": 18952193,
"state": "idle"
},
"voltage": 3100,
"humidity": 655.35,
"update_available": null
}
I've got the same problem on firmware v1.22, reconfiguring the device is failing also.
"0x0402": {
"endpoint_attribute": "temperature",
"attributes": {
"0xfffd": {
"attribute_name": "cluster_revision",
"value": 1
},
"0x0000": {
"attribute_name": "measured_value",
"value": -32768
}
},
"unsupported_attributes": {}
},
"0x0405": {
"endpoint_attribute": "humidity",
"attributes": {
"0x0000": {
"attribute_name": "measured_value",
"value": 65535
}
},
"unsupported_attributes": {}
}
},
I got it working again by flashing the ZTS0201Z3000_v0122.bin file with a serial programmer instead of OTA.
The temperature and humidity values work fine now.
Only in HomeAssistant the reconfigure option still doesn't work:
2024-08-19 20:03:44.867 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0xDCC5:1:0x0001]: Performing cluster binding
2024-08-19 20:03:44.867 DEBUG (MainThread) [zigpy.device] [0xdcc5] Extending timeout for 0x24 request
2024-08-19 20:03:44.867 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2024, 8, 19, 18, 3, 44, 867553, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xDCC5), dst_ep=0, source_route=None, extended_timeout=True, tsn=36, profile_id=0, cluster_id=<ZDOCmd.Bind_req: 0x0021>, data=Serialized[b'$\xe9\x1c\xf62l8\xc1\xa4\x01\x01\x00\x03\xdb\xc0\xe8)\x00K\x12\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2024-08-19 20:03:44.867 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0xDCC5:1:0x0402]: Performing cluster binding
2024-08-19 20:03:44.867 DEBUG (MainThread) [zigpy.device] [0xdcc5] Extending timeout for 0x25 request
2024-08-19 20:03:44.867 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2024, 8, 19, 18, 3, 44, 867912, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xDCC5), dst_ep=0, source_route=None, extended_timeout=True, tsn=37, profile_id=0, cluster_id=<ZDOCmd.Bind_req: 0x0021>, data=Serialized[b'%\xe9\x1c\xf62l8\xc1\xa4\x01\x02\x04\x03\xdb\xc0\xe8)\x00K\x12\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2024-08-19 20:03:44.868 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0xDCC5:1:0x0020]: Performing cluster binding
2024-08-19 20:03:44.868 DEBUG (MainThread) [zigpy.device] [0xdcc5] Extending timeout for 0x26 request
2024-08-19 20:03:44.868 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2024, 8, 19, 18, 3, 44, 868255, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xDCC5), dst_ep=0, source_route=None, extended_timeout=True, tsn=38, profile_id=0, cluster_id=<ZDOCmd.Bind_req: 0x0021>, data=Serialized[b'&\xe9\x1c\xf62l8\xc1\xa4\x01 \x00\x03\xdb\xc0\xe8)\x00K\x12\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2024-08-19 20:03:44.868 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0xDCC5:1:0x0204]: Performing cluster binding
2024-08-19 20:03:44.868 DEBUG (MainThread) [zigpy.device] [0xdcc5] Extending timeout for 0x27 request
2024-08-19 20:03:44.868 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2024, 8, 19, 18, 3, 44, 868613, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xDCC5), dst_ep=0, source_route=None, extended_timeout=True, tsn=39, profile_id=0, cluster_id=<ZDOCmd.Bind_req: 0x0021>, data=Serialized[b"'\xe9\x1c\xf62l8\xc1\xa4\x01\x04\x02\x03\xdb\xc0\xe8)\x00K\x12\x00\x01"], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)