Yesterday I installed a new router setup (Google WiFi), and I changed some of the IPs of my equipment. I went through and changed all the instances of hardcoded IPs I could find in my HA configuration to the new reserved IPs. Everything seemed to go well, except for Hue.
I had been using a custom Hue sensor component, along with this config:
# Intiialize hue custom component
hue:
bridges:
- host: 192.168.86.202 #That's the new IP address; old one was 192.168.1.121
However, in my logs is this:
18-06-18 07:36:15 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.1.121
2018-06-18 07:36:15 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.1.121. Retrying in 4 seconds
2018-06-18 07:36:27 ERROR (SyncWorker_3) [homeassistant.core] Error doing job: Task was destroyed but it is pending!
2018-06-18 07:36:28 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.1.121
2018-06-18 07:36:28 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.1.121. Retrying in 8 seconds
2018-06-18 07:36:28 ERROR (MainThread) [homeassistant.core] Timer got out of sync. Resetting
2018-06-18 07:36:41 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.1.121
2018-06-18 07:36:41 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.1.121. Retrying in 16 seconds
2018-06-18 07:37:03 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.1.121
2018-06-18 07:37:03 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.1.121. Retrying in 32 seconds
2018-06-18 07:37:41 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.1.121
2018-06-18 07:37:41 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.1.121. Retrying in 64 seconds
2018-06-18 07:38:51 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.1.121
2018-06-18 07:38:51 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.1.121. Retrying in 128 seconds
2018-06-18 07:41:05 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.1.121
2018-06-18 07:41:05 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.1.121. Retrying in 256 seconds
2018-06-18 07:45:27 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.1.121
2018-06-18 07:45:27 ERROR (MainThread) [homeassistant.components.hue] Error connecting to the Hue bridge at 192.168.1.121. Retrying in 512 seconds
It’s still trying to connect to the old IP. Even after I disabled the custom component and the configuration above by commenting it out, my logs still get spammed with these connection attempts to the old IP address. I can’t figure out why; I’ve used my code editor to do a full project search for all IP addresses and have double checked everything. I also manually modified the IP in phue.conf
which is apparently generated by the component I was using (which is now disabled).
And since this started happening, none of my automations for other devices are working. I can still remotely control all my z-wave stuff from the HA UI, but none of my motion activated lights or timers or anything like that is doing what it is supposed to. I don’t know for sure that the Hue issues are related, but it’s definitely strange.
Why would it keep trying to connect to the old IP address, especially after I’ve disabled everything Hue-related I can find and renamed the entire custom_components folder?