#Matter repeatedly fails to add device

1 messages · Page 1 of 1 (latest)

rapid shale
#

I was wondering if anyone cold interpret this for me. I have a TP-Link Wifi Matter Outlet I am trying to connect to home assistant, and I have managed to get through the entire process up to the point where the matter integration adds the device to home assistant, at which point the Matter Server logs this error:

2024-11-19 21:07:47.148 (MainThread) INFO [matter_server.server.device_controller] Starting Matter commissioning using Node ID 3 and IP fe80::f209:dff:fefc:be1c%enp2s0. 2024-11-19 21:07:50.894 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to Send CHIP MessageCounter:115381973 on exchange 43709i with Node: <0000000000000000, 0> sendCount: 4 max retries: 4 2024-11-19 21:07:53.375 (Dummy-2) CHIP_ERROR [chip.native.SC] PASESession timed out while waiting for a response from the peer. Expected message type was 33 2024-11-19 21:07:53.375 (Dummy-2) CHIP_ERROR [chip.native.ZCL] Secure Pairing Failed 2024-11-19 21:07:53.375 (Dummy-2) WARNING [chip.ChipDeviceCtrl] Failed to establish secure session to device: src/controller/python/ChipDeviceController-ScriptDevicePairingDelegate.cpp:89: CHIP Error 0x00000003: Incorrect state 2024-11-19 21:07:53.376 (MainThread) ERROR [matter_server.server.client_handler] [140496099228944] Error while handling: commission_on_network: Commissioning failed for node 3.

Any ideas on what may be causing this? Thanks in advance.

icy sluice
#

are you on HAOS or Docker?

rapid shale
#

HAOS

#

Matter Server Add-on

icy sluice
#

do you have a vlan setup

rapid shale
#

Yeah, home assistant is set up to use its network interface for multicast

icy sluice
#

ok here's the million dollar question: is everything you are trying to connect, including your phone, on the same vlan?

rapid shale
#

Yes

icy sluice
#

ok that's all the easy things out of the way unfortunately

#

i'm not quite sure, but your logs sounds like multicast discovery is not working. you don't happen to have some sort of "multicast optimization" setting turned on in your router, do you?

rapid shale
#

I have some things to repeat mDNS across VLANs, I guess Ill have to dig in to those

grand mountain
rapid shale
#

This error again

#

ummy-2) CHIP_ERROR [chip.native.EM] Failed to Send CHIP MessageCounter:264868507 on exchange 45440i with Node: <0000000000000000, 0> sendCount: 4 max retries: 4
2024-11-20 14:35:59.739 (Dummy-2) CHIP_ERROR [chip.native.SC] PASESession timed out while waiting for a response from the peer. Expected message type was 33
2024-11-20 14:35:59.739 (Dummy-2) CHIP_ERROR [chip.native.ZCL] Secure Pairing Failed
2024-11-20 14:35:59.740 (Dummy-2) WARNING [chip.ChipDeviceCtrl] Failed to establish secure session to device: src/controller/python/ChipDeviceController-ScriptDevicePairingDelegate.cpp:89: CHIP Error 0x00000003: Incorrect state
2024-11-20 14:35:59.741 (MainThread) ERROR [matter_server.server.client_handler] [140092639720848] Error while handling: commission_on_network: Commissioning failed for node 1.

grand mountain
#

Looks like the device is already paired ? Did you try factory resetting it ?
Also note that if the device is already added to one matter controller, you cant use the QR code anymore. You will have to "share" the device from controller A to controller B

rapid shale
#

Oh I have factory reset it many times. This is the first matter controller I have paired it too

grand mountain
#

IPv6 configured in the HAOS network settings ?

rapid shale
#

Yes, its enabled and all interfaces have an IPv6 address

rapid shale
#

Problem was with router, set up to use DHCPv6, required SLAAC