I'm running into some problems commissioning a Matter-over-Thread device to Home assistant.
- I initially ran into the issue with Eve switch, but now using an ESP with example firmware to get more insight on the device side of things (same behavior for both).
- Using Docker HA and a Docker python-matter-server.
- Using the Espressif Open Thread Border Router as my border router.
- Commissioning works without any problems if I use Google Home (I don't have any Google border routers, but have some 1st gen Nest Hubs / Android phone). After commissioning via Google Home, I still can't add it to Home Assistant.
- The device does sucessfully join the thread network.
When trying to commission, I get the following logs on the python-matter-server:
2025-04-02 21:37:12.636 (MainThread) INFO [matter_server.server.device_controller] Starting Matter commissioning using Node ID 19 and IP fd21:879b:d565:1:7413:d3ba:e505:9eef.
2025-04-02 21:37:16.535 (Dummy-2) CHIP_ERROR [chip.native.EM] <<5 [E:5311i with Node: <0000000000000000, 0> S:0 M:225590691] (U) Msg Retransmission to 0:0000000000000000 failure (max retries:4)
2025-04-02 21:37:23.086 (Dummy-2) CHIP_ERROR [chip.native.SC] PASESession timed out while waiting for a response from the peer. Expected message type was 33
2025-04-02 21:37:23.086 (Dummy-2) CHIP_ERROR [chip.native.ZCL] Secure Pairing Failed
2025-04-02 21:37:23.086 (Dummy-2) WARNING [chip.ChipDeviceCtrl] Failed to establish secure session to device: src/controller/python/ChipDeviceController-ScriptDevicePairingDelegate.cpp:96: CHIP Error 0x00000003: Incorrect state
2025-04-02 21:37:23.087 (MainThread) ERROR [matter_server.server.client_handler] [128741987707040] Error while handling: commission_on_network: Commissioning failed for node 19.
From the PMS, I can't ping that fd21:... IPv6 address, but it also doesn't match up with the "Mesh Local Address" fd2e:... or "On-Mesh Prefix" fd11:22:: from the OpenThread Border Router configuration.