I have about 50 white dimmers installed in my house with about 15 more to come. My matter network has been pretty stable for the last couple of weeks. Occasionally a switch would drop off the network for 5 or 10 minutes, but it would always return. No big deal overall.
But 3 or 4 days ago my network became very very unstable for no particular reason. I didn’t install any new switches. I don’t think I made any Home Assistant updates. Now at least once a day my network will basically die. Switches start falling off and on in quick succession and the network never comes fully back up. I have to walk around my house manually resetting a dozen switches to get them back on line. No good!
Looking at the matter log there are lots of errors. Like so:
2024-11-19 13:59:54.240 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from the peer. Current state was 4
2024-11-19 13:59:54.252 (Dummy-2) CHIP_ERROR [chip.native.DMG] Time out! failed to receive report data from Exchange: 12786i with Node: <0000000000000016, 1>
2024-11-19 13:59:54.254 (Dummy-2) CHIP_ERROR [chip.native.DMG] Time out! failed to receive report data from Exchange: 12787i with Node: <0000000000000013, 1>
2024-11-19 13:59:54.256 (Dummy-2) CHIP_ERROR [chip.native.DMG] Subscription Liveness timeout with SubscriptionID = 0xe975f608, Peer = 01:0000000000000010
2024-11-19 13:59:54.259 (Dummy-2) CHIP_ERROR [chip.native.DMG] Time out! failed to receive report data from Exchange: 12778i with Node: <0000000000000015, 1>
2024-11-19 13:59:54.261 (Dummy-2) CHIP_ERROR [chip.native.DMG] Time out! failed to receive report data from Exchange: 12781i with Node: <000000000000002A, 1>
2024-11-19 13:59:54.262 (Dummy-2) CHIP_ERROR [chip.native.DMG] Time out! failed to receive report data from Exchange: 12788i with Node: <000000000000000E, 1>
2024-11-19 13:59:54.264 (Dummy-2) CHIP_ERROR [chip.native.DMG] Subscription Liveness timeout with SubscriptionID = 0xb20a868f, Peer = 01:000000000000001A
2024-11-19 13:59:54.270 (Dummy-2) CHIP_ERROR [chip.native.DMG] Subscription Liveness timeout with SubscriptionID = 0x3cd4949d, Peer = 01:0000000000000035
I’m also seeing an occasional python stack trace:
2024-11-19 14:00:40.968 (MainThread) ERROR [aiohttp.server] Error handling request
Traceback (most recent call last):
File “/usr/local/lib/python3.11/site-packages/aiohttp/web_protocol.py”, line 477, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/aiohttp/web_app.py”, line 559, in _handle
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/matter_server/server/server.py”, line 82, in _handle_ws
return await connection.handle_client()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/matter_server/server/client_handler.py”, line 80, in handle_client
await wsock.prepare(request)
File “/usr/local/lib/python3.11/site-packages/aiohttp/web_ws.py”, line 204, in prepare
payload_writer = await super().prepare(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/aiohttp/web_response.py”, line 426, in prepare
return await self._start(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/site-packages/aiohttp/web_response.py”, line 434, in _start
await self._write_headers()
File “/usr/local/lib/python3.11/site-packages/aiohttp/web_response.py”, line 513, in _write_headers
await writer.write_headers(status_line, self._headers)
File “/usr/local/lib/python3.11/site-packages/aiohttp/http_writer.py”, line 131, in write_headers
self._write(buf)
File “/usr/local/lib/python3.11/site-packages/aiohttp/http_writer.py”, line 76, in _write
raise ClientConnectionResetError(“Cannot write to closing transport”)
aiohttp.client_exceptions.ClientConnectionResetError: Cannot write to closing transport
I have a very vanilla setup. Inovelli switches are the only thing on my network. I’ve got a Home Assistant Green and a Connect ZBT-1.
Any suggestions on how I might proceed here? I knew getting into this I was embarking on a bit of an adventure, but at some point I will try my wife’s patience. :-p
Thanks!
-harryh