Error when provisioning new extenders to Z4D
Posted: Monday 02 September 2024 12:54
Hello,
I'm using Z4D for the last 2+ years and I'm very happy with its functionality. Since yesterday I'm having and issue with adding a new Zigbee extender and I'm looking for some help.
I have a prod and dev env. both running on Raspi 3B+ with SonOff Zigbee 3.0 USB Dongle plus on latest Domoticz beta version and latest Z4D stable version - 7.1.012 [5.305]
In the prod setup I have two simple USB Zigbee extenders recognized as "TS0207-extender" - and they are working fine. I had a third one which I removed from the network and the plugin some time ago. Yesterday I decided to add it again and when trying I got that error in the Domoticz log:
I tried several times with the same results. Then I tried to add it to the Dev Z4D just to check if the extender was working fine - and I got the same result - error and the devices is added as "disabled" and "NotDB"
Fine, it might be broken somehow. I have two brand new USB extenders of different type recognized again as "TS0207-extender" And I'm not able to add them in both Z4D - they're added with an error, in "disabled" state and "NotDB".
Here is the Domoticz log when I try to add the new extenders:
This is from the Z4D log:
I tried restarting the Z4D plugin, Domoticz, the Dev Raspi, the Zigbee dongle - same results.
Am I missing something or the extenders are just not compatible/working?
Thank you!
I'm using Z4D for the last 2+ years and I'm very happy with its functionality. Since yesterday I'm having and issue with adding a new Zigbee extender and I'm looking for some help.
I have a prod and dev env. both running on Raspi 3B+ with SonOff Zigbee 3.0 USB Dongle plus on latest Domoticz beta version and latest Z4D stable version - 7.1.012 [5.305]
In the prod setup I have two simple USB Zigbee extenders recognized as "TS0207-extender" - and they are working fine. I had a third one which I removed from the network and the plugin some time ago. Yesterday I decided to add it again and when trying I got that error in the Domoticz log:
Code: Select all
2024-09-02 12:56:20.005 Status: Zigbee: Z4D opened the Zigbee network for 240 seconds
2024-09-02 12:56:20.029 Status: Zigbee: ++ opening zigbee network for 240 secondes on specific router None
2024-09-02 12:56:20.074 Status: Zigbee: Accepting new Hardware: Enable (On)
2024-09-02 12:56:21.052 Zigbee: Assisted Pairing: Polling: []
2024-09-02 12:56:21.052 Zigbee: --> Empty queue
2024-09-02 12:56:21.702 Zigbee: UpdateDevice - (Zigbee - TS0601_Lux-a4c1384e351b5a6b-01) 2086:2086
2024-09-02 12:56:22.936 Status: Zigbee: [None] NEW OBJECT: 40b7 None
2024-09-02 12:56:24.024 Zigbee: UpdateDevice - (Zigbee - TS0601_Lux-a4c1384e351b5a6b-01) 2088:2088
2024-09-02 12:56:24.186 Status: Zigbee: [-] NEW OBJECT: 40b7 Active Endpoint Response Ep: 01 LQI: 0
2024-09-02 12:56:24.188 Status: Zigbee: [-] NEW OBJECT: 40b7 Request Simple Descriptor for Ep: 01
2024-09-02 12:56:24.270 Status: Zigbee: [-] NEW OBJECT: 40b7 Active Endpoint Response Ep: 01 LQI: 0
2024-09-02 12:56:24.321 Error: Zigbee: forwarder_thread - Error while receiving a Coordinator command
2024-09-02 12:56:24.382 Error: Zigbee: Issue in request 0180020060ff000104000001010240b702000018000104000042105f545a333030305f6e6c73737a6d7a6c05000042065453303230379c03, dumping stack: Traceback (most recent call last):
2024-09-02 12:56:24.382 File "/home/gd/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTransport/forwarderThread.py", line 42, in forwarder_thread
2024-09-02 12:56:24.382 forward_message(self, message)
2024-09-02 12:56:24.382 File "/home/gd/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTransport/instrumentation.py", line 31, in f_out
2024-09-02 12:56:24.382 result = f_in(self, message)
2024-09-02 12:56:24.382 File "/home/gd/domoticz/plugins/Domoticz-Zigbee/Classes/ZigpyTransport/forwarderThread.py", line 58, in forward_message
2024-09-02 12:56:24.382 self.F_out(message)
2024-09-02 12:56:24.382 File "/home/gd/domoticz/plugins/Domoticz-Zigbee/plugin.py", line 749, in processFrame
2024-09-02 12:56:24.382 zigbee_receive_message(self, Devices, Data)
2024-09-02 12:56:24.382 File "/home/gd/domoticz/plugins/Domoticz-Zigbee/Modules/input.py", line 165, in zigbee_receive_message
2024-09-02 12:56:24.382 _decode_message(self, MsgType, Devices, Data, MsgData, MsgLQI)
2024-09-02 12:56:24.382 File "/home/gd/domoticz/plugins/Domoticz-Zigbee/Modules/input.py", line 172, in _decode_message
2024-09-02 12:56:24.382 decoding_method(self, Devices, MsgData, MsgLQI)
2024-09-02 12:56:24.382 File "/home/gd/domoticz/plugins/Domoticz-Zigbee/Z4D_decoders/z4d_decoder_Read_Attribute_Rsp.py", line 43, in Decode8100
2024-09-02 12:56:24.382 scan_attribute_reponse(self, Devices, MsgSQN, i_sqn, MsgSrcAddr, MsgSrcEp, MsgClusterId, MsgData, '8100')
2024-09-02 12:56:24.382 File "/home/gd/domoticz/plugins/Domoticz-Zigbee/Z4D_decoders/z4d_decoder_Read_Report_Attribute_Rsp.py", line 88, in scan_attribute_reponse
2024-09-02 12:56:24.382 read_report_attributes( self, Devices, msgtype, MsgSQN, MsgSrcAddr, MsgSrcEp, MsgClusterId, MsgAttrID, MsgAttStatus, MsgAttType, MsgAttSize, MsgClusterData, )
2024-09-02 12:56:24.382 File "/home/gd/domoticz/plugins/Domoticz-Zigbee/Z4D_decoders/z4d_decoder_Read_Report_Attribute_Rsp.py", line 121, in read_report_attributes
2024-09-02 12:56:24.382 ReadCluster( self, Devices, MsgType, MsgSQN, MsgSrcAddr, MsgSrcEp, MsgClusterId, MsgAttrID, MsgAttStatus, MsgAttType, MsgAttSize, MsgClusterData, Source=MsgType, )
2024-09-02 12:56:24.382 File "/home/gd/domoticz/plugins/Domoticz-Zigbee/Modules/readClusters.py", line 188, in ReadCluster
2024-09-02 12:56:24.382 process_cluster_attribute_response( self, Devices, MsgSQN, MsgSrcAddr, MsgSrcEp, MsgClusterId, MsgAttrID, MsgAttType, MsgAttSize, MsgClusterData, Source, )
2024-09-02 12:56:24.382 File "/home/gd/domoticz/plugins/Domoticz-Zigbee/Modules/readZclClusters.py", line 161, in process_cluster_attribute_response
2024-09-02 12:56:24.382 handle_model_name( self, MsgSrcAddr, MsgSrcEp, MsgClusterId, MsgAttrID, MsgAttType, MsgAttSize, device_model, MsgClusterData, value )
2024-09-02 12:56:24.382 File "/home/gd/domoticz/plugins/Domoticz-Zigbee/Modules/zclClusterHelpers.py", line 181, in handle_model_name
2024-09-02 12:56:24.382 modelName = _build_model_name( self, MsgSrcAddr, modelName)
2024-09-02 12:56:24.382 File "/home/gd/domoticz/plugins/Domoticz-Zigbee/Modules/zclClusterHelpers.py", line 301, in _build_model_name
2024-09-02 12:56:24.382 return check_found_plugin_model( self, modelName, manufacturer_name=manufacturer_name, manufacturer_code=manuf_code, device_id=zdevice_id)
2024-09-02 12:56:24.382 File "/home/gd/domoticz/plugins/Domoticz-Zigbee/Modules/pluginModels.py", line 50, in check_found_plugin_model
2024-09-02 12:56:24.382 or ( "DeviceID" in x and x["DeviceID"] and device_id not in x["DeviceID"] )
2024-09-02 12:56:24.382 TypeError: 'in <string>' requires string as left operand, not dict
2024-09-02 12:56:24.382
2024-09-02 12:56:24.402 Status: Zigbee: [-] NEW OBJECT: 40b7 Simple Descriptor Response EP: 0x01 LQI: 0
2024-09-02 12:56:24.403 Status: Zigbee: [-] NEW OBJECT: 40b7 ProfileID 0104
2024-09-02 12:56:24.404 Status: Zigbee: [-] NEW OBJECT: 40b7 ZDeviceID 0008
2024-09-02 12:56:24.404 Status: Zigbee: [-] NEW OBJECT: 40b7 Application Version 0000
2024-09-02 12:56:24.405 Status: Zigbee: [-] NEW OBJECT: 40b7 Cluster IN Count: 03
2024-09-02 12:56:24.405 Status: Zigbee: [-] NEW OBJECT: 40b7 Cluster In 1: 0000 (Basic)
2024-09-02 12:56:24.408 Status: Zigbee: [-] NEW OBJECT: 40b7 Cluster In 2: 000a (Time)
2024-09-02 12:56:24.408 Status: Zigbee: [-] NEW OBJECT: 40b7 Cluster In 3: 0003 (Identify)
2024-09-02 12:56:24.409 Status: Zigbee: [-] NEW OBJECT: 40b7 Cluster OUT Count: 01
2024-09-02 12:56:24.409 Status: Zigbee: [-] NEW OBJECT: 40b7 Cluster Out 1: 0019 (Over-the-Air Upgrade)
2024-09-02 12:56:24.439 Status: Zigbee: [-] NEW OBJECT: 40b7 Simple Descriptor Response EP: 0x01 LQI: 0
2024-09-02 12:56:24.440 Status: Zigbee: [-] NEW OBJECT: 40b7 ProfileID 0104
2024-09-02 12:56:24.440 Status: Zigbee: [-] NEW OBJECT: 40b7 ZDeviceID 0008
2024-09-02 12:56:24.441 Status: Zigbee: [-] NEW OBJECT: 40b7 Application Version 0000
2024-09-02 12:56:24.441 Status: Zigbee: [-] NEW OBJECT: 40b7 Cluster IN Count: 03
2024-09-02 12:56:24.442 Status: Zigbee: [-] NEW OBJECT: 40b7 Cluster In 1: 0000 (Basic)
2024-09-02 12:56:24.442 Status: Zigbee: [-] NEW OBJECT: 40b7 Cluster In 2: 000a (Time)
2024-09-02 12:56:24.442 Status: Zigbee: [-] NEW OBJECT: 40b7 Cluster In 3: 0003 (Identify)
2024-09-02 12:56:24.443 Status: Zigbee: [-] NEW OBJECT: 40b7 Cluster OUT Count: 01
2024-09-02 12:56:24.444 Status: Zigbee: [-] NEW OBJECT: 40b7 Cluster Out 1: 0019 (Over-the-Air Upgrade)
2024-09-02 12:56:26.477 Status: [web:8080] Incoming connection from: 192.168.1.196
2024-09-02 12:56:27.089 Status: Zigbee: [0] NEW OBJECT: 40b7 Model Name: TS0207-extender
2024-09-02 12:56:27.090 Status: Zigbee: [0] NEW OBJECT: 40b7 Manufacturer Name: _TZ3000_nlsszmzl
2024-09-02 12:56:32.019 Zigbee: Assisted Pairing: Polling: ['40b7']
2024-09-02 12:56:32.019 Zigbee: --> New device: 40b7
2024-09-02 12:56:32.020 Zigbee: --> Unexpected , removed 40b7 from List
2024-09-02 12:56:32.020 Error: Zigbee: Unexpected
Fine, it might be broken somehow. I have two brand new USB extenders of different type recognized again as "TS0207-extender" And I'm not able to add them in both Z4D - they're added with an error, in "disabled" state and "NotDB".
Here is the Domoticz log when I try to add the new extenders:
Code: Select all
2024-09-02 12:59:11.746 Status: Zigbee: ++ opening zigbee network for 240 secondes on specific router None
2024-09-02 12:59:11.791 Status: Zigbee: Accepting new Hardware: Enable (On)
2024-09-02 12:59:12.820 Zigbee: Assisted Pairing: Polling: []
2024-09-02 12:59:12.821 Zigbee: --> Empty queue
2024-09-02 12:59:15.125 Zigbee: UpdateDevice - (Zigbee - TS0601_Lux-a4c1384e351b5a6b-01) 2062:2062
2024-09-02 12:59:17.645 Status: Zigbee: [None] NEW OBJECT: 26c2 None
2024-09-02 12:59:18.740 Zigbee: UpdateDevice - (Zigbee - TS0601_Lux-a4c1384e351b5a6b-01) 2051:2051
2024-09-02 12:59:18.902 Status: Zigbee: [-] NEW OBJECT: 26c2 Active Endpoint Response Ep: 01 LQI: 0
2024-09-02 12:59:18.903 Status: Zigbee: [-] NEW OBJECT: 26c2 Active Endpoint Response Ep: f2 LQI: 0
2024-09-02 12:59:18.904 Status: Zigbee: [-] NEW OBJECT: 26c2 Request Simple Descriptor for Ep: 01
2024-09-02 12:59:19.099 Status: Zigbee: [-] NEW OBJECT: 26c2 Simple Descriptor Response EP: 0x01 LQI: 0
2024-09-02 12:59:19.100 Status: Zigbee: [-] NEW OBJECT: 26c2 ProfileID 0104
2024-09-02 12:59:19.101 Status: Zigbee: [-] NEW OBJECT: 26c2 ZDeviceID 0100
2024-09-02 12:59:19.102 Status: Zigbee: [-] NEW OBJECT: 26c2 Application Version 0001
2024-09-02 12:59:19.103 Status: Zigbee: [-] NEW OBJECT: 26c2 Cluster IN Count: 07
2024-09-02 12:59:19.104 Status: Zigbee: [-] NEW OBJECT: 26c2 Cluster In 1: 0000 (Basic)
2024-09-02 12:59:19.104 Status: Zigbee: [-] NEW OBJECT: 26c2 Cluster In 2: 0003 (Identify)
2024-09-02 12:59:19.106 Status: Zigbee: [-] NEW OBJECT: 26c2 Cluster In 3: 0500 (IAS Zone)
2024-09-02 12:59:19.107 Status: Zigbee: [-] NEW OBJECT: 26c2 Cluster In 4: e002
2024-09-02 12:59:19.108 Status: Zigbee: [-] NEW OBJECT: 26c2 Cluster In 5: ef00
2024-09-02 12:59:19.109 Status: Zigbee: [-] NEW OBJECT: 26c2 Cluster In 6: ee00
2024-09-02 12:59:19.110 Status: Zigbee: [-] NEW OBJECT: 26c2 Cluster In 7: e000
2024-09-02 12:59:19.110 Status: Zigbee: [-] NEW OBJECT: 26c2 Cluster OUT Count: 02
2024-09-02 12:59:19.111 Status: Zigbee: [-] NEW OBJECT: 26c2 Cluster Out 1: 0003 (Identify)
2024-09-02 12:59:19.112 Status: Zigbee: [-] NEW OBJECT: 26c2 Cluster Out 2: 000a (Time)
2024-09-02 12:59:22.099 Status: Zigbee: [0] NEW OBJECT: 26c2 Model Name: TS0207-extender
2024-09-02 12:59:22.102 Status: Zigbee: [0] NEW OBJECT: 26c2 Manufacturer Name: _TZ3000_nkkl7uzv
2024-09-02 12:59:22.106 Status: Zigbee: [None] NEW OBJECT: 26c2 Request Node Descriptor
2024-09-02 12:59:22.928 Zigbee: Assisted Pairing: Polling: ['26c2']
2024-09-02 12:59:22.928 Zigbee: --> New device: 26c2
2024-09-02 12:59:22.928 Zigbee: --> Unexpected , removed 26c2 from List
2024-09-02 12:59:22.928 Error: Zigbee: Unexpected
2024-09-02 12:59:32.962 Zigbee: Assisted Pairing: Polling: []
2024-09-02 12:59:32.962 Zigbee: --> Empty queue
Code: Select all
2024-09-02 12:59:16,609 WARNING :Executing <Handle SerialTransport._read_ready() created at /usr/lib/python3.9/asyncio/selector_events.py:259> took 1.009 seconds
2024-09-02 12:59:17,643 INFO :b'--> Adding device 26c2 in self.DevicesInPairingMode'
2024-09-02 12:59:17,644 INFO :b"--> ['26c2']"
2024-09-02 12:59:17,645 INFO :b'[None] NEW OBJECT: 26c2 None'
2024-09-02 12:59:17,646 INFO :b'ReadAttributeRequest_0000_for_tuya 26c2'
2024-09-02 12:59:18,642 WARNING :Executing <Task finished name='Task-3024' coro=<ControllerApplication.on_zdo_message() done, defined at /usr/local/lib/python3.9/dist-packages/zigpy_znp/zigbee/application.py:425> result=None created at /usr/lib/python3.9/asyncio/tasks.py:361> took 2.016 seconds
I tried restarting the Z4D plugin, Domoticz, the Dev Raspi, the Zigbee dongle - same results.
Am I missing something or the extenders are just not compatible/working?
Thank you!