logger:
default: info
logs:
pydeconz: debug
homeassistant.components.deconz: debug
My Hassio logs are as follows:
INFO (MainThread) [homeassistant.setup] Setting up deconz
INFO (MainThread) [homeassistant.setup] Setup of domain deconz took 0.0 seconds.
------ Later in the log
DEBUG (MainThread) [pydeconz.utils] Sending {} to http://172.30.33.2:80/api/API_KEY
ERROR (MainThread) [pydeconz.utils] Timeout getting deCONZ data from http://172.30.33.2:80/api/API_KEY.
------ Later in the log
ERROR (MainThread) [pydeconz] Couldnât load data from deCONZ
WARNING (MainThread) [homeassistant.config_entries] Config entry for deconz not ready yet. Retrying in 5 seconds.
------ Later in the log
ERROR (MainThread) [homeassistant.components.deconz] Config entry failed since one deCONZ instance already exists
Yesterday i tried to clear all deconz entries in the .storage directory, and then re-adding the intergration. Results where the same.
Should i try to uninstall the add-on and clearing out deconz entries in .storage and the start from scratch?
Iâm sorry if Iâm not clear, the sequence of failure is this.
Reboot Home Assistant with working deCONZ integration results in the above with all entities being unavailable.
If I then remove the integration and reboot a second time of course it doesnât work.
After another reboot I can then add deCONZ integration again and all works flawlessly.
Until I reboot again and I need to start the process overâŚ
In summary I need to reboot Home Assistant in between removing the integration and adding it again.
Yep, and now I have frequent restarts of HASS (still investigating the issue) and each time breaks deconz, for which entire family relies now for lights and most power sockets and switches
I am also struggling with this. The integration adds an internal temporary docker IP, which wonât work after reboot. Editing .storage/core.config_entries to use external IP/port gives me this error:
OK, restarting is an important feature
I am not familiar with deconz discovery, is that a separate thing? I just verified that I had discovery: in configuration.yaml.
Iâm seeing this same issue since a while back. Running hassio 0.93.1 right now but problem appeared a few releases back. Using marthoc:s hassio add-on (https://github.com/marthoc/hassio-addons)
Rebooting / restarting hassio will result in a non working integration with deconz. Re-adding the integration fixes everything until the next restart. References to 172.x.x.x IP in the log files.
The 172⌠addresses are docker internal routing range. So that will change on each restart.
Enabe discovery in Hass and investigate how to enable deconz discovery, when both are running discovery should automatically update the address of deconz