Notifications when a device is offline

I have an Argon device that is in an area with spotty WiFi, is there a good way that I can have the Particle Console or the device send a notification to me or my team when the device is offline?

You can subscribe to the spart/status event which will have as the event data either online or offline. You can do this using Logic or webhook for example.

The caveat is that if the device goes offline unexpectedly such as because of connectivity issues, the offline will not be issued until 2x the keep-alive value. For the Argon, the keep-alive is 25 seconds, so the latency to offline isn't too bad. For cellular, devices, however, the keep-alive is 23 minutes, so you won't get an offline notification for at least 46 minutes.

1 Like