I had a power outage at the weekend which caused my sd card to become corrupt, not the first time but oh well. No problem, I thought, I’ll just create a card, restore my snapshot and all will be well, done this multiple times in the past, never a problem. I’m running on a Pi 4
Unfortunately, after doing this everything came up except my zigbee network. All devices were unavailable. I tried everything, old versions of the core and os, different snapshots, the works. Eventually I just gave up trying to get the existing zigbee network going and decided I’d just re-add everything. Having now done this, I cannot get any devices to add at all. Fearing for my Bitron Video stick I have also now tried a Telegesis stick that I used to use and that won’t even connect!
As a last resort I’ve created a brand new install of 5.12, not restored anything and I still can’t get anything out of either of my zigbee usb sticks!
I found this issue but it might not be relevant as I’ve tried old versions too:
Can someone please take a look at my logs and see what on earth might be going on?
The relevant lines when I try and add the telegesis stick (my bitronvideo stick gives similar) are:
2021-03-03 14:32:23 WARNING (MainThread) [zigpy_znp.zigbee.application] Failed to probe ZNP radio with config {'path': '/dev/serial/by-id/usb-Silicon_Labs_Telegesis_USB_Device_04000BC2-if00-port0', 'baudrate': 115200, 'flow_control': None}
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/zigpy_znp/zigbee/application.py", line 167, in probe
await znp.connect()
File "/usr/local/lib/python3.8/site-packages/zigpy_znp/api.py", line 234, in connect
self._version = await self.request(c.SYS.Version.Req())
File "/usr/local/lib/python3.8/site-packages/zigpy_znp/api.py", line 507, in request
response = await response_future
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/zigpy_znp/zigbee/application.py", line 167, in probe
await znp.connect()
File "/usr/local/lib/python3.8/site-packages/async_timeout/__init__.py", line 55, in __aexit__
self._do_exit(exc_type)
File "/usr/local/lib/python3.8/site-packages/async_timeout/__init__.py", line 92, in _do_exit
raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError
2021-03-03 14:32:23 DEBUG (MainThread) [zigpy_znp.uart] Closing serial port
2021-03-03 14:32:23 DEBUG (MainThread) [zigpy_znp.api] We were disconnected from /dev/serial/by-id/usb-Silicon_Labs_Telegesis_USB_Device_04000BC2-if00-port0: None
2021-03-03 14:32:23 DEBUG (MainThread) [bellows.ezsp] Resetting EZSP
2021-03-03 14:32:26 DEBUG (MainThread) [bellows.ezsp] Unsuccessful radio probe of '/dev/serial/by-id/usb-Silicon_Labs_Telegesis_USB_Device_04000BC2-if00-port0' port
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/bellows/ezsp/__init__.py", line 55, in probe
await asyncio.wait_for(ezsp._probe(), timeout=PROBE_TIMEOUT)
File "/usr/local/lib/python3.8/asyncio/tasks.py", line 501, in wait_for
raise exceptions.TimeoutError()
asyncio.exceptions.TimeoutError
2021-03-03 14:32:26 DEBUG (MainThread) [zigpy_deconz.api] Command Command.device_state (0, 0, 0)
2021-03-03 14:32:28 WARNING (MainThread) [zigpy_deconz.api] No response to 'Command.device_state' command with seq id '0x02'
2021-03-03 14:32:28 DEBUG (MainThread) [zigpy_deconz.api] Unsuccessful radio probe of '/dev/serial/by-id/usb-Silicon_Labs_Telegesis_USB_Device_04000BC2-if00-port0' port
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/zigpy_deconz/api.py", line 380, in probe
await asyncio.wait_for(api._probe(), timeout=PROBE_TIMEOUT)
File "/usr/local/lib/python3.8/asyncio/tasks.py", line 494, in wait_for
return fut.result()
File "/usr/local/lib/python3.8/site-packages/zigpy_deconz/api.py", line 396, in _probe
await self.device_state()
File "/usr/local/lib/python3.8/site-packages/zigpy_deconz/api.py", line 305, in _command
return await asyncio.wait_for(fut, timeout=COMMAND_TIMEOUT)
File "/usr/local/lib/python3.8/asyncio/tasks.py", line 501, in wait_for
raise exceptions.TimeoutError()
asyncio.exceptions.TimeoutError
2021-03-03 14:32:28 DEBUG (MainThread) [zigpy_cc.uart] Connecting on port /dev/serial/by-id/usb-Silicon_Labs_Telegesis_USB_Device_04000BC2-if00-port0 with boudrate 115200
2021-03-03 14:32:28 DEBUG (MainThread) [zigpy_cc.uart] Connection made
2021-03-03 14:32:29 DEBUG (MainThread) [zigpy_cc.api] --> SREQ SYS version tsn: None {}
2021-03-03 14:32:29 DEBUG (MainThread) [zigpy_cc.uart] Send: b'\xfe\x00!\x02#'
2021-03-03 14:32:30 DEBUG (MainThread) [zigpy_cc.api] Unsuccessful radio probe of '/dev/serial/by-id/usb-Silicon_Labs_Telegesis_USB_Device_04000BC2-if00-port0' port
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/zigpy_cc/api.py", line 279, in probe
await asyncio.wait_for(api._probe(), timeout=COMMAND_TIMEOUT)
File "/usr/local/lib/python3.8/asyncio/tasks.py", line 501, in wait_for
raise exceptions.TimeoutError()
asyncio.exceptions.TimeoutError
2021-03-03 14:32:30 DEBUG (MainThread) [zigpy_zigate.uart] Connection made
2021-03-03 14:32:30 DEBUG (MainThread) [zigpy_zigate.uart] Send: 0x0002 b'01'
2021-03-03 14:32:30 DEBUG (MainThread) [zigpy_zigate.uart] Frame to send: b'\x00\x02\x00\x01\x02\x01'
2021-03-03 14:32:30 DEBUG (MainThread) [zigpy_zigate.uart] Frame escaped: b'\x02\x10\x02\x12\x02\x10\x02\x11\x02\x12\x02\x11'
2021-03-03 14:32:31 WARNING (MainThread) [zigpy_zigate.api] No response to command 0x0002
2021-03-03 14:32:31 WARNING (MainThread) [zigpy_zigate.api] Retry command 0x0002
2021-03-03 14:32:31 DEBUG (MainThread) [zigpy_zigate.uart] Send: 0x0002 b'01'
2021-03-03 14:32:31 DEBUG (MainThread) [zigpy_zigate.uart] Frame to send: b'\x00\x02\x00\x01\x02\x01'
2021-03-03 14:32:31 DEBUG (MainThread) [zigpy_zigate.uart] Frame escaped: b'\x02\x10\x02\x12\x02\x10\x02\x11\x02\x12\x02\x11'
2021-03-03 14:32:33 DEBUG (MainThread) [zigpy_zigate.api] Unsuccessful radio probe of '/dev/serial/by-id/usb-Silicon_Labs_Telegesis_USB_Device_04000BC2-if00-port0' port
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/zigpy_zigate/api.py", line 258, in probe
await asyncio.wait_for(api._probe(), timeout=PROBE_TIMEOUT)
File "/usr/local/lib/python3.8/asyncio/tasks.py", line 501, in wait_for
raise exceptions.TimeoutError()
asyncio.exceptions.TimeoutError
2021-03-03 14:32:33 DEBUG (MainThread) [zigpy_xbee.api] at command: AP (2,)
2021-03-03 14:32:33 DEBUG (MainThread) [zigpy_xbee.api] Command at (b'AP', b'\x02')
2021-03-03 14:32:34 WARNING (MainThread) [zigpy_xbee.api] at: No response to AP command
2021-03-03 14:32:35 WARNING (MainThread) [zigpy_cc.api] No response for: SRSP SYS version {}
2021-03-03 14:32:37 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2021-03-03 14:32:37 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 57600bps, trying 1200 next
2021-03-03 14:32:40 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2021-03-03 14:32:40 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 1200bps, trying 2400 next
2021-03-03 14:32:43 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2021-03-03 14:32:43 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 2400bps, trying 4800 next
2021-03-03 14:32:47 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2021-03-03 14:32:47 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 4800bps, trying 9600 next
2021-03-03 14:32:50 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2021-03-03 14:32:50 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 9600bps, trying 19200 next
2021-03-03 14:32:53 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2021-03-03 14:32:53 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 19200bps, trying 38400 next
2021-03-03 14:32:56 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2021-03-03 14:32:56 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 38400bps, trying 57600 next
2021-03-03 14:32:59 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2021-03-03 14:32:59 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 57600bps, trying 115200 next
2021-03-03 14:33:03 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2021-03-03 14:33:03 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 115200bps, trying 230400 next
2021-03-03 14:33:06 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2021-03-03 14:33:06 DEBUG (MainThread) [zigpy_xbee.api] Couldn't enter AT command mode at any known baudrate.Configure XBee manually for escaped API mode ATAP2
2021-03-03 14:33:06 DEBUG (MainThread) [zigpy_xbee.api] Unsuccessful radio probe of '/dev/serial/by-id/usb-Silicon_Labs_Telegesis_USB_Device_04000BC2-if00-port0' port
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/zigpy_xbee/api.py", line 597, in _probe
await self._at_command("AP", 2)
File "/usr/local/lib/python3.8/site-packages/zigpy_xbee/api.py", line 385, in _at_partial
return await asyncio.wait_for(
File "/usr/local/lib/python3.8/asyncio/tasks.py", line 501, in wait_for
raise exceptions.TimeoutError()
asyncio.exceptions.TimeoutError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/zigpy_xbee/api.py", line 579, in probe
await asyncio.wait_for(api._probe(), timeout=PROBE_TIMEOUT)
File "/usr/local/lib/python3.8/asyncio/tasks.py", line 494, in wait_for
return fut.result()
File "/usr/local/lib/python3.8/site-packages/zigpy_xbee/api.py", line 600, in _probe
raise APIException("Failed to configure XBee for API mode")
zigpy.exceptions.APIException: Failed to configure XBee for API mode
2021-03-03 14:33:12 DEBUG (MainThread) [bellows.ezsp] Resetting EZSP
2021-03-03 14:33:15 DEBUG (MainThread) [bellows.ezsp] Unsuccessful radio probe of '/dev/serial/by-id/usb-Silicon_Labs_Telegesis_USB_Device_04000BC2-if00-port0' port
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/bellows/ezsp/__init__.py", line 55, in probe
await asyncio.wait_for(ezsp._probe(), timeout=PROBE_TIMEOUT)
File "/usr/local/lib/python3.8/asyncio/tasks.py", line 501, in wait_for
raise exceptions.TimeoutError()
asyncio.exceptions.TimeoutError
Thanks