Hi,
I know this has been asked before in one way or another, and that there have been requests to make this configurable…however I can’t quite find the answers I’m seeking…
In short I have about 80 devices (Shelly relays, climate devices, smart plugs, solar inverters, ESPs etc) that all live in a dedicated vLAN and subnet (192.168.20.0). For reasons that aren’t relevant here but that are material enough to make me flagellate myself with reconfiguration work I need to change the vLAN and IP addressing for these devices… Somewhat like the movie I’m basically changing everything, everywhere, all at once…
The required vLAN changes I have completed with no major issues, but I have yet to re-address everything. Luckily everything is on DHCP with fixed reservations and access to NTP etc is all via DNS-based hostnames to moving the devices themselves should be little more than rebooting them which I can do just by power cycling them or the circuits to which they are connected. However, in HA the IP addresses are recorded for each device and I really don’t want it to discover all ‘new’ devices…
After backing up HA (just in case) I want to:
- Update the subnet addressing (to 192.168.5.0)
- Update the DHCP reservations (e.g. 192.168.20.100 gets updated to 192.168.5.100)
- Power cycle the devices so that they flip over to the new addresses
- Watch HA re-find all the devices on the new addresses.
I think I going to crash and burn on #4.
I’ve seen suggestions to delete all the integrations so that they are re-discovered and re-added with the original names, and I’ve seen suggestions to stop HA and edit the core.config_entries file to update the addressing before restarting everything.
Is there an ‘official’ way of doing this? It seems to me that while this an edge use case from time to time some users will have to do something like this and I’m not sure HA will survive such a large shift in the device configuration…
Help?