Easy way to get device state as online/offline #304
-
I am planning to onboard 20 rpi as iot things for a deployment use case. i need to know if there's any easy way to get the status if the device is online/offline. I can then use this to alert a user when device comes online or goes offline. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
If you want another device/program to know if a device is online you will want to use Lifecycle events. If you want a device to know when it is online/online you will want to use on_connection_interrupted. |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
If you want another device/program to know if a device is online you will want to use Lifecycle events.
If you want a device to know when it is online/online you will want to use on_connection_interrupted.