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
72.25k stars 30.24k forks source link

All matter devices are unavailable over night #127586

Open idominiki opened 3 days ago

idominiki commented 3 days ago

The problem

Since latest 2024.10 update, all my matter devices are unavailable.

IMG_0081

I don’t change my network configuration since latest update.

Reinstall of Matter Server addon doesn’t help. Adding matter devices fails with this error:

IMG_0085

What version of Home Assistant Core has the issue?

core-2024.10.0

What was the last working version of Home Assistant Core?

No response

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?

No response

Additional information

No response

home-assistant[bot] commented 3 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)

idominiki commented 3 days ago

Update: Also after restoring to 2024.9.3, all Matter devices are offline.

All matter devices are Matter over Thread devices (Eve).

I have a Unifi network configure as mentioned here: https://community.home-assistant.io/t/configuration-unifi-for-matter/671315/12

Nothing changed to my configuration, since 2 days over night, all devices are unavailable.

Devices in Apple Home are working well.

adamf83 commented 2 days ago

I’m seeing the same issue as soon as I restart the Matter Server. Matter Server version is 6.5.1

idominiki commented 2 days ago

Update: Clean installed Home Assistant: Same behavior.

Also with latest beta Matter Server addon.

agners commented 15 hours ago

@idominiki what Matter devices did you had connected (make/model, are they connected through Thread border routers? If so, what Thread border routers do you have? I guess Apple, but to get a better picture of your setup, please specify what devices you have and how they are distributed).

agners commented 15 hours ago

I have a Unifi network configure as mentioned here: https://community.home-assistant.io/t/configuration-unifi-for-matter/671315/12

What settings do you use for Multicast Enhancement and Multicase and Broadcast Control currently? Can you try with both disabled?

agners commented 14 hours ago

I’m seeing the same issue as soon as I restart the Matter Server. Matter Server version is 6.5.1

Devices being unavailable after restart is expected at first, but after setting up the subscription things should slowly become online again. Do your devices stay offline for more than say 10 minutes? If so, can you also describe your setup a bit more in detail (BR, make model, devices, type etc...)

idominiki commented 10 hours ago

Hi @agners Thanks for answering. For me the problem was the system which runs HAOS: Virtualization Station on QNAP. Whatever happens over night, on a dedicated raspberry pi everything works fine.

I just tested again: IPv6 is disabled for network configuration on my QNAP. HAOS OVA imported to Virtualization Station. Same problem in the Matter Server Addon log:

2024-10-07 20:40:45.889 (Dummy-2) CHIP_ERROR [chip.native.-] src/inet/UDPEndPointImplSockets.cpp:416: OS Error 0x02000065: Network is unreachable at src/controller/SetUpCodePairer.cpp:280

agners commented 6 hours ago

Thanks for answering. For me the problem was the system which runs HAOS: Virtualization Station on QNAP. Whatever happens over night, on a dedicated raspberry pi everything works fine.

I just tested again: IPv6 is disabled for network configuration on my QNAP. HAOS OVA imported to Virtualization Station. Same problem in the Matter Server Addon log:

Uh, this could be a IPv6 ND issue, specifically that multicasts don't make it through the bridge or similar. Check and compare the routing tables on the OS shell (ip -6 route).

Depending on how the kernel is on QNAP you might suffer this issue still.

In any case, QNAP is not really a supported virtualization environment.