Wiki source code of How to set threshold alarm and get Email notification
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
3.1 | 1 | (% class="wikigeneratedid" id="H" %) |
| 2 | 本教程目标是指导用户如何在无需编写代码/修改规则链的情况下为每个设备配置报警规则并设置邮件通知 | ||
| |
1.2 | 3 | |
| |
3.1 | 4 | {{toc/}} |
| |
1.2 | 5 | |
| 6 | = 1. 导入仪表盘 = | ||
| 7 | |||
| 8 | |||
| |
9.1 | 9 | The Dashboard shown below displays all devices by default. [[attach:set_alarm.json||target="_blank"]] |
| |
1.2 | 10 | |
| |
5.1 | 11 | 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. |
| |
1.2 | 12 | |
| |
5.1 | 13 | [[image:https://wiki.thingseye.io/xwiki/bin/download/Downlink%20Command%20Guide/WebHome/1762933458042-294.png?width=645&height=565&rev=1.1||alt="1762933458042-294.png" height="642" width="733"]] |
| |
1.2 | 14 | |
| |
8.1 | 15 | [[image:1763627459220-746.png]] |
| |
5.1 | 16 | |
| |
6.1 | 17 | [[image:1763627344086-498.png||height="730" width="1028"]] |
| |
5.1 | 18 | |
| |
9.1 | 19 | |
| 20 | ---- | ||
| 21 | |||
| |
1.2 | 22 | = 2. 配置阈值键 = |
| 23 | |||
| |
11.1 | 24 | 仪表盘中预配置了Temperature 和 Humidity 及其高低阈值 |
| |
1.2 | 25 | |
| |
11.1 | 26 | == 2.1 配置要显示的Realtime data key == |
| |
1.2 | 27 | |
| |
13.1 | 28 | 点击Edit mode进入编辑模式 |
| |
12.1 | 29 | |
| |
11.1 | 30 | [[image:1763627711370-255.png||height="722" width="1017"]] |
| |
1.2 | 31 | |
| |
11.1 | 32 | [[image:1763627774314-950.png||height="722" width="1017"]] |
| 33 | |||
| |
12.1 | 34 | 选择需要显示的key |
| 35 | |||
| |
11.1 | 36 | [[image:1763627812005-974.png||height="723" width="1018"]] |
| 37 | |||
| 38 | |||
| |
12.1 | 39 | 确认后保存 |
| |
11.1 | 40 | |
| |
13.1 | 41 | [[image:1763628469378-307.png||height="724" width="1020"]] |
| |
12.1 | 42 | |
| |
13.1 | 43 | [[image:1763628491653-311.png||height="725" width="1021"]] |
| |
12.1 | 44 | |
| 45 | |||
| 46 | ---- | ||
| 47 | |||
| |
13.1 | 48 | == 2.2 配置Threshold KEY == |
| |
12.1 | 49 | |
| |
13.1 | 50 | 进入编辑模式,选择Threshold Setting 组件 |
| |
12.1 | 51 | |
| |
13.1 | 52 | [[image:1763629147278-946.png||height="724" width="1020"]] |
| |
12.1 | 53 | |
| |
13.1 | 54 | [[image:1763629342932-973.png||height="726" width="1022"]] |
| |
12.1 | 55 | |
| |
13.1 | 56 | Save after add. |
| |
12.1 | 57 | |
| |
14.1 | 58 | [[image:1763629373972-370.png||height="724" width="1020"]] |
| |
13.1 | 59 | |
| |
14.1 | 60 | |
| 61 | ---- | ||
| 62 | |||
| |
1.2 | 63 | = 3. 配置profile规则 = |
| 64 | |||
| |
17.1 | 65 | == 3.1 创建condition以在达到阈值时报警 == |
| |
1.2 | 66 | |
| |
17.2 | 67 | (% class="wikigeneratedid" id="H70B951FB7F168F9156FE68078FDB51657F168F916A215F0F5E7665B05EFA62A58B6689C45219" %) |
| 68 | 点击编辑图标进入编辑模式并新建报警规则 | ||
| |
17.1 | 69 | |
| |
14.1 | 70 | (% class="wikigeneratedid" id="H-1" %) |
| 71 | [[image:1763630110726-980.png||height="720" width="1014"]] | ||
| |
1.2 | 72 | |
| |
15.1 | 73 | [[image:1763630224004-924.png||height="720" width="1014"]] |
| |
1.2 | 74 | |
| |
15.2 | 75 | [[image:1763630671736-678.png||height="721" width="1015"]] |
| |
14.1 | 76 | |
| |
15.2 | 77 | [[image:1763630710302-584.png||height="721" width="1015"]] |
| 78 | |||
| |
16.1 | 79 | [[image:1763630805148-569.png||height="721" width="1015"]] |
| |
15.2 | 80 | |
| |
16.1 | 81 | [[image:1763630987781-241.png||height="721" width="1015"]] |
| |
15.2 | 82 | |
| |
16.1 | 83 | [[image:1763631126331-728.png||height="720" width="1014"]] |
| |
15.2 | 84 | |
| |
17.4 | 85 | [[image:1763693788246-138.png||height="522" width="1014"]] |
| 86 | |||
| |
17.1 | 87 | [[image:1763631366289-693.png||height="720" width="1014"]] |
| |
15.2 | 88 | |
| |
19.1 | 89 | [[image:1763694108103-961.png||height="721" width="1014"]] |
| |
17.3 | 90 | |
| |
19.1 | 91 | |
| |
17.3 | 92 | ---- |
| 93 | |||
| |
17.1 | 94 | == 3.2 设置clear condition 以在数据恢复正常的时候清除Alarm == |
| |
15.2 | 95 | |
| |
17.1 | 96 | 步骤与Creat alarm类似,仅值设置相反 |
| |
15.2 | 97 | |
| |
17.1 | 98 | [[image:1763632387865-386.png||height="720" width="1014"]] |
| |
15.2 | 99 | |
| |
17.3 | 100 | [[image:1763693498016-737.png||height="720" width="1014"]] |
| |
15.2 | 101 | |
| |
17.3 | 102 | [[image:1763693573052-369.png||height="723" width="1018"]] |
| |
15.2 | 103 | |
| |
18.2 | 104 | [[image:1763693976437-864.png||height="723" width="1018"]] |
| |
15.2 | 105 | |
| |
18.2 | 106 | Save after set |
| |
17.1 | 107 | |
| |
18.2 | 108 | [[image:1763693992668-865.png||height="722" width="1017"]] |
| |
17.1 | 109 | |
| |
18.2 | 110 | [[image:1763694048124-392.png||height="722" width="1017"]] |
| |
1.2 | 111 | |
| |
18.2 | 112 | [[image:1763694065009-504.png||height="722" width="1017"]] |
| 113 | |||
| 114 | |||
| 115 | |||
| 116 | |||
| |
17.3 | 117 | ---- |
| 118 | |||
| |
14.1 | 119 | = 4 . 如果是第一次配置,还需要配置Notification以发送邮件 = |
| |
1.2 | 120 | |
| |
2.1 | 121 | == 4.1 配置Recipients == |
| 122 | |||
| 123 | = = | ||
| 124 | |||
| 125 | = = | ||
| 126 | |||
| 127 | = = | ||
| 128 | |||
| 129 | = = | ||
| 130 | |||
| 131 | = = | ||
| 132 | |||
| 133 | == 4.2 配置Templates == | ||
| 134 | |||
| 135 | = = | ||
| 136 | |||
| 137 | = = | ||
| 138 | |||
| 139 | = = | ||
| 140 | |||
| 141 | == 4.3 配置Notification Rules == | ||
| |
3.1 | 142 | |
| 143 | |||
| 144 | |||
| 145 | |||
| 146 | |||
| 147 | |||
| 148 | |||
| 149 | |||
| 150 | |||
| 151 | = 附加章节: = | ||
| 152 | |||
| |
4.1 | 153 | 5. 如何为每种设备单独设置一页以便管理 |
| 154 | |||
| 155 | |||
| 156 | |||
| 157 | |||
| 158 | |||
| 159 | |||
| 160 | 6. 我想发送邮件给特定收件人怎么办? |