Changing Network Address of my LAN. What Data kann I migrate to a new Home-Assistant?

Hi,

I plan to change the network address of my LAN to have more space and better sort my devices, e.g:
192.168.1.x for network devices (router, AP…)
192.168.2.x for Smart-Home etc…

Since I need to change all IP addresses of my devices, I don’t think I can just copy the configuration from Home Assistant or restore a backup.

But I also don’t want to start from scratch with the configuration of my Home Assistant.
What data can I migrate?
I have a couple of automations.
I also have an InfluxDB database that I don’t want to lose.
I have Grafana but am not actively using it.

Thanks for your help and advice

You should be able to re-add any devices that can’t be simply modified, then give them the old entity_id’s so everything lines up with your automations etc again.

If you create two separate subnets on /24 networks (mask 255.255.255.0), you will need to arrange routing between them. Otherwise they will not be able to communicate.
You could also just change the network mask to /16 (255.255.0.0) to give you up to 65,536 hosts. However, you will have to change the network mask on every device - not a big problem if you are using DHCP.

I only want to change the Subnetmask to /16, with no Subneting because I would need another Router for that. I currently have a mix of DHCP and static IP-Adresses. I think I was to lazy to reserve the Adresses. But I think I will change everything to DHCP and reserve the IP-Adresses for easier Network Administration.
Thanks

Hi,

I didn´t know I could change the IDs. So I don´t think I have to make a new Installation of Home Assistant.
Thanks

I think we need more information about your smart home devices. As an example, if you have some tuya devices and if you need to pair again, they will receive some need device id/keys.

If you have ip/port based devices, i would play with config_entries.yaml file (easy to break many stuff) but at least, you can transfer some easily.

I only have IP/Port based devices (4 Plugs, 1 Hue Bridge and a Raspberry-Pi with PiHole and OpenMediavault). So I will look into the config_entries.yaml. Thanks for the Reply