-
-
Notifications
You must be signed in to change notification settings - Fork 28.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Matter devices are unavailable in Home Assistant after restoring Home Assistant OS. #121038
Comments
Hey there @home-assistant/matter, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) matter documentation |
all of the add-ons are not working after restoring the HA. |
Did you restore a recent backup of HA (including the addon config) ? Can you clarify if your devices show up in the interface but as unavailable OR they do not show up at all ? |
Thank you for your response. My devices show up in the interface as Unavailable. I restored the most recent backup that I made a few hours before restoring. Everything is working as it was including my addons and integrations, except for matter devices. Matter Server - 6.1.2 Python Matter Server |
I'm a little bit afraid that the backup you restored was too old and that causes some trust/ACL issues but that is just a hunch. |
This is what Matter logs show and home assistant logs are attached. I only keep the latest backup. 2024-07-03 13:04:16.402 (Dummy-2) CHIP_DETAIL [chip.native.CTL] StorageAdapter::DeleteKeyValue: Key = g/fs/c 2024-07-03 13:04:16.403 (Dummy-2) CHIP_DETAIL [chip.native.CTL] StorageAdapter::GetKeyValue: Key = f/1/k/0, Value = 0x7f81749578 (128) 2024-07-03 13:04:16.404 (Dummy-2) CHIP_DETAIL [chip.native.CTL] StorageAdapter::SetKeyValue: Key = f/1/k/0, Value = 0x7f81749578 (97) |
OK, my hunch was right - your backup did not include the Matter add-on data. |
I used built in backup tool to do full backup. Was there more that I needed to do? |
OK, interesting - and in the restore process, did you restore the full backup or partial ? What you may want to do is restore the backup again but ONLY select Matter in the add-ons. |
I restored the full backup. Thank you very much for the information! I will try that and see what happens. |
OK, please let us know if an additional restore of the backup (for just the matter add-on) solved the issue. |
I started using Home Assistant last month and wasn't aware of backup sizes. I checked all my backups, and they were between 30 to 50 MB. After restoring, I noticed that my Matter devices were not restored, so I started with a new Home Assistant instance. I backed up my new instance with a few Matter devices added, and I can see the backup size is now about 600 MB. You were right; the problem was with my backup. Thank you again for your help! I really appreciate it! |
Great thanks for the confirmation - we will take this into consideration of maybe adding a safeguard backup to prevent others running into the same situation as it may not be super clear (especially if you are new) that the Matter data is stored in the add-on. |
The problem
After restoring my Home Assistant OS, all my Matter devices are showing as unavailable. I've tried various troubleshooting steps, but the issue persists. Here are the details of my setup and the steps I've taken:
System Information:
Core: 2024.6.4
Supervisor: 2024.06.2
Operating System: 12.4
Frontend: 20240610.1
Matter Server: 6.1.2
Steps to Reproduce:
Restored Home Assistant OS.
Checked Matter integration configuration.
Restarted the Matter server.
Attempted to re-add Matter devices through the integration page which worked.
Ensured all devices have the latest firmware.
Confirmed Home Assistant and related components are up to date.
Expected Behavior:
Matter devices should reconnect and be available in Home Assistant after OS restore.
Current Behavior:
All Matter devices are showing as unavailable despite following the troubleshooting steps.
Additional Context:
I have confirmed that the Matter integration is correctly configured.
The Matter server has been restarted multiple times with no change.
Network settings have been checked and confirmed correct.
Firmware and software are up to date.
What version of Home Assistant Core has the issue?
2024.6.4
What was the last working version of Home Assistant Core?
2024.6.4
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Matter
Link to integration documentation on our website
https://www.home-assistant.io/integrations/matter/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: