yi-hack_ha_integration
yi-hack_ha_integration copied to clipboard
Change the camera IP in the configuration
My system rebooted and my camera IP changed even though it was reserved... Anyway, I'm wondering how can I change the camera IP without having to reinstall it again (and loose all my preconfigured automations)
I should implement a service discovery protocol in the cam. But it isn't a simple task. Are you able to set a dhcp reservation with your router?
Yes, I am, it's just that sometimes when the power goes out, even my reserved addresses get reset, probably a bug with my router or something. I was just wondering where can I change the IP of an already set up camera, a file? a line in DB? I would lose all my automation if I had to delete the old camera and add it from scratch
Probably core files in the .storage directory. But it's not safe to edit them manually.
Yeah, config.storage\core.config_entries is where I changed the IP addresses of a few cameras after I moved them to a different vlan. (It seems to work fine with a manual change.) I also couldn't find a mechanism to update the IP address after initially adding them. Did you get this working, @isbkch ?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.