Skip to content

Commit f535ee0

Browse files
authored
Merge pull request #2248 from arduino/karlsoderby/device-notification
[PXCT-66] Device Status Notification
2 parents 8b37a9a + 3c2e22f commit f535ee0

File tree

3 files changed

+41
-2
lines changed

3 files changed

+41
-2
lines changed

content/arduino-cloud/03.cloud-interface/04.triggers/triggers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ tags: [Arduino Cloud, Triggers, Cloud Notification]
77

88
Triggers react to certain conditions inside your Arduino Cloud Thing, such as a boolean being true, or a string being assigned a value. As soon as a set condition is met a notification gets triggered and sent to you. This is useful when you monitor data and you need to know about any change as soon as it happens. This could be anything from different values in environmental monitoring or security-related information such as movement detection.
99

10+
Triggers can also be used to detect **device status**, where you can configure to send an email / push notification whenever a device goes online/offline.
11+
1012
Triggers can be set up for any of your existing projects, and are found in the [cloud home section](https://cloud.arduino.cc/home/).
1113

1214
## Hardware & Software Needed
@@ -16,8 +18,6 @@ Triggers can be set up for any of your existing projects, and are found in the [
1618

1719
***In this tutorial, we use the [Nano 33 IoT](https://store.arduino.cc/products/arduino-nano-33-iot). This is not a requirement, you can use any Arduino Cloud-compatible board for this tutorial.***
1820

19-
## Setup & Configuration
20-
2121
## Limitations
2222

2323
Currently, the only variables supported by the trigger feature are:
Loading
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
title: Device Status
3+
description: Set up push notifications / email triggers whenever a device goes online/offline.
4+
author: Karl Söderby
5+
tags: [Arduino Cloud, Device Status]
6+
---
7+
8+
Keeping track of your devices is important, and using by using [triggers](https://docs.arduino.cc/arduino-cloud/cloud-interface/triggers/), you can automate push notifications regarding your device status.
9+
10+
You can have triggers for:
11+
- When a device goes online
12+
- When a device goes offline
13+
14+
You can modify the trigger to:
15+
- Trigger immediately when the device status changes
16+
- Trigger after an X amount of minutes/hours after the device status has changed
17+
18+
## Requirements
19+
20+
- [Arduino Cloud account](https://app.arduino.cc/)
21+
- Thing / Device set up.
22+
23+
## Setup
24+
25+
1. Navigate to the [Arduino Cloud - Triggers](https://app.arduino.cc/triggers)
26+
2. Create a trigger by clicking the **"+ Trigger"** button in the top right corner.
27+
3. Select **"Device Status"** as a trigger.
28+
4. Choose the device you want to track.
29+
5. Select whether you want to get a notification if it is online/offline (or both).
30+
6. Select the time for notification (immediately or specific time e.g. 1 hour).
31+
7. Choose the action (email of push notification on phone).
32+
33+
![Device status notification setup.](assets/shared-spaces.png)
34+
35+
## Usage
36+
37+
Depending on the setup, your notifications will trigger when the device status change, either sending you an email or a push notification\*.
38+
39+
***\*Read the article about [push notifications](/arduino-cloud/iot-remote-app/push-notifications/) for more information.***

0 commit comments

Comments
 (0)