Can’t tell. Im runnning on HomeassistantOS RP4 64Bit. michaelblight who had the Solution by looking at his config is using Hassos as well, but in a VM.
I’d think it is worth a try. Worst case should be, that after a reboot you can’t control Deconz with HA. Then you just do what you already did - entering the static IP again and reboot again I would give it a shot
Unfortunately It dit not work for me.
I tried both “core_deconz” and “addon_core_deconz” in /config/.storage/core.config_entries. Neither worked and had to go back to the IP address.
I uses Glances to see the container name
If anyone has a suggestion what else to try?
Sorry I used underscore and it should be minus -
Had the same issue
Found this post and learnd about the location of the core.config_entries.
As my primary system which is a system running for multiple years didn’t had this issue I compaired the core.config_enties files and noticed that the older system had core-deconz defined instead of the ip-address so I replaced it in the newer system and restarted it and all started working like it should.
Wanted to post my solution to help but smartin beat me to it by 41 days
I’d just like to add that there’s an easier way to do this with the simple file editor add on (ie Home Assistants own addon) instead of a Home Assistant Community Visual Code Studio Addon. Just go to the Simple File Editor addon’s configuration GUI and remove “.storage” from the ignore patterns section there.
Then you can just browse (from the GUI) to the core.config_entries file, edit and save (after backing up, of course!)
sed -i 's/172.30.33.0/core-deconz/' /config/.storage/core.config_entries
diff /config/.storage/core.config_entries /config/.storage/core.config_entries.bak
After a while when I did the diff I would see unrelated access token is refreshed, no need to be alarmed by a difference like that.
Restarting HASS allowed the host address change to kick in and fix the issue. Going to the addons menu > Deconz choosing Restart and integrations menu > Deconz choosing Reload didn’t help. One seemed to revert the core.config_entries change.
This morning I woke up because of two-second power outage, because that caused my TV to turn on. Although a power outage that short should not reboot my Raspberry where my HASS is, seems like the battery in my UPS is dead then. Anyway, this power outage broke (for some reason) my whole zigbee network with this same error “Error connecting to deCONZ gateway”.
Thanks to this thread, I managed to get it fixed again by changing that IP address in core.config_entries to “core-deconz”. Hopefully when the next power outage comes (at least when I replace that battery in the UPS, unless I shut down the HASS properly), this does not change again
This right here worked for me!!.. Still have absolutely no idea why IP is strange. Been running the HA for 2 years without any problems.
RP4 with deconz
Thank you!
It worked for me too.
After about one year without problem the deconz IP began to change again.
I have used “core-deconz” and it work well, also after reboot
Thanks, I had the same issue after updating to the latest HA Version. Installed the VSC Server Plugin and changed the IP in config_entries to the new one.
The issue is IPs change, but you can change configuration to use a service name which will always point to the new IP, thus requiring no further IP changes in configuration.
My sanity saved, thank you! I tried changing the IP address but it reverted on restarting.
I migrated from a Rpi3 to a Lenovo M600 (VirtualBox), and this was the only real issue I had.
I have what I believe is the same issue. Last night I turned off my Home Assistant box for around an hour. After turning it back on my Aqara sensors are failing to update. Within the core_deconz UI they note a last refreshed time of moments before I turned off my Home Assistant box (over 24 hours ago)
I’ve read through the fixes above, both changing the IP and changing the host to “core-deconz”. However, neither appear to be working for me. I fear I might be doing something wrong.
The file I am editing is:
“/config/.storage/core.config_entries”
And the section within that file looks something like this:
As you can see, it’s not been refreshed for two days now (since the moment I took the Home Assistant box offline for an hour). This is also the case for my other sensors.