Agent migration- don´t send data

Hello, I have a device working for a few months, a migration occurred, after that it no longer made sending data to the cloud. we noticed until two days later.

the monitoring is not local so we will have to travel a few hours to the site to do a power reset (battery). is there any way to avoid this using software?
Thanks


Agent migration should not affect any device operation; the agent restarts. The IP address that the agent is running at (where the device connects) will have changed though.

I can’t see your device ID in that log, but my suspicion is that maybe your device code is not using imp.onidle() to wrap the disconnect call. This means the device goes to sleep before being told the new server address, and hence can’t talk to the agent.

See How To Disconnect And/or Deep-sleep Devices Correctly | Dev Center