Hello -
The optimal solution would be to use hostnames instead of IP addresses, but unfortunately that is not supported in the Edge environment.
Are you using Rules to build your requests on the fly? I’m trying to better understand how you have things set up.
In case you weren’t aware, I have an Edge driver specifically for Shelly devices. There is a driver specifically for Gen1 devices, and a separate one for Gen2 devices. The Gen1 driver requires you to configure the device IP address, so it may not necessarily make things much easier when IP address change due to device swap-out. The Gen2 driver, however, auto-discovers devices, so that issue is addressed.