[Device Support Request] TS0601 by _TZE200_bq5c8xfe (Temperature And Humidity Sensor)
See original GitHub issueIs your feature request related to a problem? Please describe. I can connect it to ZHA, it generates a device listing but no entities. It is a Temperature And Humidity Sensor Is it possible to integrate it?
https://www.aliexpress.com/item/1005002281706726.html
Describe the solution you’d like I would like to be able to see the Temperature And Humidity values
Device signature - this can be acquired by removing the device from ZHA and pairing it again from the add devices screen. Be sure to add the entire content of the log panel after pairing the device to a code block below this line.
{ "node_descriptor": "NodeDescriptor(byte1=2, byte2=64, mac_capability_flags=128, manufacturer_code=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=0, *allocate_address=True, *complex_descriptor_available=False, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False, *is_valid=True, *logical_type=<LogicalType.EndDevice: 2>, *user_descriptor_available=False)", "endpoints": { "1": { "profile_id": 260, "device_type": "0x0051", "in_clusters": [ "0x0000", "0x0004", "0x0005", "0xef00" ], "out_clusters": [ "0x000a", "0x0019" ] } }, "manufacturer": "_TZE200_bq5c8xfe", "model": "TS0601", "class": "zigpy.device.Device" }
Additional context Version supervisor-2021.06.3
**Debug Logs New device 0xc6a7 (84:71:27:ff:fe:09:61:61) joined the network [0xc6a7] Scheduling initialization Received frame on uninitialized device <Device model=None manuf=None nwk=0xC6A7 ieee=84:71:27:ff:fe:09:61:61 is_initialized=False> from ep 0 to ep 0, cluster ZDOCmd.Device_annce: b’\xFF\xA7\xC6\x61\x61\x09\xFE\xFF\x27\x71\x84\x80’ [0xc6a7:zdo] ZDO request ZDOCmd.Device_annce: [0xC6A7, 84:71:27:ff:fe:09:61:61, 128] Tries remaining: 3 [0xc6a7] Requesting ‘Node Descriptor’ Tries remaining: 2 [0xc6a7] Extending timeout for 0x1d request Received frame on uninitialized device <Device model=None manuf=None nwk=0xC6A7 ieee=84:71:27:ff:fe:09:61:61 is_initialized=False> from ep 0 to ep 0, cluster ZDOCmd.Node_Desc_rsp: b’\x1D\x00\xA7\xC6\x02\x40\x80\x02\x10\x52\x52\x00\x00\x2C\x52\x00\x00’ [0xc6a7] Got Node Descriptor: NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False) [0xc6a7] Discovering endpoints Tries remaining: 3 [0xc6a7] Extending timeout for 0x1e request Received frame on uninitialized device <Device model=None manuf=None nwk=0xC6A7 ieee=84:71:27:ff:fe:09:61:61 is_initialized=False> from ep 0 to ep 0, cluster ZDOCmd.Active_EP_rsp: b’\x1E\x00\xA7\xC6\x01\x01’ [0xc6a7] Discovered endpoints: [1] [0xc6a7] Initializing endpoints [<Endpoint id=1 in=[] out=[] status=<Status.NEW: 0>>] [0xc6a7:1] Discovering endpoint information Tries remaining: 3 [0xc6a7] Extending timeout for 0x21 request Received frame on uninitialized device <Device model=None manuf=None nwk=0xC6A7 ieee=84:71:27:ff:fe:09:61:61 is_initialized=False> from ep 1 to ep 1, cluster 0: b’\x08\x6C\x0A\x01\x00\x20\x46\xE2\xFF\x20\x1F\xE4\xFF\x20\x00’ Ignoring message (b’086c0a01002046e2ff201fe4ff2000’) on cluster 0: unknown endpoint or cluster id: ‘No cluster ID 0x0000 on (84:71:27:ff:fe:09:61:61, 1)’ Received frame on uninitialized device <Device model=None manuf=None nwk=0xC6A7 ieee=84:71:27:ff:fe:09:61:61 is_initialized=False> from ep 0 to ep 0, cluster ZDOCmd.Simple_Desc_rsp: b’\x21\x00\xA7\xC6\x14\x01\x04\x01\x51\x00\x01\x04\x00\x00\x04\x00\x05\x00\x00\xEF\x02\x19\x00\x0A\x00’ [0xc6a7:1] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=81, device_version=1, input_clusters=[0, 4, 5, 61184], output_clusters=[25, 10]) Unknown cluster 61184 [0xc6a7] Extending timeout for 0x24 request [0xc6a7:1:0x000a] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=False disable_default_response=False> manufacturer=None tsn=109 command_id=Command.Read_Attributes> [0xc6a7:1:0x000a] ZCL request 0x0000: [[7]] [0xc6a7:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=110 command_id=1> [0xc6a7:1:0xef00] Unknown cluster-specific command 1 [0xc6a7:1:0xef00] ZCL request 0x0001: b’\x00e\x01\x02\x00\x04\x00\x00\x00\xd8’ [0xc6a7:1:0xef00] No handler for cluster command 1 [0xc6a7:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=110 command_id=1> [0xc6a7:1:0xef00] Unknown cluster-specific command 1 [0xc6a7:1:0xef00] ZCL request 0x0001: b’\x00e\x01\x02\x00\x04\x00\x00\x00\xd8’ [0xc6a7:1:0xef00] No handler for cluster command 1 [0xc6a7:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=110 command_id=1> [0xc6a7:1:0xef00] Unknown cluster-specific command 1 [0xc6a7:1:0xef00] ZCL request 0x0001: b’\x00e\x01\x02\x00\x04\x00\x00\x00\xd8’ [0xc6a7:1:0xef00] No handler for cluster command 1 [0xc6a7:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=110 command_id=1> [0xc6a7:1:0xef00] Unknown cluster-specific command 1 [0xc6a7:1:0xef00] ZCL request 0x0001: b’\x00e\x01\x02\x00\x04\x00\x00\x00\xd8’ [0xc6a7:1:0xef00] No handler for cluster command 1 [0xc6a7:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=110 command_id=1> [0xc6a7:1:0xef00] Unknown cluster-specific command 1 [0xc6a7:1:0xef00] ZCL request 0x0001: b’\x00e\x01\x02\x00\x04\x00\x00\x00\xd8’ [0xc6a7:1:0xef00] No handler for cluster command 1 [0xc6a7:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=110 command_id=1> [0xc6a7:1:0xef00] Unknown cluster-specific command 1 [0xc6a7:1:0xef00] ZCL request 0x0001: b’\x00e\x01\x02\x00\x04\x00\x00\x00\xd8’ [0xc6a7:1:0xef00] No handler for cluster command 1 [0xc6a7:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=110 command_id=1> [0xc6a7:1:0xef00] Unknown cluster-specific command 1 [0xc6a7:1:0xef00] ZCL request 0x0001: b’\x00e\x01\x02\x00\x04\x00\x00\x00\xd8’ [0xc6a7:1:0xef00] No handler for cluster command 1 [0xc6a7:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=110 command_id=1> [0xc6a7:1:0xef00] Unknown cluster-specific command 1 [0xc6a7:1:0xef00] ZCL request 0x0001: b’\x00e\x01\x02\x00\x04\x00\x00\x00\xd8’ [0xc6a7:1:0xef00] No handler for cluster command 1 [0xc6a7:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=110 command_id=1> [0xc6a7:1:0xef00] Unknown cluster-specific command 1 [0xc6a7:1:0xef00] ZCL request 0x0001: b’\x00e\x01\x02\x00\x04\x00\x00\x00\xd8’ [0xc6a7:1:0xef00] No handler for cluster command 1 [0xc6a7:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=110 command_id=1> [0xc6a7:1:0xef00] Unknown cluster-specific command 1 [0xc6a7:1:0xef00] ZCL request 0x0001: b’\x00e\x01\x02\x00\x04\x00\x00\x00\xd8’ [0xc6a7:1:0xef00] No handler for cluster command 1 [0xc6a7:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=111 command_id=1> [0xc6a7:1:0xef00] Unknown cluster-specific command 1 [0xc6a7:1:0xef00] ZCL request 0x0001: b’\x00f\x02\x02\x00\x04\x00\x00\x00F’ [0xc6a7:1:0xef00] No handler for cluster command 1 [0xc6a7:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=112 command_id=1> [0xc6a7:1:0xef00] Unknown cluster-specific command 1 [0xc6a7:1:0xef00] ZCL request 0x0001: b’\x00g\x03\x04\x00\x01\x02’ [0xc6a7:1:0xef00] No handler for cluster command 1 [0xc6a7:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=113 command_id=1> [0xc6a7:1:0xef00] Unknown cluster-specific command 1 [0xc6a7:1:0xef00] ZCL request 0x0001: b’\x00h\x04\x02\x00\x04\x00\x00\x00F’ [0xc6a7:1:0xef00] No handler for cluster command 1 [0xc6a7:1:0x0000] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=GLOBAL_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=36 command_id=Command.Read_Attributes_rsp> [0xc6a7] Read model ‘TS0601’ and manufacturer ‘_TZE200_bq5c8xfe’ from <Endpoint id=1 in=[basic:0x0000, groups:0x0004, scenes:0x0005, None:0xEF00] out=[ota:0x0019, time:0x000A] status=<Status.ZDO_INIT: 1>> [0xc6a7] Discovered basic device information for <Device model='TS0601' manuf='_TZE200_bq5c8xfe' nwk=0xC6A7 ieee=84:71:27:ff:fe:09:61:61 is_initialized=True> Device is initialized <Device model='TS0601' manuf='_TZE200_bq5c8xfe' nwk=0xC6A7 ieee=84:71:27:ff:fe:09:61:61 is_initialized=True> Checking quirks for _TZE200_bq5c8xfe TS0601 (84:71:27:ff:fe:09:61:61) Considering <class ‘zhaquirks.xbee.xbee_io.XBeeSensor’> Fail because endpoint list mismatch: {232, 230} {1} Considering <class ‘zhaquirks.xbee.xbee3_io.XBee3Sensor’> Fail because endpoint list mismatch: {232, 230} {1} Considering <class ‘zhaquirks.smartthings.tag_v4.SmartThingsTagV4’> Fail because device_type mismatch on at least one endpoint Considering <class ‘zhaquirks.smartthings.multi.SmartthingsMultiPurposeSensor’> Fail because device_type mismatch on at least one endpoint Considering <class ‘zhaquirks.netvox.z308e3ed.Z308E3ED’> Fail because device_type mismatch on at least one endpoint Considering <class ‘zhaquirks.gledopto.soposhgu10.SoposhGU10’> Fail because endpoint list mismatch: {11, 13} {1} Considering <class ‘bellows.zigbee.application.EZSPCoordinator’> Fail because device_type mismatch on at least one endpoint device - 0xC6A7:84:71:27:ff:fe:09:61:61 entering async_device_initialized - is_new_join: True device - 0xC6A7:84:71:27:ff:fe:09:61:61 has joined the ZHA zigbee network 0xC6A7: started configuration 0xC6A7:ZDO: ‘async_configure’ stage succeeded [0xC6A7:1:0x0000]: finished channel configuration [0xC6A7:1:0x0019]: finished channel configuration Error handling ‘_save_attribute’ event with (84:71:27:ff:fe:09:61:61, 1, 0, 4, ‘_TZE200_bq5c8xfe’) params: FOREIGN KEY constraint failed [0xC6A7:1:0x0000]: ‘async_configure’ stage succeeded [0xC6A7:1:0x0019]: ‘async_configure’ stage succeeded Error handling ‘_save_attribute’ event with (84:71:27:ff:fe:09:61:61, 1, 0, 5, ‘TS0601’) params: FOREIGN KEY constraint failed 0xC6A7: completed configuration 0xC6A7: stored in registry: ZhaDeviceEntry(name=‘_TZE200_bq5c8xfe TS0601’, ieee=‘84:71:27:ff:fe:09:61:61’, last_seen=1634562221.9090862) 0xC6A7: started initialization 0xC6A7:ZDO: ‘async_initialize’ stage succeeded [0xC6A7:1:0x0000]: initializing channel: from_cache: False [0xC6A7:1:0x0000]: finished channel configuration [0xC6A7:1:0x0019]: initializing channel: from_cache: False [0xC6A7:1:0x0019]: finished channel configuration [0xC6A7:1:0x0000]: ‘async_initialize’ stage succeeded [0xC6A7:1:0x0019]: ‘async_initialize’ stage succeeded 0xC6A7: power source: Battery or Unknown 0xC6A7: completed initialization None: polling current state [0xc6a7:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=114 command_id=1> [0xc6a7:1:0xef00] Unknown cluster-specific command 1 [0xc6a7:1:0xef00] ZCL request 0x0001: b’\x00i\x03\x04\x00\x01\x02’ [0xc6a7:1:0xef00] No handler for cluster command 1 [0xc6a7:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=115 command_id=1> [0xc6a7:1:0xef00] Unknown cluster-specific command 1 [0xc6a7:1:0xef00] ZCL request 0x0001: b’\x00j\x04\x02\x00\x04\x00\x00\x002’ [0xc6a7:1:0xef00] No handler for cluster command 1 [0xc6a7:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=116 command_id=1> [0xc6a7:1:0xef00] Unknown cluster-specific command 1 [0xc6a7:1:0xef00] ZCL request 0x0001: b’\x00k\x01\x02\x00\x04\x00\x00\x00\xd8’ [0xc6a7:1:0xef00] No handler for cluster command 1 [0xc6a7:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=117 command_id=1> [0xc6a7:1:0xef00] Unknown cluster-specific command 1 [0xc6a7:1:0xef00] ZCL request 0x0001: b’\x00l\x02\x02\x00\x04\x00\x00\x00F’ [0xc6a7:1:0xef00] No handler for cluster command 1 [0xc6a7:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=118 command_id=1> [0xc6a7:1:0xef00] Unknown cluster-specific command 1 [0xc6a7:1:0xef00] ZCL request 0x0001: b’\x00m\x03\x04\x00\x01\x02’ [0xc6a7:1:0xef00] No handler for cluster command 1 [0xc6a7:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=119 command_id=1> [0xc6a7:1:0xef00] Unknown cluster-specific command 1 [0xc6a7:1:0xef00] ZCL request 0x0001: b’\x00n\x04\x02\x00\x04\x00\x00\x002’ [0xc6a7:1:0xef00] No handler for cluster command 1 [0xc6a7:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=True> manufacturer=None tsn=120 command_id=36> [0xc6a7:1:0xef00] Unknown cluster-specific command 36 [0xc6a7:1:0xef00] ZCL request 0x0024: b’\x00\x1b’ [0xc6a7:1:0xef00] No handler for cluster command 36 [0xc6a7:1:0xef00] ZCL deserialize: <ZCLHeader frame_control=<FrameControl frame_type=CLUSTER_COMMAND manufacturer_specific=False is_reply=True disable_default_response=False> manufacturer=None tsn=121 command_id=17> [0xc6a7:1:0xef00] Unknown cluster-specific command 17 [0xc6a7:1:0xef00] ZCL request 0x0011: b’\x00\x1c@’ [0xc6a7:1:0xef00] No handler for cluster command 17
Issue Analytics
- State:
- Created 2 years ago
- Comments:22 (12 by maintainers)
Top GitHub Comments
Yes, definitely still interested in helping to get this working
When I place ts0601_temperature.py into the \config\custom_zha_quirks folder it seems to do something to the ZHA integration
Logger: homeassistant.config_entries Source: deps/lib/python3.9/site-packages/zhaquirks/tuya/init.py:665 First occurred: 14:03:18 (1 occurrences) Last logged: 14:03:18
Error setting up entry TI CC2531 USB CDC, s/n: __0X00124B001CCC7BB0 - Texas Instruments for zha Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 304, in async_setup result = await component.async_setup_entry(hass, self) # type: ignore File “/usr/src/homeassistant/homeassistant/components/zha/init.py”, line 102, in async_setup_entry await zha_gateway.async_initialize() File “/usr/src/homeassistant/homeassistant/components/zha/core/gateway.py”, line 152, in async_initialize self.application_controller = await app_controller_cls.new( File “/usr/local/lib/python3.9/site-packages/zigpy/application.py”, line 61, in new await app._load_db() File “/usr/local/lib/python3.9/site-packages/zigpy/application.py”, line 53, in _load_db await self._dblistener.load() File “/usr/local/lib/python3.9/site-packages/zigpy/appdb.py”, line 383, in load device = zigpy.quirks.get_device(device) File “/usr/local/lib/python3.9/site-packages/zigpy/quirks/init.py”, line 44, in get_device return _DEVICE_REGISTRY.get_device(device) File “/usr/local/lib/python3.9/site-packages/zigpy/quirks/registry.py”, line 148, in get_device device = candidate(device._application, device.ieee, device.nwk, device) File “/usr/local/lib/python3.9/site-packages/zigpy/quirks/init.py”, line 98, in init self.add_endpoint(endpoint_id, replace_device=replaces) File “/usr/local/lib/python3.9/site-packages/zigpy/quirks/init.py”, line 113, in add_endpoint ep = custom_ep_type(self, endpoint_id, replacement_data, replace_device) File “/usr/local/lib/python3.9/site-packages/zigpy/quirks/init.py”, line 137, in init cluster = c(self, is_server=True) File “/config/deps/lib/python3.9/site-packages/zhaquirks/tuya/init.py”, line 665, in init self.endpoint.device.battery_bus.add_listener(self) AttributeError: ‘TuyaSensor’ object has no attribute ‘battery_bus’