home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.83k stars 30.08k forks source link

Frequent Disconnections of Eve Energy and Eve Weather in Matter with Home Assistant #126914

Open Sharo0s opened 2 days ago

Sharo0s commented 2 days ago

The problem

My Eve Energy and Eve Weather devices using Matter disconnect every 2 to 3 days, forcing me to restart Home Assistant. I use the Home Assistant Connect ZBT-1 to matter with an extension cable.

What version of Home Assistant Core has the issue?

System Information version | core-2024.9.3 -- | -- installation_type | Home Assistant OS dev | false hassio | true docker | true user | root virtualenv | false python_version | 3.12.4 os_name | Linux os_version | 6.6.46-haos arch | x86_64 timezone | Europe/Paris config_dir | /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok HACS Data | ok GitHub API Calls Remaining | 5000 Installed Version | 2.0.1 Stage | running Available Repositories | 1421 Downloaded Repositories | 2
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 13.1 -- | -- update_channel | stable supervisor_version | supervisor-2024.09.1 agent_version | 1.6.0 docker_version | 26.1.4 disk_total | 468.7 GB disk_used | 10.9 GB healthy | true supported | true host_connectivity | true supervisor_connectivity | true ntp_synchronized | true virtualization | board | generic-x86-64 supervisor_api | ok version_api | ok installed_addons | Terminal & SSH (9.15.0), Studio Code Server (5.15.0), OpenThread Border Router (2.10.0), Matter Server (6.5.1), Zigbee2MQTT (1.40.1-1), Mosquitto broker (6.4.1), Tailscale (0.22.0)
Dashboards dashboards | 3 -- | -- resources | 0 views | 1 mode | storage
Recorder oldest_recorder_run | 17 septembre 2024 à 21:43 -- | -- current_recorder_run | 26 septembre 2024 à 13:18 estimated_db_size | 35.06 MiB database_engine | sqlite database_version | 3.45.3

What was the last working version of Home Assistant Core?

core-2024.9.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

2024-09-26 13:41:16.310 (MainThread) INFO [matter_server.server.sdk] <Node:3> Attempting to establish CASE session... (attempt 2 of 2)
2024-09-26 13:41:47.326 (Dummy-2) CHIP_ERROR [chip.native.DIS] Timeout waiting for mDNS resolution.
2024-09-26 13:42:01.312 (Dummy-2) CHIP_ERROR [chip.native.DIS] OperationalSessionSetup[1:0000000000000003]: operational discovery failed: src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout
2024-09-26 13:42:01.313 (MainThread) WARNING [matter_server.server.device_controller] <Node:3> Setup for node failed: Unable to establish CASE session with Node 3
2024-09-26 13:42:01.314 (MainThread) INFO [matter_server.server.device_controller] <Node:3> Retrying node setup in 60 seconds...
2024-09-26 13:43:01.319 (MainThread) INFO [matter_server.server.device_controller] <Node:3> Setting-up node...
2024-09-26 13:43:32.331 (Dummy-2) CHIP_ERROR [chip.native.DIS] Timeout waiting for mDNS resolution.
2024-09-26 13:43:46.325 (Dummy-2) CHIP_ERROR [chip.native.DIS] OperationalSessionSetup[1:0000000000000003]: operational discovery failed: src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout
2024-09-26 13:43:49.327 (MainThread) INFO [matter_server.server.sdk] <Node:3> Attempting to establish CASE session... (attempt 2 of 2)
2024-09-26 13:44:20.339 (Dummy-2) CHIP_ERROR [chip.native.DIS] Timeout waiting for mDNS resolution.
2024-09-26 13:44:34.343 (Dummy-2) CHIP_ERROR [chip.native.DIS] OperationalSessionSetup[1:0000000000000003]: operational discovery failed: src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout
2024-09-26 13:44:34.344 (MainThread) WARNING [matter_server.server.device_controller] <Node:3> Setup for node failed: Unable to establish CASE session with Node 3
2024-09-26 13:44:34.345 (MainThread) INFO [matter_server.server.device_controller] <Node:3> Retrying node setup in 60 seconds...
2024-09-26 13:45:34.353 (MainThread) INFO [matter_server.server.device_controller] <Node:3> Setting-up node...
2024-09-26 13:46:05.372 (Dummy-2) CHIP_ERROR [chip.native.DIS] Timeout waiting for mDNS resolution.
2024-09-26 13:46:19.369 (Dummy-2) CHIP_ERROR [chip.native.DIS] OperationalSessionSetup[1:0000000000000003]: operational discovery failed: src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout
2024-09-26 13:46:22.373 (MainThread) INFO [matter_server.server.sdk] <Node:3> Attempting to establish CASE session... (attempt 2 of 2)
2024-09-26 13:46:53.387 (Dummy-2) CHIP_ERROR [chip.native.DIS] Timeout waiting for mDNS resolution.
2024-09-26 13:47:07.376 (Dummy-2) CHIP_ERROR [chip.native.DIS] OperationalSessionSetup[1:0000000000000003]: operational discovery failed: src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout
2024-09-26 13:47:07.377 (MainThread) WARNING [matter_server.server.device_controller] <Node:3> Setup for node failed: Unable to establish CASE session with Node 3
2024-09-26 13:47:07.377 (MainThread) INFO [matter_server.server.device_controller] <Node:3> Retrying node setup in 60 seconds...
2024-09-26 13:48:07.389 (MainThread) INFO [matter_server.server.device_controller] <Node:3> Setting-up node...
2024-09-26 13:48:38.417 (Dummy-2) CHIP_ERROR [chip.native.DIS] Timeout waiting for mDNS resolution.
2024-09-26 13:48:52.398 (Dummy-2) CHIP_ERROR [chip.native.DIS] OperationalSessionSetup[1:0000000000000003]: operational discovery failed: src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout
2024-09-26 13:48:55.403 (MainThread) INFO [matter_server.server.sdk] <Node:3> Attempting to establish CASE session... (attempt 2 of 2)
2024-09-26 13:49:26.422 (Dummy-2) CHIP_ERROR [chip.native.DIS] Timeout waiting for mDNS resolution.
2024-09-26 13:49:40.406 (Dummy-2) CHIP_ERROR [chip.native.DIS] OperationalSessionSetup[1:0000000000000003]: operational discovery failed: src/lib/address_resolve/AddressResolve_DefaultImpl.cpp:119: CHIP Error 0x00000032: Timeout
2024-09-26 13:49:40.407 (MainThread) WARNING [matter_server.server.device_controller] <Node:3> Setup for node failed: Unable to establish CASE session with Node 3
2024-09-26 13:49:40.407 (MainThread) WARNING [matter_server.server.device_controller] <Node:3> Node setup not completed after 30 minutes, giving up.
2024-09-27 01:18:32.829 (MainThread) INFO [matter_server.server.device_controller] <Node:4> No new update found.
2024-09-27 12:11:50.476 (Dummy-2) CHIP_ERROR [chip.native.DMG] Subscription Liveness timeout with SubscriptionID = 0x2ef8fc9b, Peer = 01:0000000000000004
2024-09-27 12:11:50.481 (MainThread) INFO [matter_server.server.device_controller] <Node:4> Subscription failed with CHIP Error 0x00000032: Timeout, resubscription attempt 0
2024-09-27 12:12:32.847 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to Send CHIP MessageCounter:174346791 on exchange 6493i with Node: <0000000000000000, 0> sendCount: 4 max retries: 4
2024-09-27 12:12:39.199 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from the peer. Current state was 4
2024-09-27 12:13:19.328 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to Send CHIP MessageCounter:174346792 on exchange 6494i with Node: <0000000000000000, 0> sendCount: 4 max retries: 4
2024-09-27 12:13:27.722 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from the peer. Current state was 4
2024-09-27 12:13:27.723 (Dummy-2) CHIP_ERROR [chip.native.DMG] Failed to establish CASE for re-subscription with error 'src/protocols/secure_channel/CASESession.cpp:560: CHIP Error 0x00000032: Timeout'
2024-09-27 12:13:27.725 (MainThread) INFO [matter_server.server.device_controller] <Node:4> Subscription failed with CHIP Error 0x00000032: Timeout, resubscription attempt 1
2024-09-27 12:14:14.113 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to Send CHIP MessageCounter:174346793 on exchange 6495i with Node: <0000000000000000, 0> sendCount: 4 max retries: 4
2024-09-27 12:14:20.657 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from the peer. Current state was 4
2024-09-27 12:15:01.540 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to Send CHIP MessageCounter:174346794 on exchange 6496i with Node: <0000000000000000, 0> sendCount: 4 max retries: 4
2024-09-27 12:15:09.179 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from the peer. Current state was 4
2024-09-27 12:15:09.180 (Dummy-2) CHIP_ERROR [chip.native.DMG] Failed to establish CASE for re-subscription with error 'src/protocols/secure_channel/CASESession.cpp:560: CHIP Error 0x00000032: Timeout'
2024-09-27 12:15:09.182 (MainThread) INFO [matter_server.server.device_controller] <Node:4> Subscription failed with CHIP Error 0x00000032: Timeout, resubscription attempt 2
2024-09-27 12:15:09.182 (MainThread) INFO [matter_server.server.device_controller] <Node:4> Marked node as unavailable
2024-09-27 12:15:56.971 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to Send CHIP MessageCounter:174346795 on exchange 6497i with Node: <0000000000000000, 0> sendCount: 4 max retries: 4
2024-09-27 12:16:03.166 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from the peer. Current state was 4
2024-09-27 12:16:42.507 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to Send CHIP MessageCounter:174346796 on exchange 6498i with Node: <0000000000000000, 0> sendCount: 4 max retries: 4
2024-09-27 12:16:51.691 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from the peer. Current state was 4
2024-09-27 12:16:51.691 (Dummy-2) CHIP_ERROR [chip.native.DMG] Failed to establish CASE for re-subscription with error 'src/protocols/secure_channel/CASESession.cpp:560: CHIP Error 0x00000032: Timeout'
2024-09-27 12:16:51.693 (MainThread) INFO [matter_server.server.device_controller] <Node:4> Subscription failed with CHIP Error 0x00000032: Timeout, resubscription attempt 3
2024-09-27 12:17:40.220 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to Send CHIP MessageCounter:174346797 on exchange 6499i with Node: <0000000000000000, 0> sendCount: 4 max retries: 4
2024-09-27 12:17:47.156 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from the peer. Current state was 4
2024-09-27 12:18:30.127 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to Send CHIP MessageCounter:174346798 on exchange 6500i with Node: <0000000000000000, 0> sendCount: 4 max retries: 4
2024-09-27 12:18:35.677 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from the peer. Current state was 4
2024-09-27 12:18:35.678 (Dummy-2) CHIP_ERROR [chip.native.DMG] Failed to establish CASE for re-subscription with error 'src/protocols/secure_channel/CASESession.cpp:560: CHIP Error 0x00000032: Timeout'
2024-09-27 12:18:35.680 (MainThread) INFO [matter_server.server.device_controller] <Node:4> Subscription failed with CHIP Error 0x00000032: Timeout, resubscription attempt 4
2024-09-27 12:19:41.855 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to Send CHIP MessageCounter:174346799 on exchange 6501i with Node: <0000000000000000, 0> sendCount: 4 max retries: 4
2024-09-27 12:19:48.006 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from the peer. Current state was 4
2024-09-27 12:20:31.602 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to Send CHIP MessageCounter:174346800 on exchange 6502i with Node: <0000000000000000, 0> sendCount: 4 max retries: 4
2024-09-27 12:20:36.524 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from the peer. Current state was 4
2024-09-27 12:20:36.524 (Dummy-2) CHIP_ERROR [chip.native.DMG] Failed to establish CASE for re-subscription with error 'src/protocols/secure_channel/CASESession.cpp:560: CHIP Error 0x00000032: Timeout'
2024-09-27 12:20:36.526 (MainThread) INFO [matter_server.server.device_controller] <Node:4> Subscription failed with CHIP Error 0x00000032: Timeout, resubscription attempt 5
2024-09-27 12:21:54.483 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to Send CHIP MessageCounter:174346801 on exchange 6503i with Node: <0000000000000000, 0> sendCount: 4 max retries: 4
2024-09-27 12:22:02.877 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from the peer. Current state was 4
2024-09-27 12:22:42.859 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to Send CHIP MessageCounter:174346802 on exchange 6504i with Node: <0000000000000000, 0> sendCount: 4 max retries: 4
2024-09-27 12:22:51.395 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from the peer. Current state was 4
2024-09-27 12:22:51.395 (Dummy-2) CHIP_ERROR [chip.native.DMG] Failed to establish CASE for re-subscription with error 'src/protocols/secure_channel/CASESession.cpp:560: CHIP Error 0x00000032: Timeout'
2024-09-27 12:22:51.397 (MainThread) INFO [matter_server.server.device_controller] <Node:4> Subscription failed with CHIP Error 0x00000032: Timeout, resubscription attempt 6
2024-09-27 12:24:50.014 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to Send CHIP MessageCounter:174346803 on exchange 6505i with Node: <0000000000000000, 0> sendCount: 4 max retries: 4
2024-09-27 12:24:57.912 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from the peer. Current state was 4
2024-09-27 12:25:40.493 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to Send CHIP MessageCounter:174346804 on exchange 6506i with Node: <0000000000000000, 0> sendCount: 4 max retries: 4
2024-09-27 12:25:46.428 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from the peer. Current state was 4
2024-09-27 12:25:46.428 (Dummy-2) CHIP_ERROR [chip.native.DMG] Failed to establish CASE for re-subscription with error 'src/protocols/secure_channel/CASESession.cpp:560: CHIP Error 0x00000032: Timeout'
2024-09-27 12:25:46.430 (MainThread) INFO [matter_server.server.device_controller] <Node:4> Subscription failed with CHIP Error 0x00000032: Timeout, resubscription attempt 7
2024-09-27 12:28:21.385 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to Send CHIP MessageCounter:174346805 on exchange 6507i with Node: <0000000000000000, 0> sendCount: 4 max retries: 4
2024-09-27 12:28:27.898 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from the peer. Current state was 4
2024-09-27 12:29:11.001 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to Send CHIP MessageCounter:174346806 on exchange 6508i with Node: <0000000000000000, 0> sendCount: 4 max retries: 4
2024-09-27 12:29:16.417 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from the peer. Current state was 4
2024-09-27 12:29:16.418 (Dummy-2) CHIP_ERROR [chip.native.DMG] Failed to establish CASE for re-subscription with error 'src/protocols/secure_channel/CASESession.cpp:560: CHIP Error 0x00000032: Timeout'
2024-09-27 12:29:16.419 (MainThread) INFO [matter_server.server.device_controller] <Node:4> Subscription failed with CHIP Error 0x00000032: Timeout, resubscription attempt 8
2024-09-27 12:32:31.047 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to Send CHIP MessageCounter:174346807 on exchange 6509i with Node: <0000000000000000, 0> sendCount: 4 max retries: 4
2024-09-27 12:32:38.189 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from the peer. Current state was 4
2024-09-27 12:33:20.526 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to Send CHIP MessageCounter:174346808 on exchange 6510i with Node: <0000000000000000, 0> sendCount: 4 max retries: 4
2024-09-27 12:33:26.710 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from the peer. Current state was 4
2024-09-27 12:33:26.710 (Dummy-2) CHIP_ERROR [chip.native.DMG] Failed to establish CASE for re-subscription with error 'src/protocols/secure_channel/CASESession.cpp:560: CHIP Error 0x00000032: Timeout'
2024-09-27 12:33:26.712 (MainThread) INFO [matter_server.server.device_controller] <Node:4> Subscription failed with CHIP Error 0x00000032: Timeout, resubscription attempt 9
2024-09-27 12:36:15.050 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to Send CHIP MessageCounter:174346809 on exchange 6511i with Node: <0000000000000000, 0> sendCount: 4 max retries: 4
2024-09-27 12:36:22.652 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from the peer. Current state was 4
2024-09-27 12:37:04.430 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to Send CHIP MessageCounter:174346810 on exchange 6512i with Node: <0000000000000000, 0> sendCount: 4 max retries: 4
2024-09-27 12:37:11.167 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from the peer. Current state was 4
2024-09-27 12:37:11.168 (Dummy-2) CHIP_ERROR [chip.native.DMG] Failed to establish CASE for re-subscription with error 'src/protocols/secure_channel/CASESession.cpp:560: CHIP Error 0x00000032: Timeout'
2024-09-27 12:37:11.170 (MainThread) INFO [matter_server.server.device_controller] <Node:4> Subscription failed with CHIP Error 0x00000032: Timeout, resubscription attempt 10
2024-09-27 12:45:14.099 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to Send CHIP MessageCounter:174346811 on exchange 6513i with Node: <0000000000000000, 0> sendCount: 4 max retries: 4
2024-09-27 12:45:20.665 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from the peer. Current state was 4
2024-09-27 12:46:03.499 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to Send CHIP MessageCounter:174346812 on exchange 6514i with Node: <0000000000000000, 0> sendCount: 4 max retries: 4
2024-09-27 12:46:09.185 (Dummy-2) CHIP_ERROR [chip.native.SC] CASESession timed out while waiting for a response from the peer. Current state was 4
2024-09-27 12:46:09.186 (Dummy-2) CHIP_ERROR [chip.native.DMG] Failed to establish CASE for re-subscription with error 'src/protocols/secure_channel/CASESession.cpp:560: CHIP Error 0x00000032: Timeout'
2024-09-27 12:46:09.187 (MainThread) INFO [matter_server.server.device_controller] <Node:4> Subscription failed with CHIP Error 0x00000032: Timeout, resubscription attempt 11
2024-09-27 12:46:09.188 (MainThread) INFO [matter_server.server.device_controller] <Node:4> Node considered offline, shutdown subscription
2024-09-27 13:18:33.156 (MainThread) INFO [matter_server.server.device_controller] <Node:4> No new update found.

Additional information

No response

home-assistant[bot] commented 2 days ago

Hey there @home-assistant/matter, mind taking a look at this issue as it has been labeled with an integration (matter) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `matter` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign matter` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


matter documentation matter source (message by IssueLinks)

marcelveldt commented 2 days ago

Hi, how close are the devices from the ZBT-1 ? This log looks like either serious RF issues or the nodes fail to resolve using mdns. Most probably just RF related. Are you using a channel for Thread that is not overlapping with WiFi or Zigbee ?