Hi there, something strange started occurring about a week ago.. The local IP address for my Hubitat Hub is being replaced by something completely different thats NOT part of my local address..
My router still sees the Hubitat hub with the original local IP (192.168.1.xx) BUT in the Hubitat "Settings" i see an address of 169.254.8.182, when it should be a 192.168.1.xx..
As a result my dashboards dont work.. BUT I can still see all my devices from the Hubitat hub.
It appears to go back to normal when i unplug and replug the Hubitat box.
It might also mean that when your home experiences a power blip, that your Hubitat hub is booting up and requesting a DHCP address before your home router is fully up and available to provide that IP address via DHCP. In this case, the Hubitat hub will timeout and then auto-assign itself an address in the 169.254.x.x range.
@fdelima
This explanation is more likely. If you haven't already, I'd recommend putting your router and Hubitat on a UPS. If there's an ethernet switch in the mix, put that on the UPS as well.
Keep the assigned reserved address on your router but also assign the same static IP on the hub, this will ensure that it will always have the correct IP address whether the DHCP is up or not.
EDIT: but if you decide to change the IP one place, remember to change the other place or you will run into problems!
ok i have the hub on the reserved IP list of my router BUT its going through a switch before plugging into the velop node... so maybe i should put the switch into the router reserver IP table as well.
It is a link-local address that gets assigned automatically if an IP address cannot be obtained from a DHCP/BOOTP server, or if the interface is not configured with an IP address. That's why I like @nclark's suggestion to have a DHCP reserved address and configure a static IP for the HE.
Sorry i may have missed something.. unclear how to assign an ip on the hub itself.... I thought it asks for an IP from the router DHCP. so i've put the hub IP (assigned by the dhcp) in the router reserved table.... But i didnt know theres a way to preset the IP in the hub itself.... Can i please ask how.. ?
Unless it is a managed switch, it will not have an IP address. I think that the better thing to do would be to put your velop, switch, and HE all on a UPS.
Ok just figured out how to setup the static ip in the Hub.... thanks for the tip..... I suppose I need to make sure that the IP is OUT of the DHCP Ip range..... so if i put the IP in the reserved list , I believe that will take care of it from the dhcp perspective, right ?