I’m trying to connect to the Aqara P2 door and window thread device. I’ve been struggling a lot with this. I went through various issues so far:
- I come from a conbee stick and upgraded to the skyconnect.
- this failed and I ultimately resorted to creating a fully new zigbee network
- Next the matter add-on wouldn’t work since I had a 32 bit rapsberry pi os.
- next the radios were off (thread channel 15, zigbee channel 25), even when I just resettled everything.
Now finally, all the networks seem without error, but I can’t get the device connected.
Via the Android app, I choose ‘Add matter device’. I scan the code and it goes through various steps (connecting to device, generating matter keys, connecting to network, connecting device to home assistant). This final step never succeeds and ends with ‘something went wrong’.
I’ve enabled debug logging for all relevant addons (Matter server, multiprotocol) & integrations (Thread, Thread Open Border Router, Matter). I don’t get any system errors, but I get the following errors in the Matter & multiprotocol addon.
Matter logs
2024-01-08 19:51:16 core-matter-server matter_server.server.device_controller[126] INFO Starting Matter commissioning on network using Node ID 5.
2024-01-08 19:51:46 core-matter-server chip.CTL[126] ERROR Mdns discovery timed out
2024-01-08 19:51:46 core-matter-server matter_server.server.client_handler[126] ERROR [547789116944] Error handling message: CommandMessage(message_id='bce8b7c9771347XXXXa03be5XXXX6fb5', command='commission_on_network', args={'setup_pin_code': 42XXX91, 'ip_addr': None})
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/matter_server/server/client_handler.py", line 188, in _run_handler
result = await result
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/matter_server/server/device_controller.py", line 261, in commission_on_network
raise NodeCommissionFailed(
matter_server.common.errors.NodeCommissionFailed: Commission on network failed for node 5
Multiprotocol logs
[21:34:43:137796] Info : Endpoint socket #12: Client connected. 2 connections
Listening on port 9999 for connection...
Accepting connection.
Accepted connection 7.
otbr-agent[307]: 05:50:46.596 [W] SrpServer-----: Send fail response: 5
otbr-agent[307]: 05:51:03.893 [W] Mle-----------: Failed to process Parent Request: Duplicated
otbr-agent[307]: 05:51:03.893 [W] Mle-----------: Failed to process Parent Request: Duplicated
otbr-agent[307]: 05:51:03.893 [W] Mle-----------: Failed to process Parent Request: Duplicated
Default: mDNSPlatformSendUDP got error 99 (Cannot assign requested address) sending packet to ff02::fb on interface fe80::78d4:10ff:fef0:4176/vethbe30783/40
Default: mDNSPlatformSendUDP got error 99 (Cannot assign requested address) sending packet to ff02::fb on interface fe80::78d4:10ff:fef0:4176/vethbe30783/40
Default: mDNSPlatformSendUDP got error 99 (Cannot assign requested address) sending packet to ff02::fb on interface fe80::78d4:10ff:fef0:4176/vethbe30783/40
Default: mDNSPlatformSendUDP got error 99 (Cannot assign requested address) sending packet to ff02::fb on interface fe80::78d4:10ff:fef0:4176/vethbe30783/40
Default: mDNSPlatformSendUDP got error 99 (Cannot assign requested address) sending packet to ff02::fb on interface fe80::78d4:10ff:fef0:4176/vethbe30783/40
Default: mDNSPlatformSendUDP got error 99 (Cannot assign requested address) sending packet to ff02::fb on interface fe80::9c18:41ff:fe65:73b3/veth152e1fb/42
Default: mDNSPlatformSendUDP got error 99 (Cannot assign requested address) sending packet to ff02::fb on interface fe80::9c18:41ff:fe65:73b3/veth152e1fb/42
Default: mDNSPlatformSendUDP got error 99 (Cannot assign requested address) sending packet to ff02::fb on interface fe80::9c18:41ff:fe65:73b3/veth152e1fb/42
Default: mDNSPlatformSendUDP got error 99 (Cannot assign requested address) sending packet to ff02::fb on interface fe80::9c18:41ff:fe65:73b3/veth152e1fb/42
Default: mDNSPlatformSendUDP got error 99 (Cannot assign requested address) sending packet to ff02::fb on interface fe80::f85b:8eff:fef7:457a/vethe3704fc/44
Default: mDNSPlatformSendUDP got error 99 (Cannot assign requested address) sending packet to ff02::fb on interface fe80::f85b:8eff:fef7:457a/vethe3704fc/44
Default: mDNSPlatformSendUDP got error 99 (Cannot assign requested address) sending packet to ff02::fb on interface fe80::f85b:8eff:fef7:457a/vethe3704fc/44
Default: mDNSPlatformSendUDP got error 99 (Cannot assign requested address) sending packet to ff02::fb on interface fe80::f85b:8eff:fef7:457a/vethe3704fc/44
Default: mDNSPlatformSendUDP got error 99 (Cannot assign requested address) sending packet to ff02::fb on interface fe80::f85b:8eff:fef7:457a/vethe3704fc/44
otbr-agent[307]: 1d.04:02:54.888 [N] MeshForwarder-: Dropping (reassembly queue) IPv6 UDP msg, len:766, chksum:7dbb, ecn:no, sec:yes, error:ReassemblyTimeout, prio:normal, rss:-48.625
otbr-agent[307]: 1d.04:02:54.901 [N] MeshForwarder-: src:[fd04:49d7:ae2c:31e2:e22e:6dcc:7c05:ffcf]:49154
otbr-agent[307]: 1d.04:02:54.901 [N] MeshForwarder-: dst:[fd04:49d7:ae2c:31e2:54c2:f335:d0a:3e90]:53538
Socket connection has been closed, restarting...
Listening on port 9999 for connection...
Accepting connection.
Accepted connection 7.
Restarting
[19:54:55:812808] Info : Endpoint socket #12: Client disconnected. 1 connections
[19:54:55:819984] Info : Client disconnected
[19:54:56:872225] Info : New client connection using library v4.3.1.0
[19:54:56:878218] Info : Endpoint socket #12: Client connected. 2 connections
Reusing socket from previous instance.
I’m using the following system
- Home assistant 2024.1.2
- Home Assistant OS 11.3
- Supervisor 2023.12.0
- Matter server 5.0.2
- Silicon Labs Multiprotocol 2.4.2
- Unifi wifi network
- mDNS on
- Multicast enhancement on/off → gives same error in both cases
- Android phone for commissioning the devices