How to set threshold alarm and get Email notification

Version 61.1 by Alec Chen on 2025/11/25 11:50

This tutorial aims to guide tenant-level users on how to configure alarm rules and set up email notifications for each device without writing code or modifying the rule chain.

1. Import dashboard

The Dashboard shown below displays all devices by default. set_alarm.json

1762933458042-294.png

1763627459220-746.png

Each device's threshold are managed separately. Clicking on a device in the device list on the left will display the current device status and preset thresholds/email addresses on the right.

1763713260857-974.png


2. Configure profile rules

2.1 Create a condition to trigger an alarm when a threshold is reached.

Click the edit icon to enter edit mode and create a new alarm rule.

1763630110726-980.png

1763630224004-924.png

1763630671736-678.png

1763630710302-584.png

1763630805148-569.png

1763630987781-241.png

1763714060349-779.png

1763631366289-693.png

1763709709956-185.png


2.2 Set a clear condition to clear the alarm when the data returns to normal.

The steps are similar to Create alarm, only the values ​​are set in reverse.

1763632387865-386.png

1763693498016-737.png

1763693573052-369.png

1763708672557-593.png

Save after set

1763708628399-171.png

1763694048124-392.png

1763694065009-504.png


3. Configure the threshold input box

3.1 Select the Realtime data key to display

Return to the dashboard and click on the device you want to edit.

1763714842488-945.png

1763715443568-173.png

Click "Edit mode" to enter edit mode.

1763715522992-941.png

1763715545212-375.png

Delete the default key and select the key you want to display.

1763717628344-632.png

Save after confirmation.

1763717656075-762.png

1763717678221-857.png


3.2 Create Threshold KEY

Enter edit mode and select the Threshold Setting component.

1763717776928-677.png

1763717871745-156.png

Save after add.

1763718016288-797.png

1763718040563-785.png


3.3 Example

1763718234145-302.png

Example of an alert email received:

1763707708365-348.png


4. Configure Notification (only required for initial use)

If this is the first time configuring the email sending function, you also need to configure the Notification to specify the recipient/template/sending rules.

4.1 Configure Recipients

1763695480359-924.png

1763696273020-168.png

1763696322001-489.png

1763696373932-724.png


4.2 Configuring Templates

1763704822528-793.png

Set Compose

Web

Subjtct:${alarmOriginatorName} ${alarmType}

Message:${alarmOriginatorName} alarmed ${alarmType}

Email

Subjtct:${alarmOriginatorName} ${alarmType}

Message:Hi ${recipientFirstName:capitalize} ${recipientLastName:lowerCase}

The ${alarmOriginatorName} alarmed ${alarmType} ,PLZ check

1763705354353-222.png

1763705373057-540.png


4.3 Configure Notification Rules

1763705587312-647.png

1763706113413-196.png

1763706072650-624.png

1763706241273-512.png

1763707736962-945.png


Extended content:

5. What if I want to send an email to a specific recipient?

Currently, it supports three recipient types: Platform users, Slack, and Microsoft Teams. You can create a user using the email address you want to receive emails from, and then select the recipient in Platform users -> UserList.

1763970065522-362.png

1763970125819-288.png

1763970168381-554.png

1763970202306-593.png


6. How to set up a separate page for each device for easier management?

Suppose we have a batch of AQI sensors and a batch of Tank sensors. How do we display them on two different pages or put them into an existing dashboard?

1764036365000-820.png

Here, we will create a blank dashboard for demonstration purposes, and create two States (Pages) to distinguish and display two different types of devices.

1764036526739-442.png

1764036704323-344.png

1764036761564-457.png

1764036789723-542.png

Add a button to the default page to navigate to different Stata instances.

1764038418645-404.png

1764038440153-893.png

1764038459795-265.png

1764038595799-636.png

1764041017702-761.png

1764041058281-147.png

1764038663915-300.png

Similarly, create an AQI alarm button.

1764038720507-522.png

Switch to Tank state

1764038993771-632.png

Open the Set Alarm dashboard in the new page and copy all the components there.

1763627459220-746.png

1764039091299-607.png

Enter the component editing page and switch the device group to be displayed.

1764039434202-995.png

1764039490910-964.png

Add a button to return to the initial page.

1764041404181-108.png

1764041446883-114.png

1764041476537-950.png

1764041567433-493.png

This completes the creation of a State page that only displays Tank-class devices. The AQI State configuration can be referenced from the Tank page.

1764041604908-185.png