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
69.81k stars 28.94k forks source link

Matter Integration Issue - Leviton D26HD dimmer no longer accessible from HA #100878

Closed KruseLuds closed 8 months ago

KruseLuds commented 9 months ago

The problem

I am using the Leviton D26HD dimmer firmware version 2.1.0 with the Matter integration. It was working perfectly until today. I am getting an error message in my syslog log as shown below:

Sep 25 15:13:40 kruse-pi addon_core_matter_server[754]: 2023-09-25 15:13:40 core-matter-server matter_server.server.device_controller[126] WARNING Unable to subscribe to Node 1 as it is unavailable, will retry later in the background.

Also note, I upgraded the core to core-2023.9.3 from core-2023.9.2 a couple hours ago - I do not know if this is the cause. Thie is the only change I have made to my Home Assistant setup since it stopped working. My setup which is fully up to date is listed below under "additional information".

Also, from the Leviton APP on my phone - it is working fine (but not the Home Assistant app on any device).

What version of Home Assistant Core has the issue?

core-2023.9.3

What was the last working version of Home Assistant Core?

core-2023.9.2

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

Matter

Link to integration documentation on our website

https://www.home-assistant.io/integrations/matter/

Diagnostics information

matter-f9aa338f80ad46ec77ff25cdfb6df35f-LEVDS-Dimmer-E6E1-31ad6549e64b580bcb77bec8a778a1f5.json.txt

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

System Information

version core-2023.9.3
installation_type Home Assistant Supervised
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.11.5
os_name Linux
os_version 6.1.0-12-arm64
arch aarch64
timezone America/New_York
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4825 Installed Version | 1.32.1 Stage | running Available Repositories | 1363 Downloaded Repositories | 27
AccuWeather can_reach_server | ok -- | -- remaining_requests | 18
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 | Debian GNU/Linux 12 (bookworm) -- | -- update_channel | stable supervisor_version | supervisor-2023.09.2 agent_version | 1.6.0 docker_version | 24.0.6 disk_total | 915.4 GB disk_used | 25.1 GB healthy | true supported | true supervisor_api | ok version_api | ok installed_addons | Mosquitto broker (6.3.1), Samba share (10.0.2), AdGuard Home (4.8.15), Log Viewer (0.15.1), Home Assistant Google Drive Backup (0.111.1), File editor (5.6.0), Terminal & SSH (9.7.1), Core DNS Override (0.1.1), Duck DNS (1.15.0), Matter Server (4.9.0), Custom deps deployment (1.3.4)
Dashboards dashboards | 5 -- | -- resources | 20 views | 36 mode | storage
Recorder oldest_recorder_run | August 28, 2023 at 6:03 AM -- | -- current_recorder_run | September 25, 2023 at 3:03 PM estimated_db_size | 3658.01 MiB database_engine | sqlite database_version | 3.41.2
home-assistant[bot] commented 9 months 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.

(message by CodeOwnersMention)


matter documentation matter source (message by IssueLinks)

KruseLuds commented 9 months ago

Here is a recent dump of from my syslog where the work 'matter' appears. I am only using this integration for the one device at this time:

Sep 25 15:04:08 kruse-pi addon_core_matter_server[754]: 2023-09-25 15:04:08 core-matter-server matter_server.server.device_controller[126] WARNING Unable to subscribe to Node 1 as it is unavailable, will retry later in the background. Sep 25 15:04:31 kruse-pi homeassistant[754]: #033[32m2023-09-25 15:04:31.604 INFO (MainThread) [homeassistant.setup] Setting up matter#033[0m Sep 25 15:04:31 kruse-pi homeassistant[754]: #033[32m2023-09-25 15:04:31.604 INFO (MainThread) [homeassistant.setup] Setup of domain matter took 0.0 seconds#033[0m Sep 25 15:04:33 kruse-pi homeassistant[754]: #033[32m2023-09-25 15:04:33.236 INFO (MainThread) [matter_server.client.connection] Connected to Matter Fabric 2 (379140135655029197), Schema version 4, CHIP SDK Version 2023.6.0#033[0m Sep 25 15:04:34 kruse-pi homeassistant[754]: #033[32m2023-09-25 15:04:34.039 INFO (MainThread) [matter_server.client] Matter client initialized.#033[0m Sep 25 15:04:37 kruse-pi homeassistant[754]: #033[32m2023-09-25 15:04:37.433 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.matter#033[0m Sep 25 15:04:37 kruse-pi homeassistant[754]: #033[32m2023-09-25 15:04:37.433 INFO (MainThread) [homeassistant.components.climate] Setting up climate.matter#033[0m Sep 25 15:04:37 kruse-pi homeassistant[754]: #033[32m2023-09-25 15:04:37.434 INFO (MainThread) [homeassistant.components.cover] Setting up cover.matter#033[0m Sep 25 15:04:37 kruse-pi homeassistant[754]: #033[32m2023-09-25 15:04:37.434 INFO (MainThread) [homeassistant.components.event] Setting up event.matter#033[0m Sep 25 15:04:37 kruse-pi homeassistant[754]: #033[32m2023-09-25 15:04:37.435 INFO (MainThread) [homeassistant.components.light] Setting up light.matter#033[0m Sep 25 15:04:37 kruse-pi homeassistant[754]: #033[32m2023-09-25 15:04:37.435 INFO (MainThread) [homeassistant.components.lock] Setting up lock.matter#033[0m Sep 25 15:04:37 kruse-pi homeassistant[754]: #033[32m2023-09-25 15:04:37.436 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.matter#033[0m Sep 25 15:04:39 kruse-pi homeassistant[754]: #033[32m2023-09-25 15:04:39.887 INFO (MainThread) [homeassistant.components.switch] Setting up switch.matter#033[0m Sep 25 15:07:09 kruse-pi addon_core_matter_server[754]: 2023-09-25 15:07:09 core-matter-server matter_server.server.device_controller[126] WARNING Unable to subscribe to Node 1 as it is unavailable, will retry later in the background. Sep 25 15:10:19 kruse-pi addon_core_matter_server[754]: 2023-09-25 15:10:19 core-matter-server matter_server.server.device_controller[126] WARNING Unable to subscribe to Node 1 as it is unavailable, will retry later in the background. Sep 25 15:13:40 kruse-pi addon_core_matter_server[754]: 2023-09-25 15:13:40 core-matter-server matter_server.server.device_controller[126] WARNING Unable to subscribe to Node 1 as it is unavailable, will retry later in the background. Sep 25 15:17:11 kruse-pi addon_core_matter_server[754]: 2023-09-25 15:17:11 core-matter-server matter_server.server.device_controller[126] WARNING Unable to subscribe to Node 1 as it is unavailable, will retry later in the background. Sep 25 15:20:02 kruse-pi homeassistant[754]: #033[32m2023-09-25 15:20:02.488 INFO (MainThread) [homeassistant.components.analytics] Submitted analytics to Home Assistant servers. Information submitted includes {'uuid': 'bc61fd90638f43dfbcfed40bf96a35ee', 'version': '2023.9.3', 'installation_type': 'Home Assistant Supervised', 'supervisor': {'healthy': True, 'supported': True, 'arch': 'aarch64'}, 'certificate': True, 'integrations': ['ipp', 'wemo', 'sun', 'script', 'schedule', 'shelly', 'local_calendar', 'speedtestdotnet', 'alert', 'ambient_station', 'upnp', 'systemmonitor', 'hassio', 'scene', 'adguard', 'wake_on_lan', 'input_button', 'matter', 'cast', 'api', 'template', 'accuweather', 'input_boolean', 'recorder', 'command_line', 'input_text', 'yolink', 'nest', 'mobile_app', 'default_config', 'airnow', 'switch', 'group', 'ifttt', 'logger', 'frontend', 'input_select', 'tts', 'input_datetime', 'mqtt', 'person', 'http', 'homeassistant', 'ring', 'tplink', 'timer', 'automation', 'panel_iframe', 'sensor', 'tplink_omada', 'input_number', 'github', 'notify', 'switch_as_x'], 'custom_integrations': [{'domain': 'watchman', 'version': <AwesomeVersion SemVer '0.5.1'>}, {'domain': 'retry', 'version': <AwesomeVersion SemVer '2.3.1'>}, {'domain': 'mail_and_packages', 'version': <AwesomeVersion SemVer '0.3.18'>}, {'domain': 'browser_mod', 'version': <AwesomeVersion SemVer '2.3.0'>}, {'domain': 'hacs', 'version': <AwesomeVersion SemVer '1.32.1'>}, {'domain': 'dwains_dashboard', 'version': <AwesomeVersion SemVer '3.4.3'>}, {'domain': 'ui_lovelace_minimalist', 'version': <AwesomeVersion SemVer '1.3.6'>}], 'addons': [{'slug': 'core_mosquitto', 'protected': True, 'version': '6.3.1', 'auto_update': False}, {'slug': 'core_samba', 'protected': True, 'version': '10.0.2', 'auto_update': False}, {'slug': 'a0d7b954_adguard', 'protected': True, 'version': '4.8.15', 'auto_update': True}, {'slug': 'a0d7b954_logviewer', 'protected': True, 'version': '0.15.1', 'auto_update': True}, {'slug': 'cebe7a76_hassio_google_drive_backup', 'protected': True, 'version': '0.111.1', 'auto_update': True}, {'slug': 'core_configurator', 'protected': True, 'version': '5.6.0', 'auto_update': True}, {'slug': 'core_ssh', 'protected': True, 'version': '9.7.1', 'auto_update': True}, {'slug': '68e874ae_coredns-fix', 'protected': False, 'version': '0.1.1', 'auto_update': True}, {'slug': 'core_duckdns', 'protected': True, 'version': '1.15.0', 'auto_update': True}, {'slug': 'core_matter_server', 'protected': True, 'version': '4.9.0', 'auto_update': False}, {'slug': '77f1785d_custom_deps', 'protected': True, 'version': '1.3.4', 'auto_update': False}], 'energy': {'configured': False}, 'recorder': {'engine': 'sqlite', 'version': <AwesomeVersion SimpleVer '3.41.2'>}, 'state_count': 1413, 'automation_count': 422, 'integration_count': 54, 'addon_count': 11, 'user_count': 3}#033[0m Sep 25 15:20:51 kruse-pi addon_core_matter_server[754]: 2023-09-25 15:20:51 core-matter-server matter_server.server.device_controller[126] WARNING Unable to subscribe to Node 1 as it is unavailable, will retry later in the background. Sep 25 15:24:42 kruse-pi addon_core_matter_server[754]: 2023-09-25 15:24:42 core-matter-server matter_server.server.device_controller[126] WARNING Unable to subscribe to Node 1 as it is unavailable, will retry later in the background. Sep 25 15:28:43 kruse-pi addon_core_matter_server[754]: 2023-09-25 15:28:43 core-matter-server matter_server.server.device_controller[126] WARNING Unable to subscribe to Node 1 as it is unavailable, will retry later in the background. Sep 25 15:32:53 kruse-pi addon_core_matter_server[754]: 2023-09-25 15:32:53 core-matter-server matter_server.server.device_controller[126] WARNING Unable to subscribe to Node 1 as it is unavailable, will retry later in the background. Sep 25 15:37:15 kruse-pi addon_core_matter_server[754]: 2023-09-25 15:37:15 core-matter-server matter_server.server.device_controller[126] WARNING Unable to subscribe to Node 1 as it is unavailable, will retry later in the background. Sep 25 15:41:46 kruse-pi addon_core_matter_server[754]: 2023-09-25 15:41:46 core-matter-server matter_server.server.device_controller[126] WARNING Unable to subscribe to Node 1 as it is unavailable, will retry later in the background. Sep 25 15:41:57 kruse-pi homeassistant[754]: #033[32m2023-09-25 15:41:57.672 INFO (MainThread) [matter_server.client.connection] Connected to Matter Fabric 2 (379140135655029197), Schema version 4, CHIP SDK Version 2023.6.0#033[0m Sep 25 15:41:57 kruse-pi homeassistant[754]: #033[32m2023-09-25 15:41:57.710 INFO (MainThread) [matter_server.client] Matter client initialized.#033[0m Sep 25 15:41:57 kruse-pi homeassistant[754]: #033[32m2023-09-25 15:41:57.711 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.matter#033[0m Sep 25 15:41:57 kruse-pi homeassistant[754]: #033[32m2023-09-25 15:41:57.712 INFO (MainThread) [homeassistant.components.climate] Setting up climate.matter#033[0m Sep 25 15:41:57 kruse-pi homeassistant[754]: #033[32m2023-09-25 15:41:57.712 INFO (MainThread) [homeassistant.components.cover] Setting up cover.matter#033[0m Sep 25 15:41:57 kruse-pi homeassistant[754]: #033[32m2023-09-25 15:41:57.712 INFO (MainThread) [homeassistant.components.event] Setting up event.matter#033[0m Sep 25 15:41:57 kruse-pi homeassistant[754]: #033[32m2023-09-25 15:41:57.713 INFO (MainThread) [homeassistant.components.light] Setting up light.matter#033[0m Sep 25 15:41:57 kruse-pi homeassistant[754]: #033[32m2023-09-25 15:41:57.713 INFO (MainThread) [homeassistant.components.lock] Setting up lock.matter#033[0m Sep 25 15:41:57 kruse-pi homeassistant[754]: #033[32m2023-09-25 15:41:57.713 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.matter#033[0m Sep 25 15:41:57 kruse-pi homeassistant[754]: #033[32m2023-09-25 15:41:57.714 INFO (MainThread) [homeassistant.components.switch] Setting up switch.matter#033[0m pi@kruse-pi:~$

KruseLuds commented 9 months ago

FYI - Update - it started working last night. I had to reboot my router (and then my HA) as my internet connection was not stable, that isssue is gone, but it appears this same problem came back again. So, it appears that "will retry later in the background" 'sometimes' - eventually works. But, it definately is an issue.

Quentame commented 9 months ago

Hi ! The issue may also come from the device Matter over Wi-Fi integration. Was the device also accessible via other admins like HomeKit or Google Home ?

KruseLuds commented 9 months ago

Currently no, for remotely accessing the dimmer, I only use the "my Lutron" Android app, or Home assistant.

Quentame commented 9 months ago

OK. When the device is not accessible via HA: Is it also not accessible via the Lutron app ?

marcelveldt commented 9 months ago

Make sure your network can handle multicast IPv6 traffic (and is not actively blocking that). I am by no means a network expert but these are my discoveries in the last 6 months of troubleshooting Matter:

marcelveldt commented 9 months ago

Your log is a bit hard to read but it looks very clear that the Matter controller is unable to communicate with the device. Did you already try a full restart of the HA host ?