Unable to integrate ZHA

Hi all,

I am having trouble to get the ZHA integration to work.
I am running HA 0.103.5 and a Conbee USB stick (i.e. not ConBee II).
When I add the integration in the UI it fails, and the following is output in home assistant log (with debug turned on and filtered on zigpy).
I can see a couple of suspicious things, the MAC address of the ConBee stick is returned as all zeros, and it complains about “No response to ‘Command.write_parameter’ command”.
Also it seems obvious that the unit does respond, since there are many commands that seem to work.
I have tried a couple of different firmwares for the ConBee stick, but with no success so far.
Any ideas anyone?

2020-01-08 08:59:00 DEBUG (MainThread) [zigpy_deconz.uart] Connection made
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy.appdb] Loading application state from /var/opt/homeassistant/zigbee.db
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy.ota] Initialize OTA providers
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, <NetworkParameter.protocol_version: 34>, b'')
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x0a02000800010022
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy.ota.provider] OTA image directory '/var/opt/homeassistant/zigpy_ota/' does not exist
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0a02000a000300220901
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Read parameter protocol_version response: [265]
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Command Command.version ()
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x0d03000500
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0d0300090000052f26
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Version response: 262f0500
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Command Command.device_state (0, 0, 0)
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x0704000800000000
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x070400080080002f
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Device state response: [128, 0, 47]
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Data request queue full.
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, <NetworkParameter.mac_address: 1>, b'')
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x0a05000800010001
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0a050010000900010000000000000000
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Read parameter mac_address response: [00:00:00:00:00:00:00:00]
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, <NetworkParameter.nwk_panid: 5>, b'')
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x0a06000800010005
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0a06000a000300050000
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Read parameter nwk_panid response: [0x0000]
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, <NetworkParameter.nwk_address: 7>, b'')
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x0a07000800010007
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0a07000a000300070000
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Read parameter nwk_address response: [0x0000]
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, <NetworkParameter.nwk_extended_panid: 8>, b'')
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x0a08000800010008
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0a080010000900080000000000000000
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Read parameter nwk_extended_panid response: [00:00:00:00:00:00:00:00]
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, <NetworkParameter.channel_mask: 10>, b'')
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x0a0900080001000a
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0a09000c0005000a01000000
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Read parameter channel_mask response: [1]
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, <NetworkParameter.aps_extended_panid: 11>, b'')
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x0a0a00080001000b
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0a0a00100009000b0000000000000000
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Read parameter aps_extended_panid response: [00:00:00:00:00:00:00:00]
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, <NetworkParameter.trust_center_address: 14>, b'')
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x0a0b00080001000e
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0a0b00100009000e0000000000000000
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Read parameter trust_center_address response: [00:00:00:00:00:00:00:00]
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, <NetworkParameter.security_mode: 16>, b'')
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x0a0c000800010010
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0a0c00090002001000
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Read parameter security_mode response: [0]
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, <NetworkParameter.current_channel: 28>, b'')
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x0a0d00080001001c
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0a0d00090002001c00
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Read parameter current_channel response: [0]
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, <NetworkParameter.protocol_version: 34>, b'')
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x0a0e000800010022
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0a0e000a000300220901
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Read parameter protocol_version response: [265]
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, <NetworkParameter.nwk_update_id: 36>, b'')
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x0a0f000800010024
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0a0f00090002002402
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Read parameter nwk_update_id response: [2]
2020-01-08 08:59:01 INFO (MainThread) [zigpy_deconz.zigbee.application] Forming network
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Command Command.change_network_state (2,)
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x081000060002
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Command Command.write_parameter (2, <NetworkParameter.aps_designed_coordinator: 9>, b'\x01')
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x0b1100090002000901
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Command Command.write_parameter (5, <NetworkParameter.watchdog_ttl: 38>, b'\x10\x0e\x00\x00')
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x0b12000c00050026100e0000
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x081000060000
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Change network state response: OFFLINE
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Command Command.device_state (0, 0, 0)
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x0713000800000000
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0e110007008000
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [128, 0]
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Data request queue full.
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0b12000800010026
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Write parameter watchdog_ttl: SUCCESS
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0713000800800026
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Device state response: [128, 0, 38]
2020-01-08 08:59:01 DEBUG (MainThread) [zigpy_deconz.api] Data request queue full.
2020-01-08 08:59:02 DEBUG (MainThread) [zigpy_deconz.api] Command Command.device_state (0, 0, 0)
2020-01-08 08:59:02 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x0714000800000000
2020-01-08 08:59:02 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0714000800800026
2020-01-08 08:59:02 DEBUG (MainThread) [zigpy_deconz.api] Device state response: [128, 0, 38]
2020-01-08 08:59:02 DEBUG (MainThread) [zigpy_deconz.api] Data request queue full.
2020-01-08 08:59:03 WARNING (MainThread) [zigpy_deconz.api] No response to 'Command.write_parameter' command
File "/var/opt/homeassistant/havenv/lib/python3.8/site-packages/zigpy_deconz/api.py", line 210, in _command
2020-01-08 08:59:03 DEBUG (MainThread) [zigpy_deconz.api] Command Command.device_state (0, 0, 0)
2020-01-08 08:59:03 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x0715000800000000
2020-01-08 08:59:03 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0715000800800026
2020-01-08 08:59:03 DEBUG (MainThread) [zigpy_deconz.api] Device state response: [128, 0, 38]
2020-01-08 08:59:03 DEBUG (MainThread) [zigpy_deconz.api] Data request queue full.
2020-01-08 08:59:04 DEBUG (MainThread) [zigpy_deconz.api] Command Command.device_state (0, 0, 0)
2020-01-08 08:59:04 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x0716000800000000
2020-01-08 08:59:04 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0716000800800026
2020-01-08 08:59:04 DEBUG (MainThread) [zigpy_deconz.api] Device state response: [128, 0, 38]
2020-01-08 08:59:04 DEBUG (MainThread) [zigpy_deconz.api] Data request queue full.
2020-01-08 08:59:05 DEBUG (MainThread) [zigpy_deconz.api] Command Command.device_state (0, 0, 0)
2020-01-08 08:59:05 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x0717000800000000
2020-01-08 08:59:05 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0717000800800026
2020-01-08 08:59:05 DEBUG (MainThread) [zigpy_deconz.api] Device state response: [128, 0, 38]
2020-01-08 08:59:05 DEBUG (MainThread) [zigpy_deconz.api] Data request queue full.
2020-01-08 08:59:06 DEBUG (MainThread) [zigpy_deconz.api] Command Command.device_state (0, 0, 0)
2020-01-08 08:59:06 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x0718000800000000
2020-01-08 08:59:06 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0718000800800026
2020-01-08 08:59:06 DEBUG (MainThread) [zigpy_deconz.api] Device state response: [128, 0, 38]
2020-01-08 08:59:06 DEBUG (MainThread) [zigpy_deconz.api] Data request queue full.
2020-01-08 08:59:07 DEBUG (MainThread) [zigpy_deconz.api] Command Command.device_state (0, 0, 0)
2020-01-08 08:59:07 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x0719000800000000
2020-01-08 08:59:07 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0719000800800026
2020-01-08 08:59:07 DEBUG (MainThread) [zigpy_deconz.api] Device state response: [128, 0, 38]
2020-01-08 08:59:07 DEBUG (MainThread) [zigpy_deconz.api] Data request queue full.
2020-01-08 08:59:08 DEBUG (MainThread) [zigpy_deconz.api] Command Command.device_state (0, 0, 0)
2020-01-08 08:59:08 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x071a000800000000
2020-01-08 08:59:08 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x071a000800800026
2020-01-08 08:59:08 DEBUG (MainThread) [zigpy_deconz.api] Device state response: [128, 0, 38]
2020-01-08 08:59:08 DEBUG (MainThread) [zigpy_deconz.api] Data request queue full.
2020-01-08 08:59:09 DEBUG (MainThread) [zigpy_deconz.api] Command Command.device_state (0, 0, 0)
2020-01-08 08:59:09 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x071b000800000000
2020-01-08 08:59:09 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x071b000800800026
2020-01-08 08:59:09 DEBUG (MainThread) [zigpy_deconz.api] Device state response: [128, 0, 38]
2020-01-08 08:59:09 DEBUG (MainThread) [zigpy_deconz.api] Data request queue full.
2020-01-08 08:59:10 DEBUG (MainThread) [zigpy_deconz.api] Command Command.device_state (0, 0, 0)
2020-01-08 08:59:10 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x071c000800000000
2020-01-08 08:59:10 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x071c000800800026
2020-01-08 08:59:10 DEBUG (MainThread) [zigpy_deconz.api] Device state response: [128, 0, 38]
2020-01-08 08:59:10 DEBUG (MainThread) [zigpy_deconz.api] Data request queue full.

If you have the deCONZ add-on installed, make sure you disable it.

1 Like

I do not. I am going to ship the ConBee back to the reseller, I think it is broken since it does not have a programmed MAC address.

1 Like

It has t have a MAC… more than likely its not being read properly. I to am having issues with Conbee2 and ZHA. working it with a guy involved with the ZHA integration.

How are you running HA? VirtualBox? some other VM software? or a RPi?

Well, there is no MAC address when I try it on a different computer with deconz either.
So I think they forgot to program it in the factory on this one…

My logs when trying to connect with the raspbee2 module

2021-03-14 22:33:15 DEBUG (MainThread) [zigpy_znp.zigbee.application] Probing /dev/ttyAMA0
2021-03-14 22:33:15 DEBUG (MainThread) [zigpy_znp.uart] Connecting to /dev/ttyAMA0 at 115200 baud
2021-03-14 22:33:15 DEBUG (MainThread) [zigpy_znp.uart] Opened /dev/ttyAMA0 serial port
2021-03-14 22:33:15 DEBUG (MainThread) [zigpy_znp.uart] Toggling RTS/CTS to skip CC2652R bootloader
2021-03-14 22:33:15 DEBUG (MainThread) [zigpy_znp.uart] Connected to /dev/ttyAMA0 at 115200 baud
2021-03-14 22:33:15 DEBUG (MainThread) [zigpy_znp.api] Waiting 1s before sending anything
2021-03-14 22:33:16 DEBUG (MainThread) [zigpy_znp.api] Sending bootloader skip byte
2021-03-14 22:33:16 DEBUG (MainThread) [zigpy_znp.api] Waiting 1s or until a reset indication is received
2021-03-14 22:33:17 DEBUG (MainThread) [zigpy_znp.api] Testing connection to /dev/ttyAMA0
2021-03-14 22:33:17 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.Ping.Req()
2021-03-14 22:33:20 DEBUG (MainThread) [zigpy_znp.api] Connection to /dev/ttyAMA0 failed, cleaning up
2021-03-14 22:33:20 DEBUG (MainThread) [zigpy_znp.uart] Closing serial port
2021-03-14 22:33:20 DEBUG (MainThread) [zigpy_znp.zigbee.application] Failed to probe ZNP radio with config {'path': '/dev/ttyAMA0', 'flow_control': None, 'baudrate': 115200}
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/zigpy_znp/zigbee/application.py", line 159, in probe
await znp.connect()
File "/usr/local/lib/python3.8/site-packages/zigpy_znp/api.py", line 259, in connect
self.capabilities = (await self.request(c.SYS.Ping.Req())).Capabilities
File "/usr/local/lib/python3.8/site-packages/zigpy_znp/api.py", line 532, 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 159, 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-14 22:33:20 DEBUG (MainThread) [bellows.ezsp] Resetting EZSP
2021-03-14 22:33:23 DEBUG (MainThread) [bellows.ezsp] Unsuccessful radio probe of '/dev/ttyAMA0' 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-14 22:33:23 DEBUG (MainThread) [zigpy_deconz.api] Command Command.device_state (0, 0, 0)
2021-03-14 22:33:24 WARNING (MainThread) [zigpy_deconz.api] No response to 'Command.device_state' command with seq id '0x02'
2021-03-14 22:33:24 DEBUG (MainThread) [zigpy_deconz.api] Unsuccessful radio probe of '/dev/ttyAMA0' 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-14 22:33:24 DEBUG (MainThread) [zigpy_cc.uart] Connecting on port /dev/ttyAMA0 with boudrate 115200
2021-03-14 22:33:24 DEBUG (MainThread) [zigpy_cc.uart] Connection made
2021-03-14 22:33:25 DEBUG (MainThread) [zigpy_cc.api] --> SREQ SYS version tsn: None {}
2021-03-14 22:33:25 DEBUG (MainThread) [zigpy_cc.uart] Send: b'\xfe\x00!\x02#'
2021-03-14 22:33:26 DEBUG (MainThread) [zigpy_cc.api] Unsuccessful radio probe of '/dev/ttyAMA0' 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-14 22:33:26 DEBUG (MainThread) [zigpy_zigate.uart] PiZiGate detected
2021-03-14 22:33:26 INFO (MainThread) [zigpy_zigate.common] Put PiZiGate in running mode
2021-03-14 22:33:28 DEBUG (MainThread) [zigpy_zigate.uart] Connection made
2021-03-14 22:33:28 DEBUG (MainThread) [zigpy_zigate.uart] Send: 0x0002 b'01'
2021-03-14 22:33:28 DEBUG (MainThread) [zigpy_zigate.uart] Frame to send: b'\x00\x02\x00\x01\x02\x01'
2021-03-14 22:33:28 DEBUG (MainThread) [zigpy_zigate.uart] Frame escaped: b'\x02\x10\x02\x12\x02\x10\x02\x11\x02\x12\x02\x11'
2021-03-14 22:33:29 DEBUG (MainThread) [zigpy_zigate.api] Unsuccessful radio probe of '/dev/ttyAMA0' 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-14 22:33:29 DEBUG (MainThread) [zigpy_xbee.api] at command: AP (2,)
2021-03-14 22:33:29 DEBUG (MainThread) [zigpy_xbee.api] Command at (b'AP', b'\x02')
2021-03-14 22:33:30 WARNING (MainThread) [zigpy_xbee.api] at: No response to AP command
2021-03-14 22:33:31 WARNING (MainThread) [zigpy_cc.api] No response for: SRSP SYS version {}
2021-03-14 22:33:34 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2021-03-14 22:33:34 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 57600bps, trying 1200 next
2021-03-14 22:33:37 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2021-03-14 22:33:37 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 1200bps, trying 2400 next
2021-03-14 22:33:40 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2021-03-14 22:33:40 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 2400bps, trying 4800 next
2021-03-14 22:33:43 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2021-03-14 22:33:43 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 4800bps, trying 9600 next
2021-03-14 22:33:46 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2021-03-14 22:33:46 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 9600bps, trying 19200 next
2021-03-14 22:33:50 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2021-03-14 22:33:50 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 19200bps, trying 38400 next
2021-03-14 22:33:53 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2021-03-14 22:33:53 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 38400bps, trying 57600 next
2021-03-14 22:33:56 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2021-03-14 22:33:56 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 57600bps, trying 115200 next
2021-03-14 22:33:59 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2021-03-14 22:33:59 DEBUG (MainThread) [zigpy_xbee.api] Failed to enter AT command mode at 115200bps, trying 230400 next
2021-03-14 22:34:02 DEBUG (MainThread) [zigpy_xbee.api] Command mode no response to AT '+++' command
2021-03-14 22:34:02 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-14 22:34:02 DEBUG (MainThread) [zigpy_xbee.api] Unsuccessful radio probe of '/dev/ttyAMA0' 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-14 22:34:11 DEBUG (MainThread) [zigpy_deconz.api] Command Command.device_state (0, 0, 0)
2021-03-14 22:34:13 WARNING (MainThread) [zigpy_deconz.api] No response to 'Command.device_state' command with seq id '0x02'
2021-03-14 22:34:13 DEBUG (MainThread) [zigpy_deconz.api] Unsuccessful radio probe of '/dev/ttyAMA0' 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-14 22:38:56 DEBUG (MainThread) [zigpy_deconz.api] Command Command.device_state (0, 0, 0)
2021-03-14 22:38:58 WARNING (MainThread) [zigpy_deconz.api] No response to 'Command.device_state' command with seq id '0x02'
2021-03-14 22:38:58 DEBUG (MainThread) [zigpy_deconz.api] Unsuccessful radio probe of '/dev/ttyAMA0' 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