How to set threshold alarm and get Email notification

Version 17.1 by Alec Chen on 2025/11/20 17:53

本教程目标是指导用户如何在无需编写代码/修改规则链的情况下为每个设备配置报警规则并设置邮件通知

1. 导入仪表盘

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

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.

 1762933458042-294.png

1763627459220-746.png

1763627344086-498.png


2. 配置阈值键

仪表盘中预配置了Temperature 和 Humidity 及其高低阈值

2.1 配置要显示的Realtime data key

点击Edit mode进入编辑模式

1763627711370-255.png

1763627774314-950.png

选择需要显示的key

1763627812005-974.png

确认后保存

1763628469378-307.png

1763628491653-311.png


2.2 配置Threshold KEY

进入编辑模式,选择Threshold Setting 组件

1763629147278-946.png

1763629342932-973.png

Save after add.

1763629373972-370.png


3. 配置profile规则

3.1 创建condition以在达到阈值时报警

点击编辑图标进入编辑模式并新建报警规则

1763630110726-980.png

1763630224004-924.png

1763630671736-678.png

1763630710302-584.png

1763630805148-569.png

1763630987781-241.png

1763631126331-728.png

1763631366289-693.png

3.2 设置clear condition 以在数据恢复正常的时候清除Alarm

步骤与Creat alarm类似,仅值设置相反

1763632387865-386.png

4 . 如果是第一次配置,还需要配置Notification以发送邮件

4.1 配置Recipients

4.2 配置Templates

4.3 配置Notification Rules

附加章节:

5. 如何为每种设备单独设置一页以便管理

6. 我想发送邮件给特定收件人怎么办?