Matter Moes GU10 doesn't connect to HomeAssistant

Hi everyone!

I have some Moes GU10 bulbs with Matter over Wi-Fi. They are connected to Home Assistant, Apple Home, and the Tuya app. All devices are at same VLAN, mDNS seems to be working fine and I don’t have problems like that with any other Matter device.

The problem is: Sometimes, after an HAOS reboot, for exemple, some of the lights (I have 9) disconnect and don’t come back online. In HomeKit, it eventually reconnects, but in Home Assistant, it never does unless I power it off and on again (and even that, it’s no guarantee it’ll work)!

The weird part is that in the Tuya app, the lights NEVER go offline!

When I check the Matter server log, this is what I get:

The error seems to be “CASESession timed out while waiting for a response from peer” but I have no idea what it means.

2025-03-12 22:27:22.408 (MainThread) WARNING [matter_server.server.device_controller] <Node:79> Setup for node failed: Unable to establish CASE session with Node 79
2025-03-12 22:27:22.409 (MainThread) INFO [matter_server.server.device_controller] <Node:79> Retrying node setup in 60 seconds...
2025-03-12 22:28:13.965 (MainThread) INFO [matter_server.server.device_controller.mdns] <Node:79> Discovered on mDNS
2025-03-12 22:28:22.410 (MainThread) INFO [matter_server.server.device_controller] <Node:79> Setting-up node...
2025-03-12 22:28:25.461 (Dummy-2) CHIP_ERROR [chip.native.EM] <<5 [E:43625i with Node: <0000000000000000, 0> S:0 M:243746013] (U) Msg Retransmission to 0:0000000000000000 failure (max retries:4)
2025-03-12 22:28:31.653 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <000000000000004F, 1>. Current state was 1
2025-03-12 22:28:36.632 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <00000000000000F2, 1>. Current state was 4
2025-03-12 22:28:40.694 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <000000000000004F, 1>. Current state was 1
2025-03-12 22:28:49.736 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <000000000000004F, 1>. Current state was 1
2025-03-12 22:28:52.739 (MainThread) INFO [matter_server.server.sdk] <Node:79> Attempting to establish CASE session... (attempt 2 of 2)
2025-03-12 22:29:02.851 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <000000000000004F, 1>. Current state was 1
2025-03-12 22:29:11.892 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <000000000000004F, 1>. Current state was 1
2025-03-12 22:29:20.934 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <000000000000004F, 1>. Current state was 1
2025-03-12 22:29:20.934 (MainThread) WARNING [matter_server.server.device_controller] <Node:79> Setup for node failed: Unable to establish CASE session with Node 79
2025-03-12 22:29:20.934 (MainThread) INFO [matter_server.server.device_controller] <Node:79> Retrying node setup in 60 seconds...
2025-03-12 22:29:38.173 (Dummy-2) CHIP_ERROR [chip.native.EM] <<5 [E:43631i with Node: <0000000000000000, 0> S:0 M:243746016] (U) Msg Retransmission to 0:0000000000000000 failure (max retries:4)
2025-03-12 22:29:53.336 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <00000000000000F2, 1>. Current state was 4
2025-03-12 22:30:20.936 (MainThread) INFO [matter_server.server.device_controller] <Node:79> Setting-up node...
2025-03-12 22:30:30.179 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <000000000000004F, 1>. Current state was 1
2025-03-12 22:30:39.220 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <000000000000004F, 1>. Current state was 1
2025-03-12 22:30:48.262 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <000000000000004F, 1>. Current state was 1
2025-03-12 22:30:51.264 (MainThread) INFO [matter_server.server.sdk] <Node:79> Attempting to establish CASE session... (attempt 2 of 2)
2025-03-12 22:30:56.346 (Dummy-2) CHIP_ERROR [chip.native.EM] <<5 [E:43637i with Node: <0000000000000000, 0> S:0 M:243746021] (U) Msg Retransmission to 0:0000000000000000 failure (max retries:4)
2025-03-12 22:31:01.433 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <000000000000004F, 1>. Current state was 1
2025-03-12 22:31:10.040 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <00000000000000F2, 1>. Current state was 4
2025-03-12 22:31:10.474 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <000000000000004F, 1>. Current state was 1
2025-03-12 22:31:19.515 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <000000000000004F, 1>. Current state was 1
2025-03-12 22:31:19.515 (MainThread) WARNING [matter_server.server.device_controller] <Node:79> Setup for node failed: Unable to establish CASE session with Node 79
2025-03-12 22:31:19.515 (MainThread) INFO [matter_server.server.device_controller] <Node:79> Retrying node setup in 60 seconds...
2025-03-12 22:32:14.105 (Dummy-2) CHIP_ERROR [chip.native.EM] <<5 [E:43645i with Node: <0000000000000000, 0> S:0 M:243746027] (U) Msg Retransmission to 0:0000000000000000 failure (max retries:4)
2025-03-12 22:32:16.268 (Dummy-2) CHIP_ERROR [chip.native.EM] <<5 [E:61863r with Node: <0000000000000026, 1> S:28443 M:109879643] (S) Msg Retransmission to 1:0000000000000026 failure (max retries:4)
2025-03-12 22:32:19.517 (MainThread) INFO [matter_server.server.device_controller] <Node:79> Setting-up node...
2025-03-12 22:32:26.745 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <00000000000000F2, 1>. Current state was 4
2025-03-12 22:32:28.758 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <000000000000004F, 1>. Current state was 1
2025-03-12 22:32:37.799 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <000000000000004F, 1>. Current state was 1
2025-03-12 22:32:46.841 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <000000000000004F, 1>. Current state was 1
2025-03-12 22:32:49.843 (MainThread) INFO [matter_server.server.sdk] <Node:79> Attempting to establish CASE session... (attempt 2 of 2)
2025-03-12 22:32:59.085 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <000000000000004F, 1>. Current state was 1
2025-03-12 22:33:08.127 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <000000000000004F, 1>. Current state was 1
2025-03-12 22:33:17.168 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <000000000000004F, 1>. Current state was 1
2025-03-12 22:33:17.168 (MainThread) WARNING [matter_server.server.device_controller] <Node:79> Setup for node failed: Unable to establish CASE session with Node 79
2025-03-12 22:33:17.169 (MainThread) INFO [matter_server.server.device_controller] <Node:79> Retrying node setup in 60 seconds...
2025-03-12 22:33:32.989 (Dummy-2) CHIP_ERROR [chip.native.EM] <<5 [E:43648i with Node: <0000000000000000, 0> S:0 M:243746030] (U) Msg Retransmission to 0:0000000000000000 failure (max retries:4)
2025-03-12 22:33:43.449 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <00000000000000F2, 1>. Current state was 4
2025-03-12 22:33:43.450 (Dummy-2) CHIP_ERROR [chip.native.DMG] Failed to establish CASE for re-subscription with error 'src/protocols/secure_channel/CASESession.cpp:607: CHIP Error 0x00000032: Timeout'
2025-03-12 22:33:43.450 (MainThread) INFO [matter_server.server.device_controller] <Node:242> Subscription failed with CHIP Error 0x00000032: Timeout, resubscription attempt 1
2025-03-12 22:34:17.170 (MainThread) INFO [matter_server.server.device_controller] <Node:79> Setting-up node...
2025-03-12 22:34:26.413 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <000000000000004F, 1>. Current state was 1
2025-03-12 22:34:35.454 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <000000000000004F, 1>. Current state was 1
2025-03-12 22:34:44.495 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <000000000000004F, 1>. Current state was 1
2025-03-12 22:34:47.497 (MainThread) INFO [matter_server.server.sdk] <Node:79> Attempting to establish CASE session... (attempt 2 of 2)
2025-03-12 22:34:55.747 (Dummy-2) CHIP_ERROR [chip.native.EM] <<5 [E:43654i with Node: <0000000000000000, 0> S:0 M:243746036] (U) Msg Retransmission to 0:0000000000000000 failure (max retries:4)
2025-03-12 22:34:56.738 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <000000000000004F, 1>. Current state was 1
2025-03-12 22:35:05.780 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <000000000000004F, 1>. Current state was 1
2025-03-12 22:35:06.866 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <00000000000000F2, 1>. Current state was 4
2025-03-12 22:35:14.822 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from peer <000000000000004F, 1>. Current state was 1
2025-03-12 22:35:14.823 (MainThread) WARNING [matter_server.server.device_controller] <Node:79> Setup for node failed: Unable to establish CASE session with Node 79
2025-03-12 22:35:14.823 (MainThread) INFO [matter_server.server.device_controller] <Node:79> Retrying node setup in 60 seconds...

I have the same with Eightree Matter Plugs.
They can run for weeks fine and then when restarting the Matter Server addon some will give the error and show as unavailable. Some will come back online. Seems random. Other Matter devices are fine.

I can reproduce just by restarting the Matter Server addon. Plugs show in Unifi as online.
Only way to get Matter Server to see them again is to physically switch each plug off/on.

CASESession timed out while waiting for a response from peer

1 Like

That’s EXACTLY my experience with these GU10 too!