# Notifications when a device is offline

**URL:** <https://community.particle.io/t/notifications-when-a-device-is-offline/68689>\
**Category:** Cloud\
**Created:** [November 26, 2024, 6:44pm UTC](https://community.particle.io/t/notifications-when-a-device-is-offline/68689 "2024-11-26T18:44:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghite](https://avatars.discourse-cdn.com/v4/letter/g/9d8465/32.png) [@ghite](https://community.particle.io/u/ghite)\
**Post date:** [November 26, 2024, 6:44pm UTC](https://community.particle.io/t/notifications-when-a-device-is-offline/68689/1 "2024-11-26T18:44:54Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![rickkas7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rickkas7/32/8681_2.png) [@rickkas7](https://community.particle.io/u/rickkas7)\
**Post date:** [November 29, 2024, 10:43am UTC](https://community.particle.io/t/notifications-when-a-device-is-offline/68689/2 "2024-11-29T10:43:44Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ghite](https://avatars.discourse-cdn.com/v4/letter/g/9d8465/32.png) [@ghite](https://community.particle.io/u/ghite)\
**Post date:** [December 4, 2024, 6:06pm UTC](https://community.particle.io/t/notifications-when-a-device-is-offline/68689/3 "2024-12-04T18:06:28Z")

</div>

How do I do that? Is that a setting in the Particle Console or is that code I need to deploy to the device?

---

<div class="post-metadata">

**Author:** ![rickkas7](https://sea2.discourse-cdn.com/flex026/user_avatar/community.particle.io/rickkas7/32/8681_2.png) [@rickkas7](https://community.particle.io/u/rickkas7)\
**Post date:** [December 4, 2024, 6:11pm UTC](https://community.particle.io/t/notifications-when-a-device-is-offline/68689/4 "2024-12-04T18:11:03Z")

</div>

You will net to set up [logic](https://docs.particle.io/getting-started/logic-ledger/logic/) or a webhook. You will also need an external service for notifications such as Slack, PagerDuty, etc.. There are several in the [integratios gallery](https://docs.particle.io/integrations/introduction/).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/particle/original/3X/6/4/64635adccc35238caa19e9b553ec3e98b163d026.png) [@system](https://community.particle.io/u/system)\
**Post date:** [June 5, 2025, 6:11am UTC](https://community.particle.io/t/notifications-when-a-device-is-offline/68689/5 "2025-06-05T06:11:31Z")

</div>

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
