Closed Tarik2142 closed 1 year ago
Hey there @dmulcahey, @adminiuga, @puddly, mind taking a look at this issue as it has been labeled with an integration (zha
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
zha documentation zha source (message by IssueLinks)
After changing the channel to 11 (it is used by Z2M), the network starts successfully when selecting the "Create a network" option.
Device log:
42651] -> fe 04 21 1c 21 00 00 00 18
[1542680] <- fe 76 61 1c 00 74 2a 05 02 65 0f 65 00 1e 00 00 00 01 05 01 8f 00 07 00 02 0d 02 00 00 00 0b 00 00 00 00 00 00 00 00 00 00 00 84 54 08 00 00 08 00 00 0f 0f 04 00 01 00 00 00 01 00 00 00 00 ea d6 af 4b ce 65 5e 98 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0f 05 00 01 3c 0a 01 00 00 00 04 00 00 00 90
[1542686] -> fe 02 21 13 55 00 65
[1542693] <- fe 02 61 13 01 00 71
[1542695] -> fe 04 21 1c 55 00 00 00 6c
[1542704] <- fe 03 61 1c 00 01 01 7e
[1542706] -> fe 02 21 13 01 00 31
[1542711] <- fe 02 61 13 08 00 78
[1542713] -> fe 04 21 1c 01 00 00 00 38
[1542719] <- fe 0a 61 1c 00 08 09 28 d1 26 00 4b 12 00 f0
[1542721] -> fe 02 21 13 87 00 b7
[1542731] <- fe 02 61 13 01 00 71
[1542733] -> fe 04 21 1c 87 00 00 00 be
[1542749] <- fe 03 61 1c 00 01 00 7f
[1542751] -> fe 02 21 13 3a 00 0a
[1542761] <- fe 02 61 13 11 00 61
[1542763] -> fe 04 21 1c 3a 00 00 00 03
[1542781] <- fe 13 61 1c 00 11 00 c8 49 27 8d 47 aa ba e4 59 47 e2 da c8 47 6e 16 36
[1542785] -> fe 05 21 32 01 07 00 00 00 10
[1542794] <- fe 04 61 32 0c 00 00 00 5b
[1542796] -> fe 08 21 33 01 07 00 00 00 00 00 0c 10
[1542808] <- fe 0e 61 33 00 0c 00 00 00 00 ea d6 af 4b ce 65 5e 98 e5
[1542810] -> fe 00 21 02 23
[1542814] <- fe 0a 61 02 02 01 02 07 01 2a 8d 34 01 00 fc
[1542820] -> fe 02 21 13 01 01 30
[1542830] <- fe 02 61 13 10 00 60
[1542832] -> fe 04 21 1c 01 01 00 00 39
[1542850] <- fe 12 61 1c 00 10 bc 2f 29 ca 67 df e2 9f e9 71 1f 7b 25 c2 a7 d6 a0
[1542852] -> fe 02 21 13 5f 00 6f
[1542856] <- fe 02 61 13 01 00 71
[1542858] -> fe 04 21 1c 5f 00 00 00 66
[1542864] <- fe 03 61 1c 00 01 01 7e
[1542866] -> fe 02 21 13 87 00 b7
[1542876] <- fe 02 61 13 01 00 71
[1542878] -> fe 04 21 1c 87 00 00 00 be
[1542894] <- fe 03 61 1c 00 01 00 7f
[1542896] -> fe 02 21 13 32 00 02
[1542903] <- fe 02 61 13 01 00 71
[1542905] -> fe 04 21 1c 32 00 00 00 0b
[1542915] <- fe 03 61 1c 00 01 01 7e
[1542917] -> fe 02 21 13 33 00 03
[1542924] <- fe 02 61 13 01 00 71
[1542926] -> fe 04 21 1c 33 00 00 00 0a
[1542936] <- fe 03 61 1c 00 01 3c 43
[1542938] -> fe 02 21 13 33 00 03
[1542945] <- fe 02 61 13 01 00 71
[1542947] -> fe 07 21 1d 33 00 00 00 01 00 78 71
[1542958] <- fe 01 61 1d 00 7d
[1542961] -> fe 02 21 13 36 00 06
[1542967] <- fe 02 61 13 01 00 71
[1542969] -> fe 04 21 1c 36 00 00 00 0f
[1542979] <- fe 03 61 1c 00 01 01 7e
[1542981] -> fe 02 21 13 38 00 08
[1542988] <- fe 02 61 13 01 00 71
[1542990] -> fe 04 21 1c 38 00 00 00 01
[1543000] <- fe 03 61 1c 00 01 02 7d
[1543002] -> fe 02 21 13 38 00 08
[1543009] <- fe 02 61 13 01 00 71
[1543011] -> fe 07 21 1d 38 00 00 00 01 00 ff fd
[1543022] <- fe 01 61 1d 00 7d
[1543025] -> fe 02 21 13 3e 00 0e
[1543031] <- fe 02 61 13 01 00 71
[1543033] -> fe 04 21 1c 3e 00 00 00 07
[1543043] <- fe 03 61 1c 00 01 00 7f
[1543045] -> fe 02 21 13 30 00 00
[1543052] <- fe 02 61 13 01 00 71
[1543054] -> fe 04 21 1c 30 00 00 00 09
[1543064] <- fe 03 61 1c 00 01 1e 61
[1543066] -> fe 02 21 13 8f 00 bf
[1543073] <- fe 02 61 13 01 00 71
[1543075] -> fe 04 21 1c 8f 00 00 00 b6
[1543086] <- fe 03 61 1c 00 01 01 7e
[1543089] -> fe 01 41 00 01 41
[1545663] <- 00
[1545666] <- fe 06 41 80 00 02 01 02 07 01 c0
[1545671] -> fe 01 2f 05 04 2f
[1549272] <- fe 01 6f 05 00 6b fe 01 45 c0 09 8d
[1549275] <- fe 03 4f 80 0d 00 04 c5
[1549472] <- fe 03 4f 80 08 02 00 c6
[1549478] -> fe 02 21 13 21 00 11
[1549483] <- fe 02 61 13 74 00 04
[1549488] -> fe 04 21 1c 21 00 00 00 18
[1549508] <- fe 76 61 1c 00 74 2a 05 02 65 0f 65 00 1e 00 00 00 01 05 01 8f 00 07 00 02 0d 02 00 00 00 0b 00 00 00 00 00 00 00 00 00 00 00 84 54 08 00 00 08 00 00 0f 0f 04 00 01 00 00 00 01 00 00 00 00 ea d6 af 4b ce 65 5e 98 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0f 05 00 01 3c 0a 01 00 00 00 04 00 00 00 90
[1549520] -> fe 00 21 02 23
[1549524] <- fe 0a 61 02 02 01 02 07 01 2a 8d 34 01 00 fc
[1549530] -> fe 02 27 0a ff 00 d0
[1549533] <- fe 01 67 0a 00 6c
[1549539] -> fe 1b 24 00 01 04 01 00 04 00 00 05 00 00 06 00 0a 00 19 00 01 05 04 01 00 20 00 00 05 02 05 0c
[1549545] <- fe 01 64 00 00 65
[1549551] -> fe 0b 24 00 02 5e c0 20 08 00 00 01 00 00 00 9a
[1549555] <- fe 01 64 00 00 65
[1549560] -> fe 02 25 3e ff ff 19
[1549563] <- fe 01 65 3e 00 5a
[1549571] -> fe 17 24 02 02 00 00 00 00 00 00 00 00 00 00 00 00 02 00 01 20 00 03 00 01 00 00 12
[1549577] <- fe 01 64 02 00 67
[1549580] <- fe 12 45 82 00 00 00 00 00 00 40 8f 00 00 50 a0 00 01 2c a0 00 00 67
[1549584] <- fe 19 45 ff 00 00 00 02 80 00 01 00 00 00 00 00 00 40 8f 00 00 50 a0 00 01 2c a0 00 00 92
[1549593] -> fe 17 24 02 02 00 00 00 00 00 00 00 00 00 00 00 00 05 00 02 20 00 03 00 02 00 00 15
[1549599] <- fe 01 64 02 00 67
[1549603] <- fe 08 45 85 00 00 00 00 00 02 02 01 c9 fe 0f 45 ff 00 00 00 05 80 00 02 00 00 00 00 00 02 02 01 33
[1549609] -> fe 18 24 02 02 00 00 00 00 00 00 00 00 00 00 00 00 04 00 03 20 00 04 00 03 00 00 02 1e
[1549615] <- fe 01 64 02 00 67
[1549618] <- fe 10 45 84 00 00 00 00 00 0a 02 5e c0 20 08 00 01 00 00 00 6e
[1549622] <- fe 17 45 ff 00 00 00 04 80 00 03 00 00 00 00 00 0a 02 5e c0 20 08 00 01 00 00 00 95
[1549630] -> fe 18 24 02 02 00 00 00 00 00 00 00 00 00 00 00 00 04 00 04 20 00 04 00 04 00 00 01 1d
[1549636] <- fe 01 64 02 00 67
[1549645] <- fe 20 45 84 00 00 00 00 00 1a 01 04 01 00 04 00 05 00 00 06 00 0a 00 19 00 01 05 04 01 00 20 00 00 05 02 05 c8 fe 27 45 ff 00 00 00 04 80 00 04 00 00 00 00 00 1a 01 04 01 00 04 00 05 00 00 06 00 0a 00 19 00 01 05 04 01 00 20 00 00 05 02 05 34
[1549653] -> fe 05 25 36 02 00 00 00 01 15
[1549658] <- fe 01 65 36 00 52 fe 03 45 b6 00 00 00 f0
[1549661] <- fe 0a 45 ff 00 00 00 36 80 00 00 00 00 00 06
[1549666] -> fe 05 25 36 0f fc ff 00 00 1a
[1549676] <- fe 01 65 36 00 52 fe 03 45 b6 00 00 00 f0
[1549680] <- fe 0a 45 ff 00 00 00 36 80 00 01 00 00 00 07
[1549682] -> fe 17 24 02 0f fc ff 00 00 00 00 00 00 00 00 00 00 36 00 05 20 00 03 00 05 00 00 28
[1549688] <- fe 01 64 02 00 67
[1549693] -> fe 1b 24 02 02 00 00 00 00 00 00 00 00 00 00 00 00 38 00 06 20 00 07 00 06 00 f8 ff 07 04 01 25
[1549699] <- fe 01 64 02 00 67
[1554315] <- fe 1c 45 b8 00 00 00 00 f8 ff 07 04 00 00 00 10 70 9c a0 6d 69 62 3a 0a 0e 28 12 1d 1d 2f 7f 1d 96
[1554319] <- fe 23 45 ff 00 00 00 38 80 00 06 00 00 00 00 f8 ff 07 04 00 00 00 10 70 9c a0 6d 69 62 3a 0a 0e 28 12 1d 1d 2f 7f 1d 50
[1554330] -> fe 02 21 13 21 00 11
[1554333] <- fe 02 61 13 74 00 04
[1554342] -> fe 04 21 1c 21 00 00 00 18
[1554357] <- fe 76 61 1c 00 74 2d 05 02 65 0f 65 00 1e 00 00 00 01 05 01 8f 00 07 00 02 0d 02 00 00 00 0b 00 00 00 00 00 00 00 00 00 00 00 84 54 08 00 00 08 00 00 0f 0f 04 00 01 00 00 00 01 00 00 00 00 ea d6 af 4b ce 65 5e 98 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0f 05 00 01 3c 0a 01 00 00 00 04 00 00 00 97
[1554365] -> fe 02 21 13 55 00 65
[1554374] <- fe 02 61 13 01 00 71
[1554376] -> fe 04 21 1c 55 00 00 00 6c
[1554392] <- fe 03 61 1c 00 01 01 7e
[1554396] -> fe 02 21 13 01 00 31
[1554403] <- fe 02 61 13 08 00 78
[1554405] -> fe 04 21 1c 01 00 00 00 38
[1554418] <- fe 0a 61 1c 00 08 09 28 d1 26 00 4b 12 00 f0
[1554420] -> fe 02 21 13 87 00 b7
[1554426] <- fe 02 61 13 01 00 71
[1554428] -> fe 04 21 1c 87 00 00 00 be
[1554437] <- fe 03 61 1c 00 01 00 7f
[1554439] -> fe 02 21 13 3a 00 0a
[1554445] <- fe 02 61 13 11 00 61
[1554447] -> fe 04 21 1c 3a 00 00 00 03
[1554458] <- fe 13 61 1c 00 11 00 c8 49 27 8d 47 aa ba e4 59 47 e2 da c8 47 6e 16 36
[1554460] -> fe 05 21 32 01 07 00 00 00 10
[1554464] <- fe 04 61 32 0c 00 00 00 5b
[1554466] -> fe 08 21 33 01 07 00 00 00 00 00 0c 10
[1554471] <- fe 0e 61 33 00 0c e2 04 00 00 ea d6 af 4b ce 65 5e 98 03
[1554474] -> fe 00 21 02 23
[1554478] <- fe 0a 61 02 02 01 02 07 01 2a 8d 34 01 00 fc
[1554485] -> fe 02 21 13 01 01 30
[1554490] <- fe 02 61 13 10 00 60
[1554492] -> fe 04 21 1c 01 01 00 00 39
[1554503] <- fe 12 61 1c 00 10 bc 2f 29 ca 67 df e2 9f e9 71 1f 7b 25 c2 a7 d6 a0
From the log: Network formation refused: there is too much RF interference. Make sure your coordinator is on a USB 2.0 extension cable and away from any sources of interference, like USB 3.0 ports, SSDs, 2.4GHz routers, motherboards, etc.
In other words, that channel is not the best and/or you have too much RF noise
Maybe improve the error text? Add a recommendation to change the ZB channel.
ZHA performs an energy scan when forming a new network. From the UART log (it would be much easier for you to include the ZHA debug log here, since the commands will be parsed https://www.home-assistant.io/integrations/zha/#debug-logging), the energy scan looks like this:
{
11: 120,
12: 153,
13: 167,
14: 109,
15: 83,
16: 32,
17: 0,
18: 80,
19: 0,
20: 43,
21: 25,
22: 47,
23: 76,
24: 149,
25: 14, # best channel
26: 0,
}
Initially forming a network is done by letting Z-Stack pick its own settings and channel, from channels 15, 20, or 25 (11 is avoided due to its overlap with WiFi channel 1), and then the actual channel selection is written directly to NVRAM. What's happening here is that Z-Stack refuses to form a network and times out, likely because there is just too much interference somewhere.
I'm not sure why channel 11 works here, since the energy scan clearly shows channel 11 having more noise than 15, 20, and 25.
Try adding 11
to the list here and see if that helps: https://github.com/zigpy/zigpy-znp/blob/c4db8d1151b5a999ead73480faea4ea01b7cb7d7/zigpy_znp/const.py#L28. I still consider this an environmental problem though, perhaps the RF noise is periodic and wasn't picked up during the application-initiated energy scan, but instead during the Z-Stack internal energy scan.
Thanks, I've enabled logging. ZHA selected channel 20 but won't start again. I will experiment with the channels, it seems to me that the network does not start on channels greater than 11 or something like that, so it may be a zb firmware problem
2023-05-30 18:04:02.203 DEBUG (MainThread) [zigpy_znp.uart] Connecting to socket://192.168.0.125:6638 at 115200 baud
2023-05-30 18:04:02.209 DEBUG (MainThread) [zigpy_znp.uart] Opened socket://192.168.0.125:6638 serial port
2023-05-30 18:04:02.211 DEBUG (MainThread) [zigpy_znp.uart] Connected to socket://192.168.0.125:6638 at 115200 baud
2023-05-30 18:04:02.212 DEBUG (MainThread) [zigpy_znp.api] Toggling RTS/DTR pins to skip bootloader or reset chip
2023-05-30 18:04:02.665 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.Ping.Req()
2023-05-30 18:04:02.676 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.Ping.Rsp(Capabilities=<MTCapabilities.APP_CNF|GP|UTIL|ZDO|AF|SYS: 1625>)
2023-05-30 18:04:02.680 DEBUG (MainThread) [zigpy_znp.api] Radio is alive: SYS.Ping.Rsp(Capabilities=<MTCapabilities.APP_CNF|GP|UTIL|ZDO|AF|SYS: 1625>)
2023-05-30 18:04:02.681 DEBUG (MainThread) [zigpy_znp.nvram] Detecting struct alignment
2023-05-30 18:04:02.682 DEBUG (MainThread) [zigpy_znp.api] Sending request: UTIL.AssocFindDevice.Req(Index=0)
2023-05-30 18:04:02.694 DEBUG (MainThread) [zigpy_znp.api] Received command: UTIL.AssocFindDevice.Rsp(Device=b'\xFE\xFF\x02\x10\x08\x01\x00\x20\x00\x00\x00\x00\x28\xFE\x00\x20\x63\xDF\x02\x10\x20\x00\x00\x00\x3B\xC0\x02\x10\x00\x00\x00\x00\x11\xC9\x01\x00')
2023-05-30 18:04:02.698 DEBUG (MainThread) [zigpy_znp.nvram] Detected struct alignment: True
2023-05-30 18:04:02.699 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.NVLength.Req(SysId=<NvSysIds.ZSTACK: 1>, ItemId=<ExNvIds.TCLK_TABLE: 4>, SubId=0)
2023-05-30 18:04:02.714 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.NVLength.Rsp(Length=20)
2023-05-30 18:04:02.718 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.NVRead.Req(SysId=<NvSysIds.ZSTACK: 1>, ItemId=<ExNvIds.TCLK_TABLE: 4>, SubId=0, Offset=0, Length=20)
2023-05-30 18:04:02.735 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.NVRead.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\x1E\x32\x00\x00\x00\x00\x00\x00\x0B\x32\x65\x75\xDF\x38\xC1\xA4\x02\x00\x01\x00')
2023-05-30 18:04:02.739 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM[NvSysIds.ZSTACK][ExNvIds.TCLK_TABLE][0x0000] = b'\x1E\x32\x00\x00\x00\x00\x00\x00\x0B\x32\x65\x75\xDF\x38\xC1\xA4\x02\x00\x01\x00'
2023-05-30 18:04:02.739 DEBUG (MainThread) [zigpy_znp.api] Detected Z-Stack 3.3
2023-05-30 18:04:02.739 DEBUG (MainThread) [zigpy_znp.api] Connected to socket://192.168.0.125:6638
2023-05-30 18:04:02.741 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.ResetReq.Req(Type=<ResetType.Soft: 1>)
2023-05-30 18:04:02.747 DEBUG (MainThread) [zigpy_znp.api] Request has no response, not waiting for one.
2023-05-30 18:04:02.748 DEBUG (MainThread) [zigpy_znp.uart] Closing serial port
2023-05-30 18:04:02.772 DEBUG (MainThread) [zigpy.appdb] Current database version is v11 (table version v11)
2023-05-30 18:04:02.774 DEBUG (MainThread) [zigpy.appdb] Loading application state
2023-05-30 18:04:02.787 DEBUG (MainThread) [zigpy.quirks.registry] Checking quirks for None None (00:12:4b:00:26:d1:28:09)
2023-05-30 18:04:02.798 DEBUG (MainThread) [zigpy.backups] Adding a new backup NetworkBackup(backup_time=datetime.datetime(2023, 5, 30, 14, 5, 19, 431569, tzinfo=datetime.timezone.utc), network_info=NetworkInfo(extended_pan_id=a6:f5:9e:02:db:e6:c1:65, pan_id=0x2F00, nwk_update_id=0, nwk_manager_id=0x0000, channel=11, channel_mask=<Channels.CHANNEL_11: 2048>, security_level=5, network_key=Key(key=bd:a7:b8:96:12:a3:44:fc:1c:67:32:0c:a6:55:82:c4, tx_counter=1250, rx_counter=0, seq=0, partner_ieee=00:12:4b:00:26:d1:28:09), tc_link_key=Key(key=5a:69:67:42:65:65:41:6c:6c:69:61:6e:63:65:30:39, tx_counter=0, rx_counter=0, seq=0, partner_ieee=00:12:4b:00:26:d1:28:09), key_table=[], children=[], nwk_addresses={}, stack_specific={'zstack': {'tclk_seed': 'a44c406d5e758a1d86d97dad11db4cc9'}}, metadata={'zstack': {'TransportRev': 2, 'ProductId': 1, 'MajorRel': 2, 'MinorRel': 7, 'MaintRel': 1, 'CodeRevision': 20221226, 'BootloaderBuildType': 0, 'BootloaderRevision': None}}, source='zigpy-znp@0.11.1'), node_info=NodeInfo(nwk=0x0000, ieee=00:12:4b:00:26:d1:28:09, logical_type=<LogicalType.Coordinator: 0>))
2023-05-30 18:04:02.800 DEBUG (MainThread) [zigpy.backups] Adding a new backup NetworkBackup(backup_time=datetime.datetime(2023, 5, 30, 14, 14, 43, 326611, tzinfo=datetime.timezone.utc), network_info=NetworkInfo(extended_pan_id=98:5e:65:ce:4b:af:d6:ea, pan_id=0x5484, nwk_update_id=0, nwk_manager_id=0x0000, channel=11, channel_mask=<Channels.CHANNEL_11: 2048>, security_level=5, network_key=Key(key=c8:49:27:8d:47:aa:ba:e4:59:47:e2:da:c8:47:6e:16, tx_counter=1250, rx_counter=0, seq=0, partner_ieee=00:12:4b:00:26:d1:28:09), tc_link_key=Key(key=5a:69:67:42:65:65:41:6c:6c:69:61:6e:63:65:30:39, tx_counter=0, rx_counter=0, seq=0, partner_ieee=00:12:4b:00:26:d1:28:09), key_table=[], children=[], nwk_addresses={}, stack_specific={'zstack': {'tclk_seed': 'bc2f29ca67dfe29fe9711f7b25c2a7d6'}}, metadata={'zstack': {'TransportRev': 2, 'ProductId': 1, 'MajorRel': 2, 'MinorRel': 7, 'MaintRel': 1, 'CodeRevision': 20221226, 'BootloaderBuildType': 0, 'BootloaderRevision': None}}, source='zigpy-znp@0.11.1'), node_info=NodeInfo(nwk=0x0000, ieee=00:12:4b:00:26:d1:28:09, logical_type=<LogicalType.Coordinator: 0>))
2023-05-30 18:04:02.801 DEBUG (MainThread) [zigpy_znp.uart] Connecting to socket://192.168.0.125:6638 at 115200 baud
2023-05-30 18:04:02.804 DEBUG (MainThread) [zigpy_znp.uart] Opened socket://192.168.0.125:6638 serial port
2023-05-30 18:04:02.805 DEBUG (MainThread) [zigpy_znp.uart] Connected to socket://192.168.0.125:6638 at 115200 baud
2023-05-30 18:04:02.805 DEBUG (MainThread) [zigpy_znp.api] Toggling RTS/DTR pins to skip bootloader or reset chip
2023-05-30 18:04:03.257 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.Ping.Req()
2023-05-30 18:04:03.758 DEBUG (MainThread) [zigpy_znp.api] Sending CC253x bootloader skip bytes
2023-05-30 18:04:05.754 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.ResetInd.Callback(Reason=<ResetReason.PowerUp: 0>, TransportRev=2, ProductId=1, MajorRel=2, MinorRel=7, MaintRel=1)
2023-05-30 18:04:05.756 DEBUG (MainThread) [zigpy_znp.api] Radio is alive: SYS.ResetInd.Callback(Reason=<ResetReason.PowerUp: 0>, TransportRev=2, ProductId=1, MajorRel=2, MinorRel=7, MaintRel=1)
2023-05-30 18:04:05.756 DEBUG (MainThread) [zigpy_znp.api] Giving ping task 0.50s to finish
2023-05-30 18:04:06.258 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.Ping.Req()
2023-05-30 18:04:06.263 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.Ping.Rsp(Capabilities=<MTCapabilities.APP_CNF|GP|UTIL|ZDO|AF|SYS: 1625>)
2023-05-30 18:04:06.264 DEBUG (MainThread) [zigpy_znp.nvram] Detecting struct alignment
2023-05-30 18:04:06.264 DEBUG (MainThread) [zigpy_znp.api] Sending request: UTIL.AssocFindDevice.Req(Index=0)
2023-05-30 18:04:06.275 DEBUG (MainThread) [zigpy_znp.api] Received command: UTIL.AssocFindDevice.Rsp(Device=b'\xFE\xFF\x02\x10\x08\x01\x00\x20\x00\x00\x00\x00\x28\xFE\x00\x20\x63\xDF\x02\x10\x20\x00\x00\x00\x3B\xC0\x02\x10\x00\x00\x00\x00\x11\xC9\x01\x00')
2023-05-30 18:04:06.275 DEBUG (MainThread) [zigpy_znp.nvram] Detected struct alignment: True
2023-05-30 18:04:06.276 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.NVLength.Req(SysId=<NvSysIds.ZSTACK: 1>, ItemId=<ExNvIds.TCLK_TABLE: 4>, SubId=0)
2023-05-30 18:04:06.283 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.NVLength.Rsp(Length=20)
2023-05-30 18:04:06.284 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.NVRead.Req(SysId=<NvSysIds.ZSTACK: 1>, ItemId=<ExNvIds.TCLK_TABLE: 4>, SubId=0, Offset=0, Length=20)
2023-05-30 18:04:06.295 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.NVRead.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\x29\x32\x00\x00\x00\x00\x00\x00\x0B\x32\x65\x75\xDF\x38\xC1\xA4\x02\x00\x01\x00')
2023-05-30 18:04:06.295 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM[NvSysIds.ZSTACK][ExNvIds.TCLK_TABLE][0x0000] = b'\x29\x32\x00\x00\x00\x00\x00\x00\x0B\x32\x65\x75\xDF\x38\xC1\xA4\x02\x00\x01\x00'
2023-05-30 18:04:06.295 DEBUG (MainThread) [zigpy_znp.api] Detected Z-Stack 3.3
2023-05-30 18:04:06.296 DEBUG (MainThread) [zigpy_znp.api] Connected to socket://192.168.0.125:6638
2023-05-30 18:04:06.304 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.NIB: 33>)
2023-05-30 18:04:06.314 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=116)
2023-05-30 18:04:06.317 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVReadExt.Req(Id=<OsalNvIds.NIB: 33>, Offset=0)
2023-05-30 18:04:06.346 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVReadExt.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\x6B\x05\x02\x65\x0F\x65\x00\x1E\x00\x00\x00\x01\x05\x01\x8F\x00\x07\x00\x02\x0D\x02\x00\x00\x00\x0B\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x62\x1A\x08\x00\x00\x08\x00\x00\x0F\x0F\x04\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x09\x28\xD1\x26\x00\x4B\x12\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0F\x05\x00\x01\x3C\x0A\x01\x00\x00\x00\x1E\x00\x00\x00')
2023-05-30 18:04:06.351 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM["LEGACY"][0x0021] = NIB(SequenceNum=107, PassiveAckTimeout=5, MaxBroadcastRetries=2, MaxChildren=101, MaxDepth=15, MaxRouters=101, dummyNeighborTable=0, BroadcastDeliveryTime=30, ReportConstantCost=0, RouteDiscRetries=0, dummyRoutingTable=0, SecureAllFrames=1, SecurityLevel=5, SymLink=1, CapabilityFlags=143, TransactionPersistenceTime=7, nwkProtocolVersion=2, RouteDiscoveryTime=13, RouteExpiryTime=2, nwkDevAddress=0x0000, nwkLogicalChannel=11, nwkCoordAddress=0x0000, nwkCoordExtAddress=00:00:00:00:00:00:00:00, nwkPanId=6754, nwkState=<NwkState.NWK_ROUTER: 8>, channelList=<Channels.CHANNEL_11: 2048>, beaconOrder=15, superFrameOrder=15, scanDuration=4, battLifeExt=0, allocatedRouterAddresses=1, allocatedEndDeviceAddresses=1, nodeDepth=0, extendedPANID=00:12:4b:00:26:d1:28:09, nwkKeyLoaded=<Bool.true: 1>, spare1=NwkKeyDesc(KeySeqNum=0, Key=00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00), spare2=NwkKeyDesc(KeySeqNum=0, Key=00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00), spare3=0, spare4=0, nwkLinkStatusPeriod=15, nwkRouterAgeLimit=5, nwkUseMultiCast=<Bool.false: 0>, nwkIsConcentrator=<Bool.true: 1>, nwkConcentratorDiscoveryTime=60, nwkConcentratorRadius=10, nwkAllFresh=1, nwkManagerAddr=0x0000, nwkTotalTransmissions=30, nwkUpdateId=0)
2023-05-30 18:04:06.352 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.BDBNODEISONANETWORK: 85>)
2023-05-30 18:04:06.361 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=1)
2023-05-30 18:04:06.362 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVReadExt.Req(Id=<OsalNvIds.BDBNODEISONANETWORK: 85>, Offset=0)
2023-05-30 18:04:06.372 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVReadExt.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\x01')
2023-05-30 18:04:06.373 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM["LEGACY"][0x0055] = 1
2023-05-30 18:04:06.373 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.EXTADDR: 1>)
2023-05-30 18:04:06.382 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=8)
2023-05-30 18:04:06.383 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVReadExt.Req(Id=<OsalNvIds.EXTADDR: 1>, Offset=0)
2023-05-30 18:04:06.394 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVReadExt.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\x09\x28\xD1\x26\x00\x4B\x12\x00')
2023-05-30 18:04:06.396 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM["LEGACY"][0x0001] = 00:12:4b:00:26:d1:28:09
2023-05-30 18:04:06.396 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.LOGICAL_TYPE: 135>)
2023-05-30 18:04:06.407 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=1)
2023-05-30 18:04:06.408 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVReadExt.Req(Id=<OsalNvIds.LOGICAL_TYPE: 135>, Offset=0)
2023-05-30 18:04:06.426 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVReadExt.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\x00')
2023-05-30 18:04:06.427 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM["LEGACY"][0x0087] = <DeviceLogicalType.Coordinator: 0>
2023-05-30 18:04:06.427 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.NWK_ACTIVE_KEY_INFO: 58>)
2023-05-30 18:04:06.435 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=17)
2023-05-30 18:04:06.436 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVReadExt.Req(Id=<OsalNvIds.NWK_ACTIVE_KEY_INFO: 58>, Offset=0)
2023-05-30 18:04:06.449 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVReadExt.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\x00\x01\x03\x05\x07\x09\x0B\x0D\x0F\x00\x02\x04\x06\x08\x0A\x0C\x0D')
2023-05-30 18:04:06.449 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM["LEGACY"][0x003a] = NwkKeyDesc(KeySeqNum=0, Key=01:03:05:07:09:0b:0d:0f:00:02:04:06:08:0a:0c:0d)
2023-05-30 18:04:06.450 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.NVLength.Req(SysId=<NvSysIds.ZSTACK: 1>, ItemId=<ExNvIds.NWK_SEC_MATERIAL_TABLE: 7>, SubId=0)
2023-05-30 18:04:06.460 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.NVLength.Rsp(Length=12)
2023-05-30 18:04:06.461 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.NVRead.Req(SysId=<NvSysIds.ZSTACK: 1>, ItemId=<ExNvIds.NWK_SEC_MATERIAL_TABLE: 7>, SubId=0, Offset=0, Length=12)
2023-05-30 18:04:06.474 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.NVRead.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\x44\x7A\x02\x00\x09\x28\xD1\x26\x00\x4B\x12\x00')
2023-05-30 18:04:06.475 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM[NvSysIds.ZSTACK][ExNvIds.NWK_SEC_MATERIAL_TABLE][0x0000] = NwkSecMaterialDesc(FrameCounter=162372, ExtendedPanID=00:12:4b:00:26:d1:28:09)
2023-05-30 18:04:06.476 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.Version.Req()
2023-05-30 18:04:06.484 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.Version.Rsp(TransportRev=2, ProductId=1, MajorRel=2, MinorRel=7, MaintRel=1, CodeRevision=20221226, BootloaderBuildType=<BootloaderBuildType.NON_BOOTLOADER_BUILD: 0>, BootloaderRevision=None)
2023-05-30 18:04:06.490 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.TCLK_SEED: 257>)
2023-05-30 18:04:06.499 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=16)
2023-05-30 18:04:06.500 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVReadExt.Req(Id=<OsalNvIds.TCLK_SEED: 257>, Offset=0)
2023-05-30 18:04:06.512 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVReadExt.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\xF3\xA8\xBA\xF8\x6F\x2C\xD7\x1C\x88\xE2\xD2\xD9\x48\xC2\xE1\xFF')
2023-05-30 18:04:06.513 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM["LEGACY"][0x0101] = f3:a8:ba:f8:6f:2c:d7:1c:88:e2:d2:d9:48:c2:e1:ff
2023-05-30 18:04:06.513 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.ResetReq.Req(Type=<ResetType.Soft: 1>)
2023-05-30 18:04:06.514 DEBUG (MainThread) [zigpy_znp.api] Request has no response, not waiting for one.
2023-05-30 18:04:06.514 DEBUG (MainThread) [zigpy_znp.uart] Closing serial port
2023-05-30 18:04:10.229 DEBUG (MainThread) [zigpy.appdb] Current database version is v11 (table version v11)
2023-05-30 18:04:10.235 DEBUG (MainThread) [zigpy.appdb] Loading application state
2023-05-30 18:04:10.267 DEBUG (MainThread) [zigpy.quirks.registry] Checking quirks for None None (00:12:4b:00:26:d1:28:09)
2023-05-30 18:04:10.292 DEBUG (MainThread) [zigpy.backups] Adding a new backup NetworkBackup(backup_time=datetime.datetime(2023, 5, 30, 14, 5, 19, 431569, tzinfo=datetime.timezone.utc), network_info=NetworkInfo(extended_pan_id=a6:f5:9e:02:db:e6:c1:65, pan_id=0x2F00, nwk_update_id=0, nwk_manager_id=0x0000, channel=11, channel_mask=<Channels.CHANNEL_11: 2048>, security_level=5, network_key=Key(key=bd:a7:b8:96:12:a3:44:fc:1c:67:32:0c:a6:55:82:c4, tx_counter=1250, rx_counter=0, seq=0, partner_ieee=00:12:4b:00:26:d1:28:09), tc_link_key=Key(key=5a:69:67:42:65:65:41:6c:6c:69:61:6e:63:65:30:39, tx_counter=0, rx_counter=0, seq=0, partner_ieee=00:12:4b:00:26:d1:28:09), key_table=[], children=[], nwk_addresses={}, stack_specific={'zstack': {'tclk_seed': 'a44c406d5e758a1d86d97dad11db4cc9'}}, metadata={'zstack': {'TransportRev': 2, 'ProductId': 1, 'MajorRel': 2, 'MinorRel': 7, 'MaintRel': 1, 'CodeRevision': 20221226, 'BootloaderBuildType': 0, 'BootloaderRevision': None}}, source='zigpy-znp@0.11.1'), node_info=NodeInfo(nwk=0x0000, ieee=00:12:4b:00:26:d1:28:09, logical_type=<LogicalType.Coordinator: 0>))
2023-05-30 18:04:10.292 DEBUG (MainThread) [zigpy.backups] Adding a new backup NetworkBackup(backup_time=datetime.datetime(2023, 5, 30, 14, 14, 43, 326611, tzinfo=datetime.timezone.utc), network_info=NetworkInfo(extended_pan_id=98:5e:65:ce:4b:af:d6:ea, pan_id=0x5484, nwk_update_id=0, nwk_manager_id=0x0000, channel=11, channel_mask=<Channels.CHANNEL_11: 2048>, security_level=5, network_key=Key(key=c8:49:27:8d:47:aa:ba:e4:59:47:e2:da:c8:47:6e:16, tx_counter=1250, rx_counter=0, seq=0, partner_ieee=00:12:4b:00:26:d1:28:09), tc_link_key=Key(key=5a:69:67:42:65:65:41:6c:6c:69:61:6e:63:65:30:39, tx_counter=0, rx_counter=0, seq=0, partner_ieee=00:12:4b:00:26:d1:28:09), key_table=[], children=[], nwk_addresses={}, stack_specific={'zstack': {'tclk_seed': 'bc2f29ca67dfe29fe9711f7b25c2a7d6'}}, metadata={'zstack': {'TransportRev': 2, 'ProductId': 1, 'MajorRel': 2, 'MinorRel': 7, 'MaintRel': 1, 'CodeRevision': 20221226, 'BootloaderBuildType': 0, 'BootloaderRevision': None}}, source='zigpy-znp@0.11.1'), node_info=NodeInfo(nwk=0x0000, ieee=00:12:4b:00:26:d1:28:09, logical_type=<LogicalType.Coordinator: 0>))
2023-05-30 18:04:10.293 DEBUG (MainThread) [zigpy_znp.uart] Connecting to socket://192.168.0.125:6638 at 115200 baud
2023-05-30 18:04:10.299 DEBUG (MainThread) [zigpy_znp.uart] Opened socket://192.168.0.125:6638 serial port
2023-05-30 18:04:10.299 DEBUG (MainThread) [zigpy_znp.uart] Connected to socket://192.168.0.125:6638 at 115200 baud
2023-05-30 18:04:10.300 DEBUG (MainThread) [zigpy_znp.api] Toggling RTS/DTR pins to skip bootloader or reset chip
2023-05-30 18:04:10.754 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.Ping.Req()
2023-05-30 18:04:10.763 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.Ping.Rsp(Capabilities=<MTCapabilities.APP_CNF|GP|UTIL|ZDO|AF|SYS: 1625>)
2023-05-30 18:04:10.765 DEBUG (MainThread) [zigpy_znp.api] Radio is alive: SYS.Ping.Rsp(Capabilities=<MTCapabilities.APP_CNF|GP|UTIL|ZDO|AF|SYS: 1625>)
2023-05-30 18:04:10.765 DEBUG (MainThread) [zigpy_znp.nvram] Detecting struct alignment
2023-05-30 18:04:10.766 DEBUG (MainThread) [zigpy_znp.api] Sending request: UTIL.AssocFindDevice.Req(Index=0)
2023-05-30 18:04:10.776 DEBUG (MainThread) [zigpy_znp.api] Received command: UTIL.AssocFindDevice.Rsp(Device=b'\xFE\xFF\x02\x10\x08\x01\x00\x20\x00\x00\x00\x00\x28\xFE\x00\x20\x63\xDF\x02\x10\x20\x00\x00\x00\x3B\xC0\x02\x10\x00\x00\x00\x00\x11\xC9\x01\x00')
2023-05-30 18:04:10.777 DEBUG (MainThread) [zigpy_znp.nvram] Detected struct alignment: True
2023-05-30 18:04:10.777 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.NVLength.Req(SysId=<NvSysIds.ZSTACK: 1>, ItemId=<ExNvIds.TCLK_TABLE: 4>, SubId=0)
2023-05-30 18:04:10.790 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.NVLength.Rsp(Length=20)
2023-05-30 18:04:10.791 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.NVRead.Req(SysId=<NvSysIds.ZSTACK: 1>, ItemId=<ExNvIds.TCLK_TABLE: 4>, SubId=0, Offset=0, Length=20)
2023-05-30 18:04:10.805 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.NVRead.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\x34\x32\x00\x00\x00\x00\x00\x00\x0B\x32\x65\x75\xDF\x38\xC1\xA4\x02\x00\x01\x00')
2023-05-30 18:04:10.806 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM[NvSysIds.ZSTACK][ExNvIds.TCLK_TABLE][0x0000] = b'\x34\x32\x00\x00\x00\x00\x00\x00\x0B\x32\x65\x75\xDF\x38\xC1\xA4\x02\x00\x01\x00'
2023-05-30 18:04:10.807 DEBUG (MainThread) [zigpy_znp.api] Detected Z-Stack 3.3
2023-05-30 18:04:10.807 DEBUG (MainThread) [zigpy_znp.api] Connected to socket://192.168.0.125:6638
2023-05-30 18:04:10.809 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.NIB: 33>)
2023-05-30 18:04:10.816 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=116)
2023-05-30 18:04:10.817 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVReadExt.Req(Id=<OsalNvIds.NIB: 33>, Offset=0)
2023-05-30 18:04:10.837 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVReadExt.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\x6B\x05\x02\x65\x0F\x65\x00\x1E\x00\x00\x00\x01\x05\x01\x8F\x00\x07\x00\x02\x0D\x02\x00\x00\x00\x0B\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x62\x1A\x08\x00\x00\x08\x00\x00\x0F\x0F\x04\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x09\x28\xD1\x26\x00\x4B\x12\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0F\x05\x00\x01\x3C\x0A\x01\x00\x00\x00\x1E\x00\x00\x00')
2023-05-30 18:04:10.846 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM["LEGACY"][0x0021] = NIB(SequenceNum=107, PassiveAckTimeout=5, MaxBroadcastRetries=2, MaxChildren=101, MaxDepth=15, MaxRouters=101, dummyNeighborTable=0, BroadcastDeliveryTime=30, ReportConstantCost=0, RouteDiscRetries=0, dummyRoutingTable=0, SecureAllFrames=1, SecurityLevel=5, SymLink=1, CapabilityFlags=143, TransactionPersistenceTime=7, nwkProtocolVersion=2, RouteDiscoveryTime=13, RouteExpiryTime=2, nwkDevAddress=0x0000, nwkLogicalChannel=11, nwkCoordAddress=0x0000, nwkCoordExtAddress=00:00:00:00:00:00:00:00, nwkPanId=6754, nwkState=<NwkState.NWK_ROUTER: 8>, channelList=<Channels.CHANNEL_11: 2048>, beaconOrder=15, superFrameOrder=15, scanDuration=4, battLifeExt=0, allocatedRouterAddresses=1, allocatedEndDeviceAddresses=1, nodeDepth=0, extendedPANID=00:12:4b:00:26:d1:28:09, nwkKeyLoaded=<Bool.true: 1>, spare1=NwkKeyDesc(KeySeqNum=0, Key=00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00), spare2=NwkKeyDesc(KeySeqNum=0, Key=00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00), spare3=0, spare4=0, nwkLinkStatusPeriod=15, nwkRouterAgeLimit=5, nwkUseMultiCast=<Bool.false: 0>, nwkIsConcentrator=<Bool.true: 1>, nwkConcentratorDiscoveryTime=60, nwkConcentratorRadius=10, nwkAllFresh=1, nwkManagerAddr=0x0000, nwkTotalTransmissions=30, nwkUpdateId=0)
2023-05-30 18:04:10.848 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.BDBNODEISONANETWORK: 85>)
2023-05-30 18:04:10.862 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=1)
2023-05-30 18:04:10.863 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVReadExt.Req(Id=<OsalNvIds.BDBNODEISONANETWORK: 85>, Offset=0)
2023-05-30 18:04:10.881 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVReadExt.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\x01')
2023-05-30 18:04:10.882 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM["LEGACY"][0x0055] = 1
2023-05-30 18:04:10.883 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.EXTADDR: 1>)
2023-05-30 18:04:10.896 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=8)
2023-05-30 18:04:10.897 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVReadExt.Req(Id=<OsalNvIds.EXTADDR: 1>, Offset=0)
2023-05-30 18:04:10.916 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVReadExt.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\x09\x28\xD1\x26\x00\x4B\x12\x00')
2023-05-30 18:04:10.917 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM["LEGACY"][0x0001] = 00:12:4b:00:26:d1:28:09
2023-05-30 18:04:10.917 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.LOGICAL_TYPE: 135>)
2023-05-30 18:04:10.927 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=1)
2023-05-30 18:04:10.928 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVReadExt.Req(Id=<OsalNvIds.LOGICAL_TYPE: 135>, Offset=0)
2023-05-30 18:04:10.940 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVReadExt.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\x00')
2023-05-30 18:04:10.941 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM["LEGACY"][0x0087] = <DeviceLogicalType.Coordinator: 0>
2023-05-30 18:04:10.942 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.NWK_ACTIVE_KEY_INFO: 58>)
2023-05-30 18:04:10.953 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=17)
2023-05-30 18:04:10.955 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVReadExt.Req(Id=<OsalNvIds.NWK_ACTIVE_KEY_INFO: 58>, Offset=0)
2023-05-30 18:04:10.975 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVReadExt.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\x00\x01\x03\x05\x07\x09\x0B\x0D\x0F\x00\x02\x04\x06\x08\x0A\x0C\x0D')
2023-05-30 18:04:10.977 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM["LEGACY"][0x003a] = NwkKeyDesc(KeySeqNum=0, Key=01:03:05:07:09:0b:0d:0f:00:02:04:06:08:0a:0c:0d)
2023-05-30 18:04:10.977 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.NVLength.Req(SysId=<NvSysIds.ZSTACK: 1>, ItemId=<ExNvIds.NWK_SEC_MATERIAL_TABLE: 7>, SubId=0)
2023-05-30 18:04:10.986 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.NVLength.Rsp(Length=12)
2023-05-30 18:04:10.987 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.NVRead.Req(SysId=<NvSysIds.ZSTACK: 1>, ItemId=<ExNvIds.NWK_SEC_MATERIAL_TABLE: 7>, SubId=0, Offset=0, Length=12)
2023-05-30 18:04:10.997 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.NVRead.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\x44\x7A\x02\x00\x09\x28\xD1\x26\x00\x4B\x12\x00')
2023-05-30 18:04:10.998 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM[NvSysIds.ZSTACK][ExNvIds.NWK_SEC_MATERIAL_TABLE][0x0000] = NwkSecMaterialDesc(FrameCounter=162372, ExtendedPanID=00:12:4b:00:26:d1:28:09)
2023-05-30 18:04:11.001 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.Version.Req()
2023-05-30 18:04:11.009 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.Version.Rsp(TransportRev=2, ProductId=1, MajorRel=2, MinorRel=7, MaintRel=1, CodeRevision=20221226, BootloaderBuildType=<BootloaderBuildType.NON_BOOTLOADER_BUILD: 0>, BootloaderRevision=None)
2023-05-30 18:04:11.015 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.TCLK_SEED: 257>)
2023-05-30 18:04:11.028 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=16)
2023-05-30 18:04:11.029 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVReadExt.Req(Id=<OsalNvIds.TCLK_SEED: 257>, Offset=0)
2023-05-30 18:04:11.050 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVReadExt.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\xF3\xA8\xBA\xF8\x6F\x2C\xD7\x1C\x88\xE2\xD2\xD9\x48\xC2\xE1\xFF')
2023-05-30 18:04:11.051 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM["LEGACY"][0x0101] = f3:a8:ba:f8:6f:2c:d7:1c:88:e2:d2:d9:48:c2:e1:ff
2023-05-30 18:04:11.052 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.ZIGPY_ZNP_MIGRATION_ID: 95>)
2023-05-30 18:04:11.061 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=1)
2023-05-30 18:04:11.062 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVReadExt.Req(Id=<OsalNvIds.ZIGPY_ZNP_MIGRATION_ID: 95>, Offset=0)
2023-05-30 18:04:11.076 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVReadExt.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\x01')
2023-05-30 18:04:11.077 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM["LEGACY"][0x005f] = 1
2023-05-30 18:04:11.077 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.LOGICAL_TYPE: 135>)
2023-05-30 18:04:11.088 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=1)
2023-05-30 18:04:11.089 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVReadExt.Req(Id=<OsalNvIds.LOGICAL_TYPE: 135>, Offset=0)
2023-05-30 18:04:11.103 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVReadExt.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\x00')
2023-05-30 18:04:11.104 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM["LEGACY"][0x0087] = 0
2023-05-30 18:04:11.104 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.CONCENTRATOR_ENABLE: 50>)
2023-05-30 18:04:11.112 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=1)
2023-05-30 18:04:11.114 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVReadExt.Req(Id=<OsalNvIds.CONCENTRATOR_ENABLE: 50>, Offset=0)
2023-05-30 18:04:11.128 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVReadExt.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\x01')
2023-05-30 18:04:11.129 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM["LEGACY"][0x0032] = <Bool.true: 1>
2023-05-30 18:04:11.130 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.CONCENTRATOR_DISCOVERY: 51>)
2023-05-30 18:04:11.141 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=1)
2023-05-30 18:04:11.142 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVReadExt.Req(Id=<OsalNvIds.CONCENTRATOR_DISCOVERY: 51>, Offset=0)
2023-05-30 18:04:11.156 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVReadExt.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\x3C')
2023-05-30 18:04:11.157 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM["LEGACY"][0x0033] = 60
2023-05-30 18:04:11.157 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.CONCENTRATOR_DISCOVERY: 51>)
2023-05-30 18:04:11.166 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=1)
2023-05-30 18:04:11.167 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVWriteExt.Req(Id=<OsalNvIds.CONCENTRATOR_DISCOVERY: 51>, Offset=0, Value=b'\x78')
2023-05-30 18:04:11.182 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVWriteExt.Rsp(Status=<Status.SUCCESS: 0>)
2023-05-30 18:04:11.185 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.CONCENTRATOR_RC: 54>)
2023-05-30 18:04:11.195 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=1)
2023-05-30 18:04:11.196 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVReadExt.Req(Id=<OsalNvIds.CONCENTRATOR_RC: 54>, Offset=0)
2023-05-30 18:04:11.209 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVReadExt.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\x01')
2023-05-30 18:04:11.210 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM["LEGACY"][0x0036] = <Bool.true: 1>
2023-05-30 18:04:11.211 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.SRC_RTG_EXPIRY_TIME: 56>)
2023-05-30 18:04:11.219 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=1)
2023-05-30 18:04:11.220 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVReadExt.Req(Id=<OsalNvIds.SRC_RTG_EXPIRY_TIME: 56>, Offset=0)
2023-05-30 18:04:11.233 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVReadExt.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\x02')
2023-05-30 18:04:11.234 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM["LEGACY"][0x0038] = 2
2023-05-30 18:04:11.235 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.SRC_RTG_EXPIRY_TIME: 56>)
2023-05-30 18:04:11.243 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=1)
2023-05-30 18:04:11.244 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVWriteExt.Req(Id=<OsalNvIds.SRC_RTG_EXPIRY_TIME: 56>, Offset=0, Value=b'\xFF')
2023-05-30 18:04:11.256 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVWriteExt.Rsp(Status=<Status.SUCCESS: 0>)
2023-05-30 18:04:11.257 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.NWK_CHILD_AGE_ENABLE: 62>)
2023-05-30 18:04:11.265 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=1)
2023-05-30 18:04:11.266 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVReadExt.Req(Id=<OsalNvIds.NWK_CHILD_AGE_ENABLE: 62>, Offset=0)
2023-05-30 18:04:11.278 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVReadExt.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\x00')
2023-05-30 18:04:11.279 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM["LEGACY"][0x003e] = <Bool.false: 0>
2023-05-30 18:04:11.279 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.BCAST_DELIVERY_TIME: 48>)
2023-05-30 18:04:11.290 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=1)
2023-05-30 18:04:11.291 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVReadExt.Req(Id=<OsalNvIds.BCAST_DELIVERY_TIME: 48>, Offset=0)
2023-05-30 18:04:11.303 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVReadExt.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\x1E')
2023-05-30 18:04:11.304 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM["LEGACY"][0x0030] = 30
2023-05-30 18:04:11.304 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.ZDO_DIRECT_CB: 143>)
2023-05-30 18:04:11.313 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=1)
2023-05-30 18:04:11.314 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVReadExt.Req(Id=<OsalNvIds.ZDO_DIRECT_CB: 143>, Offset=0)
2023-05-30 18:04:11.326 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVReadExt.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\x01')
2023-05-30 18:04:11.327 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM["LEGACY"][0x008f] = <Bool.true: 1>
2023-05-30 18:04:11.327 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.ResetReq.Req(Type=<ResetType.Soft: 1>)
2023-05-30 18:04:11.328 DEBUG (MainThread) [zigpy_znp.api] Request has no response, not waiting for one.
2023-05-30 18:04:13.885 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.ResetInd.Callback(Reason=<ResetReason.PowerUp: 0>, TransportRev=2, ProductId=1, MajorRel=2, MinorRel=7, MaintRel=1)
2023-05-30 18:04:13.887 DEBUG (MainThread) [zigpy_znp.api] Sending request: AppConfig.BDBStartCommissioning.Req(Mode=<BDBCommissioningMode.NwkFormation: 4>)
2023-05-30 18:04:17.331 DEBUG (MainThread) [zigpy_znp.api] Received command: AppConfig.BDBStartCommissioning.Rsp(Status=<Status.SUCCESS: 0>)
2023-05-30 18:04:17.336 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.StateChangeInd.Callback(State=<DeviceState.StartedAsCoordinator: 9>)
2023-05-30 18:04:17.340 DEBUG (MainThread) [zigpy_znp.api] Received command: AppConfig.BDBCommissioningNotification.Callback(Status=<BDBCommissioningStatus.NetworkRestored: 13>, Mode=<BDBCommissioningMode.NONE: 0>, RemainingModes=<BDBCommissioningMode.NwkFormation: 4>)
2023-05-30 18:04:17.343 DEBUG (MainThread) [zigpy_znp.api] Command was not handled
2023-05-30 18:04:17.532 DEBUG (MainThread) [zigpy_znp.api] Received command: AppConfig.BDBCommissioningNotification.Callback(Status=<BDBCommissioningStatus.FormationFailure: 8>, Mode=<BDBCommissioningMode.NwkSteering: 2>, RemainingModes=<BDBCommissioningMode.NONE: 0>)
2023-05-30 18:04:17.533 DEBUG (MainThread) [zigpy_znp.api] Waiting for NIB to stabilize
2023-05-30 18:04:17.534 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.NIB: 33>)
2023-05-30 18:04:17.543 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=116)
2023-05-30 18:04:17.544 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVReadExt.Req(Id=<OsalNvIds.NIB: 33>, Offset=0)
2023-05-30 18:04:17.567 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVReadExt.Rsp(Status=<Status.SUCCESS: 0>, Value=b'\x6B\x05\x02\x65\x0F\x65\x00\x1E\x00\x00\x00\x01\x05\x01\x8F\x00\x07\x00\x02\x0D\x02\x00\x00\x00\x0B\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x62\x1A\x08\x00\x00\x08\x00\x00\x0F\x0F\x04\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x09\x28\xD1\x26\x00\x4B\x12\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0F\x05\x00\x01\x3C\x0A\x01\x00\x00\x00\x1E\x00\x00\x00')
2023-05-30 18:04:17.576 DEBUG (MainThread) [zigpy_znp.nvram] Read NVRAM["LEGACY"][0x0021] = NIB(SequenceNum=107, PassiveAckTimeout=5, MaxBroadcastRetries=2, MaxChildren=101, MaxDepth=15, MaxRouters=101, dummyNeighborTable=0, BroadcastDeliveryTime=30, ReportConstantCost=0, RouteDiscRetries=0, dummyRoutingTable=0, SecureAllFrames=1, SecurityLevel=5, SymLink=1, CapabilityFlags=143, TransactionPersistenceTime=7, nwkProtocolVersion=2, RouteDiscoveryTime=13, RouteExpiryTime=2, nwkDevAddress=0x0000, nwkLogicalChannel=11, nwkCoordAddress=0x0000, nwkCoordExtAddress=00:00:00:00:00:00:00:00, nwkPanId=6754, nwkState=<NwkState.NWK_ROUTER: 8>, channelList=<Channels.CHANNEL_11: 2048>, beaconOrder=15, superFrameOrder=15, scanDuration=4, battLifeExt=0, allocatedRouterAddresses=1, allocatedEndDeviceAddresses=1, nodeDepth=0, extendedPANID=00:12:4b:00:26:d1:28:09, nwkKeyLoaded=<Bool.true: 1>, spare1=NwkKeyDesc(KeySeqNum=0, Key=00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00), spare2=NwkKeyDesc(KeySeqNum=0, Key=00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00), spare3=0, spare4=0, nwkLinkStatusPeriod=15, nwkRouterAgeLimit=5, nwkUseMultiCast=<Bool.false: 0>, nwkIsConcentrator=<Bool.true: 1>, nwkConcentratorDiscoveryTime=60, nwkConcentratorRadius=10, nwkAllFresh=1, nwkManagerAddr=0x0000, nwkTotalTransmissions=30, nwkUpdateId=0)
2023-05-30 18:04:17.576 DEBUG (MainThread) [zigpy_znp.api] Current NIB is NIB(SequenceNum=107, PassiveAckTimeout=5, MaxBroadcastRetries=2, MaxChildren=101, MaxDepth=15, MaxRouters=101, dummyNeighborTable=0, BroadcastDeliveryTime=30, ReportConstantCost=0, RouteDiscRetries=0, dummyRoutingTable=0, SecureAllFrames=1, SecurityLevel=5, SymLink=1, CapabilityFlags=143, TransactionPersistenceTime=7, nwkProtocolVersion=2, RouteDiscoveryTime=13, RouteExpiryTime=2, nwkDevAddress=0x0000, nwkLogicalChannel=11, nwkCoordAddress=0x0000, nwkCoordExtAddress=00:00:00:00:00:00:00:00, nwkPanId=6754, nwkState=<NwkState.NWK_ROUTER: 8>, channelList=<Channels.CHANNEL_11: 2048>, beaconOrder=15, superFrameOrder=15, scanDuration=4, battLifeExt=0, allocatedRouterAddresses=1, allocatedEndDeviceAddresses=1, nodeDepth=0, extendedPANID=00:12:4b:00:26:d1:28:09, nwkKeyLoaded=<Bool.true: 1>, spare1=NwkKeyDesc(KeySeqNum=0, Key=00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00), spare2=NwkKeyDesc(KeySeqNum=0, Key=00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00), spare3=0, spare4=0, nwkLinkStatusPeriod=15, nwkRouterAgeLimit=5, nwkUseMultiCast=<Bool.false: 0>, nwkIsConcentrator=<Bool.true: 1>, nwkConcentratorDiscoveryTime=60, nwkConcentratorRadius=10, nwkAllFresh=1, nwkManagerAddr=0x0000, nwkTotalTransmissions=30, nwkUpdateId=0)
2023-05-30 18:04:17.580 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.Version.Req()
2023-05-30 18:04:17.588 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.Version.Rsp(TransportRev=2, ProductId=1, MajorRel=2, MinorRel=7, MaintRel=1, CodeRevision=20221226, BootloaderBuildType=<BootloaderBuildType.NON_BOOTLOADER_BUILD: 0>, BootloaderRevision=None)
2023-05-30 18:04:17.590 DEBUG (MainThread) [zigpy_znp.api] Sending request: UTIL.LEDControl.Req(LED=255, Mode=<LEDMode.OFF: 0>)
2023-05-30 18:04:17.600 DEBUG (MainThread) [zigpy_znp.api] Received command: UTIL.LEDControl.Rsp(Status=<Status.SUCCESS: 0>)
2023-05-30 18:04:17.604 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.Register.Req(Endpoint=1, ProfileId=260, DeviceId=1024, DeviceVersion=0, LatencyReq=<LatencyReq.NoLatencyReqs: 0>, InputClusters=[0, 6, 10, 25, 1281], OutputClusters=[1, 32, 1280, 1282])
2023-05-30 18:04:17.618 ERROR (MainThread) [homeassistant] Error doing job: Task was destroyed but it is pending!
2023-05-30 18:04:17.615 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.Register.Rsp(Status=<Status.SUCCESS: 0>)
2023-05-30 18:04:17.630 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.Register.Req(Endpoint=2, ProfileId=49246, DeviceId=2080, DeviceVersion=0, LatencyReq=<LatencyReq.NoLatencyReqs: 0>, InputClusters=[0], OutputClusters=[])
2023-05-30 18:04:17.638 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.Register.Rsp(Status=<Status.SUCCESS: 0>)
2023-05-30 18:04:17.639 DEBUG (MainThread) [zigpy_znp.api] Sending request: ZDO.MsgCallbackRegister.Req(ClusterId=65535)
2023-05-30 18:04:17.647 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.MsgCallbackRegister.Rsp(Status=<Status.SUCCESS: 0>)
2023-05-30 18:04:17.651 DEBUG (MainThread) [zigpy.device] [0x0000] Scheduling initialization
2023-05-30 18:04:17.653 DEBUG (MainThread) [zigpy.util] Tries remaining: 3
2023-05-30 18:04:17.654 INFO (MainThread) [zigpy.device] [0x0000] Requesting 'Node Descriptor'
2023-05-30 18:04:17.654 DEBUG (MainThread) [zigpy.util] Tries remaining: 2
2023-05-30 18:04:17.654 DEBUG (MainThread) [zigpy.device] [0x0000] Extending timeout for 0x01 request
2023-05-30 18:04:17.655 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=True, tsn=1, profile_id=0, cluster_id=<ZDOCmd.Node_Desc_req: 0x0002>, data=Serialized[b'\x01\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2023-05-30 18:04:17.658 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=1, profile_id=0, cluster_id=<ZDOCmd.Node_Desc_req: 0x0002>, data=Serialized[b'\x01\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2023-05-30 18:04:17.659 DEBUG (MainThread) [zigpy.application] Received frame on uninitialized device <ZNPCoordinator model='CC1352/CC2652, Z-Stack 3.30+ (build 20221226)' manuf='Texas Instruments' nwk=0x0000 ieee=00:12:4b:00:26:d1:28:09 is_initialized=False> from ep 0 to ep 0, cluster ZDOCmd.Node_Desc_req: b'\x01\x00\x00'
2023-05-30 18:04:17.659 DEBUG (MainThread) [zigpy.zdo] [0x0000:zdo] ZDO request ZDOCmd.Node_Desc_req: [0x0000]
2023-05-30 18:04:17.660 DEBUG (MainThread) [zigpy.zdo] [0x0000:zdo] No handler for ZDO request:ZDOCmd.Node_Desc_req([0x0000])
2023-05-30 18:04:17.660 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0x0000), DstEndpoint=0, DstPanId=0x0000, SrcEndpoint=0, ClusterId=2, TSN=1, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK: 32>, Radius=0, Data=b'\x01\x00\x00')
2023-05-30 18:04:17.672 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
2023-05-30 18:04:17.678 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.NodeDescRsp.Callback(Src=0x0000, Status=<Status.SUCCESS: 0>, NWK=0x0000, NodeDescriptor=NullableNodeDescriptor(logical_type=<LogicalType.Coordinator: 0>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice|AlternatePanCoordinator: 143>, manufacturer_code=0, maximum_buffer_size=80, maximum_incoming_transfer_size=160, server_mask=11265, maximum_outgoing_transfer_size=160, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=True, *is_coordinator=True, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=False, *is_security_capable=False))
2023-05-30 18:04:17.680 DEBUG (MainThread) [zigpy_znp.api] Command was not handled
2023-05-30 18:04:17.682 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.MsgCbIncoming.Callback(Src=0x0000, IsBroadcast=<Bool.false: 0>, ClusterId=32770, SecurityUse=0, TSN=1, MacDst=0x0000, Data=b'\x00\x00\x00\x00\x40\x8F\x00\x00\x50\xA0\x00\x01\x2C\xA0\x00\x00')
2023-05-30 18:04:17.686 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=1, profile_id=0, cluster_id=32770, data=Serialized[b'\x01\x00\x00\x00\x00@\x8f\x00\x00P\xa0\x00\x01,\xa0\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2023-05-30 18:04:17.687 DEBUG (MainThread) [zigpy.application] Received frame on uninitialized device <ZNPCoordinator model='CC1352/CC2652, Z-Stack 3.30+ (build 20221226)' manuf='Texas Instruments' nwk=0x0000 ieee=00:12:4b:00:26:d1:28:09 is_initialized=False> from ep 0 to ep 0, cluster 32770: b'\x01\x00\x00\x00\x00@\x8f\x00\x00P\xa0\x00\x01,\xa0\x00\x00'
2023-05-30 18:04:17.689 INFO (MainThread) [zigpy.device] [0x0000] Got Node Descriptor: NodeDescriptor(logical_type=<LogicalType.Coordinator: 0>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress|RxOnWhenIdle|MainsPowered|FullFunctionDevice|AlternatePanCoordinator: 143>, manufacturer_code=0, maximum_buffer_size=80, maximum_incoming_transfer_size=160, server_mask=11265, maximum_outgoing_transfer_size=160, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=True, *is_coordinator=True, *is_end_device=False, *is_full_function_device=True, *is_mains_powered=True, *is_receiver_on_when_idle=True, *is_router=False, *is_security_capable=False)
2023-05-30 18:04:17.689 INFO (MainThread) [zigpy.device] [0x0000] Discovering endpoints
2023-05-30 18:04:17.689 DEBUG (MainThread) [zigpy.util] Tries remaining: 3
2023-05-30 18:04:17.690 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=2, profile_id=0, cluster_id=<ZDOCmd.Active_EP_req: 0x0005>, data=Serialized[b'\x02\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2023-05-30 18:04:17.690 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=2, profile_id=0, cluster_id=<ZDOCmd.Active_EP_req: 0x0005>, data=Serialized[b'\x02\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2023-05-30 18:04:17.691 DEBUG (MainThread) [zigpy.application] Received frame on uninitialized device <ZNPCoordinator model='CC1352/CC2652, Z-Stack 3.30+ (build 20221226)' manuf='Texas Instruments' nwk=0x0000 ieee=00:12:4b:00:26:d1:28:09 is_initialized=False> from ep 0 to ep 0, cluster ZDOCmd.Active_EP_req: b'\x02\x00\x00'
2023-05-30 18:04:17.691 DEBUG (MainThread) [zigpy.zdo] [0x0000:zdo] ZDO request ZDOCmd.Active_EP_req: [0x0000]
2023-05-30 18:04:17.691 DEBUG (MainThread) [zigpy.zdo] [0x0000:zdo] No handler for ZDO request:ZDOCmd.Active_EP_req([0x0000])
2023-05-30 18:04:17.692 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0x0000), DstEndpoint=0, DstPanId=0x0000, SrcEndpoint=0, ClusterId=5, TSN=2, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK: 32>, Radius=0, Data=b'\x02\x00\x00')
2023-05-30 18:04:17.702 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
2023-05-30 18:04:17.705 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.ActiveEpRsp.Callback(Src=0x0000, Status=<Status.SUCCESS: 0>, NWK=0x0000, ActiveEndpoints=[2, 1])
2023-05-30 18:04:17.706 DEBUG (MainThread) [zigpy_znp.api] Command was not handled
2023-05-30 18:04:17.707 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.MsgCbIncoming.Callback(Src=0x0000, IsBroadcast=<Bool.false: 0>, ClusterId=32773, SecurityUse=0, TSN=2, MacDst=0x0000, Data=b'\x00\x00\x00\x02\x02\x01')
2023-05-30 18:04:17.708 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=2, profile_id=0, cluster_id=32773, data=Serialized[b'\x02\x00\x00\x00\x02\x02\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2023-05-30 18:04:17.708 DEBUG (MainThread) [zigpy.application] Received frame on uninitialized device <ZNPCoordinator model='CC1352/CC2652, Z-Stack 3.30+ (build 20221226)' manuf='Texas Instruments' nwk=0x0000 ieee=00:12:4b:00:26:d1:28:09 is_initialized=False> from ep 0 to ep 0, cluster 32773: b'\x02\x00\x00\x00\x02\x02\x01'
2023-05-30 18:04:17.709 INFO (MainThread) [zigpy.device] [0x0000] Discovered endpoints: [2, 1]
2023-05-30 18:04:17.709 INFO (MainThread) [zigpy.device] [0x0000] Initializing endpoints [<Endpoint id=2 in=[] out=[] status=<Status.NEW: 0>>, <Endpoint id=1 in=[] out=[] status=<Status.NEW: 0>>]
2023-05-30 18:04:17.709 INFO (MainThread) [zigpy.endpoint] [0x0000:2] Discovering endpoint information
2023-05-30 18:04:17.709 DEBUG (MainThread) [zigpy.util] Tries remaining: 3
2023-05-30 18:04:17.709 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=3, profile_id=0, cluster_id=<ZDOCmd.Simple_Desc_req: 0x0004>, data=Serialized[b'\x03\x00\x00\x02'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2023-05-30 18:04:17.710 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=3, profile_id=0, cluster_id=<ZDOCmd.Simple_Desc_req: 0x0004>, data=Serialized[b'\x03\x00\x00\x02'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2023-05-30 18:04:17.710 DEBUG (MainThread) [zigpy.application] Received frame on uninitialized device <ZNPCoordinator model='CC1352/CC2652, Z-Stack 3.30+ (build 20221226)' manuf='Texas Instruments' nwk=0x0000 ieee=00:12:4b:00:26:d1:28:09 is_initialized=False> from ep 0 to ep 0, cluster ZDOCmd.Simple_Desc_req: b'\x03\x00\x00\x02'
2023-05-30 18:04:17.711 DEBUG (MainThread) [zigpy.zdo] [0x0000:zdo] ZDO request ZDOCmd.Simple_Desc_req: [0x0000, 2]
2023-05-30 18:04:17.711 DEBUG (MainThread) [zigpy.zdo] [0x0000:zdo] No handler for ZDO request:ZDOCmd.Simple_Desc_req([0x0000, 2])
2023-05-30 18:04:17.711 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0x0000), DstEndpoint=0, DstPanId=0x0000, SrcEndpoint=0, ClusterId=4, TSN=3, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK: 32>, Radius=0, Data=b'\x03\x00\x00\x02')
2023-05-30 18:04:17.721 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
2023-05-30 18:04:17.724 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SimpleDescRsp.Callback(Src=0x0000, Status=<Status.SUCCESS: 0>, NWK=0x0000, SimpleDescriptor=SizePrefixedSimpleDescriptor(endpoint=2, profile=49246, device_type=2080, device_version=0, input_clusters=[0], output_clusters=[]))
2023-05-30 18:04:17.726 DEBUG (MainThread) [zigpy_znp.api] Command was not handled
2023-05-30 18:04:17.727 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.MsgCbIncoming.Callback(Src=0x0000, IsBroadcast=<Bool.false: 0>, ClusterId=32772, SecurityUse=0, TSN=3, MacDst=0x0000, Data=b'\x00\x00\x00\x0A\x02\x5E\xC0\x20\x08\x00\x01\x00\x00\x00')
2023-05-30 18:04:17.728 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=3, profile_id=0, cluster_id=32772, data=Serialized[b'\x03\x00\x00\x00\n\x02^\xc0 \x08\x00\x01\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2023-05-30 18:04:17.729 DEBUG (MainThread) [zigpy.application] Received frame on uninitialized device <ZNPCoordinator model='CC1352/CC2652, Z-Stack 3.30+ (build 20221226)' manuf='Texas Instruments' nwk=0x0000 ieee=00:12:4b:00:26:d1:28:09 is_initialized=False> from ep 0 to ep 0, cluster 32772: b'\x03\x00\x00\x00\n\x02^\xc0 \x08\x00\x01\x00\x00\x00'
2023-05-30 18:04:17.730 INFO (MainThread) [zigpy.endpoint] [0x0000:2] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=2, profile=49246, device_type=2080, device_version=0, input_clusters=[0], output_clusters=[])
2023-05-30 18:04:17.730 INFO (MainThread) [zigpy.endpoint] [0x0000:1] Discovering endpoint information
2023-05-30 18:04:17.730 DEBUG (MainThread) [zigpy.util] Tries remaining: 3
2023-05-30 18:04:17.731 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=4, profile_id=0, cluster_id=<ZDOCmd.Simple_Desc_req: 0x0004>, data=Serialized[b'\x04\x00\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2023-05-30 18:04:17.731 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=4, profile_id=0, cluster_id=<ZDOCmd.Simple_Desc_req: 0x0004>, data=Serialized[b'\x04\x00\x00\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2023-05-30 18:04:17.732 DEBUG (MainThread) [zigpy.application] Received frame on uninitialized device <ZNPCoordinator model='CC1352/CC2652, Z-Stack 3.30+ (build 20221226)' manuf='Texas Instruments' nwk=0x0000 ieee=00:12:4b:00:26:d1:28:09 is_initialized=False> from ep 0 to ep 0, cluster ZDOCmd.Simple_Desc_req: b'\x04\x00\x00\x01'
2023-05-30 18:04:17.732 DEBUG (MainThread) [zigpy.zdo] [0x0000:zdo] ZDO request ZDOCmd.Simple_Desc_req: [0x0000, 1]
2023-05-30 18:04:17.732 DEBUG (MainThread) [zigpy.zdo] [0x0000:zdo] No handler for ZDO request:ZDOCmd.Simple_Desc_req([0x0000, 1])
2023-05-30 18:04:17.733 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0x0000), DstEndpoint=0, DstPanId=0x0000, SrcEndpoint=0, ClusterId=4, TSN=4, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK: 32>, Radius=0, Data=b'\x04\x00\x00\x01')
2023-05-30 18:04:17.741 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
2023-05-30 18:04:17.750 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SimpleDescRsp.Callback(Src=0x0000, Status=<Status.SUCCESS: 0>, NWK=0x0000, SimpleDescriptor=SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=1024, device_version=0, input_clusters=[0, 6, 10, 25, 1281], output_clusters=[1, 32, 1280, 1282]))
2023-05-30 18:04:17.751 DEBUG (MainThread) [zigpy_znp.api] Command was not handled
2023-05-30 18:04:17.751 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.MsgCbIncoming.Callback(Src=0x0000, IsBroadcast=<Bool.false: 0>, ClusterId=32772, SecurityUse=0, TSN=4, MacDst=0x0000, Data=b'\x00\x00\x00\x1A\x01\x04\x01\x00\x04\x00\x05\x00\x00\x06\x00\x0A\x00\x19\x00\x01\x05\x04\x01\x00\x20\x00\x00\x05\x02\x05')
2023-05-30 18:04:17.752 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=4, profile_id=0, cluster_id=32772, data=Serialized[b'\x04\x00\x00\x00\x1a\x01\x04\x01\x00\x04\x00\x05\x00\x00\x06\x00\n\x00\x19\x00\x01\x05\x04\x01\x00 \x00\x00\x05\x02\x05'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2023-05-30 18:04:17.753 DEBUG (MainThread) [zigpy.application] Received frame on uninitialized device <ZNPCoordinator model='CC1352/CC2652, Z-Stack 3.30+ (build 20221226)' manuf='Texas Instruments' nwk=0x0000 ieee=00:12:4b:00:26:d1:28:09 is_initialized=False> from ep 0 to ep 0, cluster 32772: b'\x04\x00\x00\x00\x1a\x01\x04\x01\x00\x04\x00\x05\x00\x00\x06\x00\n\x00\x19\x00\x01\x05\x04\x01\x00 \x00\x00\x05\x02\x05'
2023-05-30 18:04:17.754 INFO (MainThread) [zigpy.endpoint] [0x0000:1] Discovered endpoint information: SizePrefixedSimpleDescriptor(endpoint=1, profile=260, device_type=1024, device_version=0, input_clusters=[0, 6, 10, 25, 1281], output_clusters=[1, 32, 1280, 1282])
2023-05-30 18:04:17.755 INFO (MainThread) [zigpy.device] [0x0000] Already have model and manufacturer info
2023-05-30 18:04:17.755 INFO (MainThread) [zigpy.device] [0x0000] Discovered basic device information for <ZNPCoordinator model='CC1352/CC2652, Z-Stack 3.30+ (build 20221226)' manuf='Texas Instruments' nwk=0x0000 ieee=00:12:4b:00:26:d1:28:09 is_initialized=True>
2023-05-30 18:04:17.755 DEBUG (MainThread) [zigpy.application] Device is initialized <ZNPCoordinator model='CC1352/CC2652, Z-Stack 3.30+ (build 20221226)' manuf='Texas Instruments' nwk=0x0000 ieee=00:12:4b:00:26:d1:28:09 is_initialized=True>
2023-05-30 18:04:17.756 DEBUG (MainThread) [zigpy.quirks.registry] Checking quirks for Texas Instruments CC1352/CC2652, Z-Stack 3.30+ (build 20221226) (00:12:4b:00:26:d1:28:09)
2023-05-30 18:04:17.757 WARNING (MainThread) [zigpy_znp.zigbee.application] Your network is using the insecure Zigbee2MQTT network key!
2023-05-30 18:04:17.773 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=5, profile_id=0, cluster_id=<ZDOCmd.Mgmt_NWK_Update_req: 0x0038>, data=Serialized[b'\x05\x00\xf8\xff\x07\x04\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2023-05-30 18:04:17.774 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=5, profile_id=0, cluster_id=<ZDOCmd.Mgmt_NWK_Update_req: 0x0038>, data=Serialized[b'\x05\x00\xf8\xff\x07\x04\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2023-05-30 18:04:17.775 DEBUG (MainThread) [zigpy.zdo] [0x0000:zdo] ZDO request ZDOCmd.Mgmt_NWK_Update_req: [NwkUpdate(ScanChannels=<Channels.ALL_CHANNELS: 134215680>, ScanDuration=4, ScanCount=1)]
2023-05-30 18:04:17.775 DEBUG (MainThread) [zigpy.zdo] [0x0000:zdo] No handler for ZDO request:ZDOCmd.Mgmt_NWK_Update_req([NwkUpdate(ScanChannels=<Channels.ALL_CHANNELS: 134215680>, ScanDuration=4, ScanCount=1)])
2023-05-30 18:04:17.776 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0x0000), DstEndpoint=0, DstPanId=0x0000, SrcEndpoint=0, ClusterId=56, TSN=5, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK: 32>, Radius=0, Data=b'\x05\x00\xF8\xFF\x07\x04\x01')
2023-05-30 18:04:17.777 DEBUG (MainThread) [zigpy_znp.zigbee.application] Starting watchdog loop
2023-05-30 18:04:17.784 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
2023-05-30 18:04:22.428 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.MgmtNWKUpdateNotify.Callback(Src=0x0000, Status=<Status.SUCCESS: 0>, ScannedChannels=<Channels.ALL_CHANNELS: 134215680>, TotalTransmissions=30, TransmissionFailures=0, EnergyValues=[116, 156, 160, 112, 43, 25, 0, 43, 10, 40, 21, 40, 61, 131, 51, 65])
2023-05-30 18:04:22.429 DEBUG (MainThread) [zigpy_znp.api] Command was not handled
2023-05-30 18:04:22.432 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.MsgCbIncoming.Callback(Src=0x0000, IsBroadcast=<Bool.false: 0>, ClusterId=32824, SecurityUse=0, TSN=5, MacDst=0x0000, Data=b'\x00\x00\xF8\xFF\x07\x1E\x00\x00\x00\x10\x74\x9C\xA0\x70\x2B\x19\x00\x2B\x0A\x28\x15\x28\x3D\x83\x33\x41')
2023-05-30 18:04:22.433 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=0, source_route=None, extended_timeout=False, tsn=5, profile_id=0, cluster_id=32824, data=Serialized[b'\x05\x00\x00\xf8\xff\x07\x1e\x00\x00\x00\x10t\x9c\xa0p+\x19\x00+\n(\x15(=\x833A'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2023-05-30 18:04:22.437 INFO (MainThread) [zigpy.util] Optimal channel is 20
2023-05-30 18:04:22.437 DEBUG (MainThread) [zigpy.util] Channel scores: {11: 793.2, 12: 1421.4, 13: 1412.7, 14: 1033.8000000000002, 15: 171.5, 16: 264.0, 17: 120.89999999999999, 18: 295.5, 19: 193.79999999999998, 20: 104.8, 21: 270.29999999999995, 22: 417.29999999999995, 23: 647.0999999999999, 24: 988.5, 25: 213.6, 26: 417.2}
2023-05-30 18:04:22.437 DEBUG (MainThread) [zigpy.application] Forming a new network
2023-05-30 18:04:22.437 DEBUG (MainThread) [zigpy.backups] Restoring backup NetworkBackup(backup_time=datetime.datetime(2023, 5, 30, 15, 4, 22, 437800, tzinfo=datetime.timezone.utc), network_info=NetworkInfo(extended_pan_id=4e:8d:73:fe:a3:ba:e2:61, pan_id=9523, nwk_update_id=0, nwk_manager_id=0, channel=20, channel_mask=<Channels.CHANNEL_20: 1048576>, security_level=5, network_key=Key(key=ae:ae:5b:3f:00:42:3e:13:33:02:80:5a:27:c9:ba:69, tx_counter=0, rx_counter=0, seq=0, partner_ieee=ff:ff:ff:ff:ff:ff:ff:ff), tc_link_key=Key(key=5a:69:67:42:65:65:41:6c:6c:69:61:6e:63:65:30:39, tx_counter=0, rx_counter=0, seq=0, partner_ieee=ff:ff:ff:ff:ff:ff:ff:ff), key_table=[], children=[], nwk_addresses={}, stack_specific={}, metadata={}, source=None), node_info=NodeInfo(nwk=0, ieee=ff:ff:ff:ff:ff:ff:ff:ff, logical_type=<LogicalType.Coordinator: 0>))
2023-05-30 18:04:22.438 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.HAS_CONFIGURED_ZSTACK1: 3840>)
2023-05-30 18:04:22.444 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=0)
2023-05-30 18:04:22.445 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.HAS_CONFIGURED_ZSTACK3: 96>)
2023-05-30 18:04:22.452 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=1)
2023-05-30 18:04:22.453 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVDelete.Req(Id=<OsalNvIds.HAS_CONFIGURED_ZSTACK3: 96>, ItemLen=1)
2023-05-30 18:04:22.470 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVDelete.Rsp(Status=<Status.SUCCESS: 0>)
2023-05-30 18:04:22.473 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.ZIGPY_ZNP_MIGRATION_ID: 95>)
2023-05-30 18:04:22.482 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=1)
2023-05-30 18:04:22.483 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVDelete.Req(Id=<OsalNvIds.ZIGPY_ZNP_MIGRATION_ID: 95>, ItemLen=1)
2023-05-30 18:04:22.503 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVDelete.Rsp(Status=<Status.SUCCESS: 0>)
2023-05-30 18:04:22.503 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.BDBNODEISONANETWORK: 85>)
2023-05-30 18:04:22.515 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=1)
2023-05-30 18:04:22.515 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVDelete.Req(Id=<OsalNvIds.BDBNODEISONANETWORK: 85>, ItemLen=1)
2023-05-30 18:04:22.540 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVDelete.Rsp(Status=<Status.SUCCESS: 0>)
2023-05-30 18:04:22.541 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.STARTUP_OPTION: 3>)
2023-05-30 18:04:22.547 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=1)
2023-05-30 18:04:22.547 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVWriteExt.Req(Id=<OsalNvIds.STARTUP_OPTION: 3>, Offset=0, Value=b'\x03')
2023-05-30 18:04:22.556 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVWriteExt.Rsp(Status=<Status.SUCCESS: 0>)
2023-05-30 18:04:22.556 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.ResetReq.Req(Type=<ResetType.Soft: 1>)
2023-05-30 18:04:22.557 DEBUG (MainThread) [zigpy_znp.api] Request has no response, not waiting for one.
2023-05-30 18:04:25.616 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.ResetInd.Callback(Reason=<ResetReason.PowerUp: 0>, TransportRev=2, ProductId=1, MajorRel=2, MinorRel=7, MaintRel=1)
2023-05-30 18:04:25.619 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.PANID: 131>)
2023-05-30 18:04:25.627 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=2)
2023-05-30 18:04:25.629 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVWriteExt.Req(Id=<OsalNvIds.PANID: 131>, Offset=0, Value=b'\xFF\xFF')
2023-05-30 18:04:25.640 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVWriteExt.Rsp(Status=<Status.SUCCESS: 0>)
2023-05-30 18:04:25.642 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.APS_USE_EXT_PANID: 71>)
2023-05-30 18:04:25.651 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=8)
2023-05-30 18:04:25.653 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVWriteExt.Req(Id=<OsalNvIds.APS_USE_EXT_PANID: 71>, Offset=0, Value=b'\x20\xBB\x3A\x16\x66\x3A\x1E\x54')
2023-05-30 18:04:25.665 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVWriteExt.Rsp(Status=<Status.SUCCESS: 0>)
2023-05-30 18:04:25.667 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.PRECFGKEY: 98>)
2023-05-30 18:04:25.676 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=16)
2023-05-30 18:04:25.678 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVWriteExt.Req(Id=<OsalNvIds.PRECFGKEY: 98>, Offset=0, Value=b'\x55\xC1\xAD\xC4\x59\x28\x95\x1B\x96\x87\xCD\x23\xDA\x71\xB3\x00')
2023-05-30 18:04:25.691 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVWriteExt.Rsp(Status=<Status.SUCCESS: 0>)
2023-05-30 18:04:25.693 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.PRECFGKEYS_ENABLE: 99>)
2023-05-30 18:04:25.700 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=1)
2023-05-30 18:04:25.700 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVWriteExt.Req(Id=<OsalNvIds.PRECFGKEYS_ENABLE: 99>, Offset=0, Value=b'\x00')
2023-05-30 18:04:25.711 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVWriteExt.Rsp(Status=<Status.SUCCESS: 0>)
2023-05-30 18:04:25.711 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVLength.Req(Id=<OsalNvIds.CHANLIST: 132>)
2023-05-30 18:04:25.720 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVLength.Rsp(ItemLen=4)
2023-05-30 18:04:25.720 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.OSALNVWriteExt.Req(Id=<OsalNvIds.CHANLIST: 132>, Offset=0, Value=b'\x00\x80\x10\x02')
2023-05-30 18:04:25.731 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.OSALNVWriteExt.Rsp(Status=<Status.SUCCESS: 0>)
2023-05-30 18:04:25.732 DEBUG (MainThread) [zigpy_znp.api] Sending request: AppConfig.BDBSetChannel.Req(IsPrimary=<Bool.true: 1>, Channel=<Channels.CHANNEL_25|CHANNEL_20|CHANNEL_15: 34635776>)
2023-05-30 18:04:25.741 DEBUG (MainThread) [zigpy_znp.api] Received command: AppConfig.BDBSetChannel.Rsp(Status=<Status.SUCCESS: 0>)
2023-05-30 18:04:25.743 DEBUG (MainThread) [zigpy_znp.api] Sending request: AppConfig.BDBSetChannel.Req(IsPrimary=<Bool.false: 0>, Channel=<Channels.NO_CHANNELS: 0>)
2023-05-30 18:04:25.751 DEBUG (MainThread) [zigpy_znp.api] Received command: AppConfig.BDBSetChannel.Rsp(Status=<Status.SUCCESS: 0>)
2023-05-30 18:04:25.752 DEBUG (MainThread) [zigpy_znp.api] Forming temporary network
2023-05-30 18:04:25.752 DEBUG (MainThread) [zigpy_znp.api] Sending request: AppConfig.BDBStartCommissioning.Req(Mode=<BDBCommissioningMode.NwkFormation: 4>)
2023-05-30 18:04:30.569 DEBUG (MainThread) [zigpy_znp.api] Received command: AppConfig.BDBStartCommissioning.Rsp(Status=<Status.SUCCESS: 0>)
2023-05-30 18:04:30.572 DEBUG (MainThread) [zigpy_znp.api] Received command: AppConfig.BDBCommissioningNotification.Callback(Status=<BDBCommissioningStatus.InProgress: 1>, Mode=<BDBCommissioningMode.NwkSteering: 2>, RemainingModes=<BDBCommissioningMode.NwkFormation: 4>)
2023-05-30 18:04:30.776 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.StateChangeInd.Callback(State=<DeviceState.StartingAsCoordinator: 8>)
2023-05-30 18:04:47.779 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.Ping.Req()
2023-05-30 18:04:47.787 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.Ping.Rsp(Capabilities=<MTCapabilities.APP_CNF|GP|UTIL|ZDO|AF|SYS: 1625>)
2023-05-30 18:05:10.083 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event recorder_5min_statistics_generated[L]>
2023-05-30 18:05:17.793 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.Ping.Req()
2023-05-30 18:05:17.804 DEBUG (MainThread) [zigpy_znp.api] Received command: SYS.Ping.Rsp(Capabilities=<MTCapabilities.APP_CNF|GP|UTIL|ZDO|AF|SYS: 1625>)
2023-05-30 18:05:25.755 DEBUG (MainThread) [zigpy_znp.api] Sending request: SYS.ResetReq.Req(Type=<ResetType.Soft: 1>)
2023-05-30 18:05:25.755 DEBUG (MainThread) [zigpy_znp.api] Request has no response, not waiting for one.
2023-05-30 18:05:25.757 DEBUG (MainThread) [zigpy_znp.uart] Closing serial port
2023-05-30 18:05:26.759 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/zigpy_znp/api.py", line 1058, in request_callback_rsp
return await callback_rsp
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/zigpy_znp/api.py", line 253, in start_network
commissioning_rsp = await self.request_callback_rsp(
File "/usr/local/lib/python3.10/site-packages/zigpy_znp/api.py", line 1055, in request_callback_rsp
async with async_timeout.timeout(timeout):
File "/usr/local/lib/python3.10/site-packages/async_timeout/__init__.py", line 129, in __aexit__
self._do_exit(exc_type)
File "/usr/local/lib/python3.10/site-packages/async_timeout/__init__.py", line 212, in _do_exit
raise asyncio.TimeoutError
asyncio.exceptions.TimeoutError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 433, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 85, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 235, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 146, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 180, in post
return await super().post(request, flow_id)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper
result = await method(view, request, data, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
result = await self._flow_mgr.async_configure(flow_id, data)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 267, in async_configure
result = await self._async_handle_step(
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 367, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
File "/usr/src/homeassistant/homeassistant/components/zha/config_flow.py", line 376, in async_step_form_new_network
await self._radio_mgr.async_form_network()
File "/usr/src/homeassistant/homeassistant/components/zha/radio_manager.py", line 224, in async_form_network
await app.form_network()
File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 386, in form_network
await self.backups.restore_backup(
File "/usr/local/lib/python3.10/site-packages/zigpy/backups.py", line 151, in restore_backup
await self.app.write_network_info(
File "/usr/local/lib/python3.10/site-packages/zigpy_znp/zigbee/application.py", line 187, in write_network_info
await self._znp.write_network_info(
File "/usr/local/lib/python3.10/site-packages/zigpy_znp/api.py", line 378, in write_network_info
await self.start_network()
File "/usr/local/lib/python3.10/site-packages/zigpy_znp/api.py", line 291, in start_network
raise zigpy.exceptions.FormationFailure(
zigpy.exceptions.FormationFailure: Network formation refused: there is too much RF interference. Make sure your coordinator is on a USB 2.0 extension cable and away from any sources of interference, like USB 3.0 ports, SSDs, 2.4GHz routers, motherboards, etc.
There isn't much you need to do with channel configuration, this should all be done automatically. Try patching the above library (https://github.com/zigpy/zigpy-znp/blob/c4db8d1151b5a999ead73480faea4ea01b7cb7d7/zigpy_znp/const.py#L28) and add 11
to the list, it should work after that. What I'm curious to know is if the network will actually be functional on the higher channels.
Ok, I'll write result after the patch
Unfortunately, I could not add the channel as you wrote. Failed to start the test environment.
But I successfully run Z2M on channel 20, after that I tried to run ZHA on channel 20 but got the same error. I think that the problem in ZHA
If you're developing your own firmware and coordinator hardware I cannot debug this without your help: it's not a problem I can reproduce. I've posted above my theory on what you can do to fix this.
In lieu of running Home Assistant Core, you can just run zigpy-cli in any virtualenv on any platform to test the change, it does exactly the same thing:
virtualenv -p 3.9 venv
source venv/bin/activate
pip install zigpy-cli
git clone https://github.com/zigpy/zigpy-znp
pip install -e ./zigpy-znp
# edit zigpy-znp/zigpy_znp/const.py
zigpy -vvv radio znp /dev/serial/by-id/... form
this not working
pip install zigpy-cli
I could not find out what the problem was, but now it has disappeared, now the device works on any channel. A few days ago I turned off the electricity in the house, maybe that helped
The problem
Сoordinator does not work with ZHA but works with Z2M. If coordinator first connects to Z2M and then in ZHA selects "Keep radio network settings", the network will start successfully, if choose "Create a network", the network will not start, there will be an Error.
What version of Home Assistant Core has the issue?
core-2023.5.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
ZHA
Link to integration documentation on our website
https://www.home-assistant.io/integrations/zha/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
ZHA "Create a network" device log
Z2M successful start of the same device, standard settings