Another Matter, HA, Eve Window&Door Problem - I surrender

Hello everybody,

I could really use your help…I really want to give up.
Here is my problem:
I just want to connect my Eve Window&Door to my HA instance.

General conditions:

  • HA runs as a Unraid-VM
  • Eve device runs on newest firmware (with Matter Support)
  • Thread Border Router is a Skyconnect, that already is connected to multiple Eve Thermos
  • TBR and HA are on the same subnet, WiFI is on another subnet
  • mDNS Repeater on OPNsense between these two subnets
  • my WiFi-AP discovers my Eve devices per matter_udp
  • Unraid and HA have a IPv6
  • i don’t have an public IPv6, thanks to my ISP, but I use a private IPv6 inside my network
  • I added the Firewall-Rules from this post
  • Ping6 from OPNsense to my HA and Unraid is possible
  • Ping6 from HA to any IPv6 is not possible (address not available) …i guess that is the mistake
  • I tried to connect the device per app and per Websocket. The Error-Code for the websocket is down below. The Error I get, if I use the App is: “Device can’t be added”
023-10-25 16:26:51 core-matter-server chip.BLE[126] ERROR BLE scan error: src/platform/Linux/bluez/ChipDeviceScanner.cpp:154: CHIP Error 0x00000032: Timeout
2023-10-25 16:27:11 core-matter-server chip.CTL[126] ERROR Discovery timed out
2023-10-25 16:27:11 core-matter-server chip.BLE[126] ERROR BleConnectionDelegate::CancelConnection is not implemented.
2023-10-25 16:27:11 core-matter-server chip.-[126] ERROR src/platform/Linux/BLEManagerImpl.cpp:732: CHIP Error 0x0000002D: Not Implemented at src/controller/SetUpCodePairer.cpp:551
2023-10-25 16:27:11 core-matter-server chip.ZCL[126] ERROR Secure Pairing Failed
2023-10-25 16:27:11 core-matter-server matter_server.server.client_handler[126] ERROR [140003122062736] Error handling message: CommandMessage(message_id='2', command='commission_with_code', args={'code': '14812521719'})
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 171, in commission_with_code
    raise NodeCommissionFailed(
matter_server.common.errors.NodeCommissionFailed: Commission with code failed for node 20
2023-10-25 16:27:12 core-matter-server chip.DIS[126] ERROR Timeout waiting for mDNS resolution.

Thanks in advance

1 Like

I have the same problem, I can’t pair it at all but it’s a Nanoleaf essentials matter smart bulb

1 Like

Another thing i tried:

  • Connect Eve Window&Door to my Homepod mini
  • Activate Pairing mode in Home-App (there I receive a new pairing code)
  • use the new code for connection over websocket
  • I receivce a new error log:
2023-10-31 15:10:45 core-matter-server chip.BLE[126] ERROR BLE scan error: src/platform/Linux/bluez/ChipDeviceScanner.cpp:154: CHIP Error 0x00000032: Timeout
20

23-10-31 15:11:05 core-matter-server chip.CTL[126] ERROR Discovery timed out
2023-10-31 15:11:05 core-matter-server chip.BLE[126] ERROR BleConnectionDelegate::CancelConnection is not implemented.
2023-10-31 15:11:05 core-matter-server chip.-[126] ERROR src/platform/Linux/BLEManagerImpl.cpp:732: CHIP Error 0x0000002D: Not Implemented at src/controller/SetUpCodePairer.cpp:551
2023-10-31 15:11:09 core-matter-server chip.EM[126] ERROR Failed to Send CHIP MessageCounter:21264068 on exchange 653i sendCount: 4 max retries: 4
2023-10-31 15:11:14 core-matter-server chip.SC[126] ERROR PASESession timed out while waiting for a response from the peer. Expected message type was 33
2023-10-31 15:11:46 core-matter-server chip.EM[126] ERROR Failed to Send CHIP MessageCounter:21264069 on exchange 654i sendCount: 4 max retries: 4
2023-10-31 15:11:51 core-matter-server chip.SC[126] ERROR PASESession timed out while waiting for a response from the peer. Expected message type was 33
2023-10-31 15:12:24 core-matter-server chip.EM[126] ERROR Failed to Send CHIP MessageCounter:21264070 on exchange 655i sendCount: 4 max retries: 4
2023-10-31 15:12:29 core-matter-server chip.SC[126] ERROR PASESession timed out while waiting for a response from the peer. Expected message type was 33
2023-10-31 15:13:02 core-matter-server chip.EM[126] ERROR Failed to Send CHIP MessageCounter:21264071 on exchange 656i sendCount: 4 max retries: 4
2023-10-31 15:13:06 core-matter-server chip.SC[126] ERROR PASESession timed out while waiting for a response from the peer. Expected message type was 33
2023-10-31 15:13:37 core-matter-server chip.EM[126] ERROR Failed to Send CHIP MessageCounter:21264072 on exchange 657i sendCount: 4 max retries: 4
2023-10-31 15:13:44 core-matter-server chip.SC[126] ERROR PASESession timed out while waiting for a response from the peer. Expected message type was 33
2023-10-31 15:14:18 core-matter-server chip.EM[126] ERROR Failed to Send CHIP MessageCounter:21264073 on exchange 658i sendCount: 4 max retries: 4
2023-10-31 15:14:22 core-matter-server chip.SC[126] ERROR PASESession timed out while waiting for a response from the peer. Expected message type was 33
2023-10-31 15:14:22 core-matter-server chip.ZCL[126] ERROR Secure Pairing Failed
2023-10-31 15:14:22 core-matter-server matter_server.server.client_handler[126] ERROR [139705701417104] Error handling message: CommandMessage(message_id='2', command='commission_with_code', args={'code': '0615-794-6625'})
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 171, in commission_with_code
    raise NodeCommissionFailed(
matter_server.common.errors.NodeCommissionFailed: Commission with code failed for node 39

If i use the new pairing code with the HomeAssistant App, I receivce the same error message from before.
Sometimes I get the error message: “Home can’t connect to the device”

Since the new HA update to 2023.11. I get more information from the error message.
I will analyse everything and try different things.

023-11-01 19:10:09 core-matter-server chip.CTL[126] INFO Setting thread operational dataset from parameters
2023-11-01 19:10:09 core-matter-server chip.CTL[126] INFO Setting attestation nonce to random value
2023-11-01 19:10:09 core-matter-server chip.CTL[126] INFO Setting CSR nonce to random value
2023-11-01 19:10:09 core-matter-server chip.CTL[126] DEBUG Stopping commissioning discovery over DNS-SD
2023-11-01 19:10:09 core-matter-server chip.CTL[126] INFO Starting commissioning discovery over BLE
2023-11-01 19:10:09 core-matter-server chip.CTL[126] INFO Starting commissioning discovery over DNS-SD
2023-11-01 19:10:09 core-matter-server matter_server.server.storage[126] DEBUG Saved data to persistent storage
2023-11-01 19:10:09 core-matter-server chip.DL[126] DEBUG TRACE: Bus acquired for name C-007e
2023-11-01 19:10:09 core-matter-server chip.DL[126] DEBUG PlatformBlueZInit init success
2023-11-01 19:10:09 core-matter-server chip.BLE[126] INFO BLE removing known devices.
2023-11-01 19:10:09 core-matter-server chip.BLE[126] INFO BLE initiating scan.
2023-11-01 19:10:19 core-matter-server chip.BLE[126] ERROR BLE scan error: src/platform/Linux/bluez/ChipDeviceScanner.cpp:154: CHIP Error 0x00000032: Timeout
2023-11-01 19:10:19 core-matter-server chip.BLE[126] INFO Scan complete. No matching device found.
2023-11-01 19:10:39 core-matter-server chip.CTL[126] ERROR Discovery timed out
2023-11-01 19:10:39 core-matter-server chip.CTL[126] DEBUG Stopping commissioning discovery over BLE
2023-11-01 19:10:39 core-matter-server chip.BLE[126] ERROR BleConnectionDelegate::CancelConnection is not implemented.
2023-11-01 19:10:39 core-matter-server chip.-[126] ERROR src/platform/Linux/BLEManagerImpl.cpp:732: CHIP Error 0x0000002D: Not Implemented at src/controller/SetUpCodePairer.cpp:551
2023-11-01 19:10:39 core-matter-server chip.CTL[126] DEBUG Stopping commissioning discovery over DNS-SD
2023-11-01 19:10:39 core-matter-server chip.ZCL[126] ERROR Secure Pairing Failed
2023-11-01 19:10:39 core-matter-server matter_server.server.client_handler[126] ERROR [140642261962704] Error handling message: CommandMessage(message_id='2', command='commission_with_code', args={'code': '14812521719'})
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 171, in commission_with_code
    raise NodeCommissionFailed(
matter_server.common.errors.NodeCommissionFailed: Commission with code failed for node 41

I got it to work…kind of.
I connected my HA instance to the same network my wifi and all the other things are connected.
Then I connected the sensor to my iPad and use the “Pairing mode” in the Home App.
When I used the new pairing code with the websocket method, I was able to connect the sensor to my HA instance.
Sadly, it disconnected after a few hours.
I will try it again and this time I will not delete it from my Home-App.

After several hours and attempts, I remembered that my HomePod is connected to the same network, but to a different wifi AP.

After I connected my HomePod to the same AP, the integration worked perfectly. I was even able to use the HA app for this.

It seems that FritzBox does not support mDNS. But I’m not sure about that.

It then worked with my Netgear AP.

Sorry for the late question but I have a similar problem.
Does that mean it worked for you after switching out the FritzBox?