yi-hack_ha_integration icon indicating copy to clipboard operation
yi-hack_ha_integration copied to clipboard

Change the camera IP in the configuration

Open isbkch opened this issue 2 years ago • 4 comments

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)

isbkch avatar Apr 06 '22 14:04 isbkch

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?

roleoroleo avatar Apr 12 '22 17:04 roleoroleo

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

isbkch avatar Jun 25 '22 01:06 isbkch

Probably core files in the .storage directory. But it's not safe to edit them manually.

roleoroleo avatar Jun 28 '22 16:06 roleoroleo

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 ?

alexfranke avatar Aug 23 '22 02:08 alexfranke

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.

github-actions[bot] avatar Apr 03 '24 02:04 github-actions[bot]