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.