Last modified by Alec Chen on 2026/01/26 13:43

From version 63.1
edited by Alec Chen
on 2026/01/17 17:53
Change comment: There is no comment for this version
To version 44.1
edited by Alec Chen
on 2025/11/24 08:52
Change comment: There is no comment for this version

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,1 @@
1 -Main.WebHome
1 +How to set threshold alarms?.WebHome
Hidden
... ... @@ -1,1 +1,1 @@
1 -false
1 +true
Content
... ... @@ -1,15 +1,12 @@
1 -= This tutorial aims to guide **ONLY 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 +(% class="wikigeneratedid" id="H" %)
2 +本教程目标是指导用户如何在无需编写代码/修改规则链的情况下为每个设备配置报警规则并设置邮件通知
2 2  
3 -
4 -
5 5  {{toc/}}
6 6  
7 -= 1. Import dashboard =
6 += 1. 导入仪表盘 =
8 8  
9 -Import this dashboard:[[attach:set_alarm.json||target="_blank"]]
8 +The Dashboard shown below displays all devices by default. [[attach:set_alarm.json||target="_blank"]]
10 10  
11 -The Dashboard shown below displays all devices by default.
12 -
13 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="898" width="1025"]]
14 14  
15 15  [[image:1763627459220-746.png]]
... ... @@ -22,12 +22,12 @@
22 22  
23 23  ----
24 24  
25 -= (% id="cke_bm_9685S" style="display:none" %) (%%)2. Configure profile rules =
22 += (% id="cke_bm_9685S" style="display:none" %) (%%)2. 配置profile规则 =
26 26  
27 -== 2.1 Create a condition to trigger an alarm when a threshold is reached. ==
24 +== 2.1 创建condition以在达到阈值时报警 ==
28 28  
29 29  (% class="wikigeneratedid" id="H70B951FB7F168F9156FE68078FDB51657F168F916A215F0F5E7665B05EFA62A58B6689C45219" %)
30 -Click the edit icon to enter edit mode and create a new alarm rule.
27 +点击编辑图标进入编辑模式并新建报警规则
31 31  
32 32  (% class="wikigeneratedid" id="H-1" %)
33 33  [[image:1763630110726-980.png||height="720" width="1014"]]
... ... @@ -53,9 +53,9 @@
53 53  
54 54  ----
55 55  
56 -== 2.2 Set a clear condition to clear the alarm when the data returns to normal. ==
53 +== 2.2 设置clear condition 以在数据恢复正常的时候清除Alarm ==
57 57  
58 -The steps are similar to Create alarm, only the values ​​are set in reverse.
55 +步骤与Creat alarm类似,仅值设置相反
59 59  
60 60  [[image:1763632387865-386.png||height="720" width="1014"]]
61 61  
... ... @@ -65,9 +65,8 @@
65 65  
66 66  [[image:1763708672557-593.png||height="723" width="1017"]]
67 67  
65 +Save after set
68 68  
69 -**Save after set**
70 -
71 71  [[image:1763708628399-171.png||height="723" width="1017"]]
72 72  
73 73  [[image:1763694048124-392.png||height="722" width="1017"]]
... ... @@ -77,49 +77,47 @@
77 77  
78 78  ----
79 79  
80 -= 3. Configure the threshold input box =
76 += 3. 配置阈值输入框 =
81 81  
82 -== 3.1 Select the Realtime data key to display ==
78 +== 3.1 选择要显示的Realtime data key ==
83 83  
84 -Return to the dashboard and click on the device you want to edit.
80 +返回仪表盘,点击需要编辑的设备
85 85  
86 86  [[image:1763714842488-945.png||height="784" width="1018"]]
87 87  
88 88  [[image:1763715443568-173.png||height="784" width="1019"]]
89 89  
86 +点击Edit mode进入编辑模式
90 90  
91 -**Click "Edit mode" to enter edit mode.**
92 -
93 93  [[image:1763715522992-941.png||height="785" width="1020"]]
94 94  
95 95  [[image:1763715545212-375.png||height="786" width="1021"]]
96 96  
97 97  
98 -**Delete the default key and select the key you want to display.**
93 +删除默认key,选择需要显示的key
99 99  
100 100  [[image:1763717628344-632.png||height="789" width="1024"]]
101 101  
97 +确认后保存
102 102  
103 -**Save after confirmation.**
104 -
105 105  [[image:1763717656075-762.png||height="790" width="1026"]]
106 106  
101 +
107 107  [[image:1763717678221-857.png||height="792" width="1029"]]
108 108  
109 109  
110 110  ----
111 111  
112 -== 3.2 Create Threshold KEY ==
107 +== 2.2 创建Threshold KEY ==
113 113  
114 -Enter edit mode and select the Threshold Setting component.
109 +进入编辑模式,选择Threshold Setting 组件
115 115  
116 116  [[image:1763717776928-677.png||height="794" width="1031"]]
117 117  
118 118  [[image:1763717871745-156.png||height="794" width="1031"]]
119 119  
115 +Save after add.
120 120  
121 -**Save after add.**
122 -
123 123  [[image:1763718016288-797.png||height="795" width="1033"]]
124 124  
125 125  [[image:1763718040563-785.png||height="797" width="1035"]]
... ... @@ -126,13 +126,12 @@
126 126  
127 127  ----
128 128  
129 -== **3.3 Example** ==
123 +3.3 示例
130 130  
131 131  [[image:1763718234145-302.png||height="799" width="1037"]]
132 132  
133 133  
134 -(% id="cke_bm_30710S" style="display:none" %) (%%)**Example of an alert email received:**
135 -
128 +(% id="cke_bm_30710S" style="display:none" %) (%%)收到的警报邮件示例:
136 136  [[image:1763707708365-348.png]]
137 137  
138 138  
... ... @@ -139,11 +139,11 @@
139 139  
140 140  ----
141 141  
142 -= 4. Configure Notification (only required for initial use) =
135 += 4 .配置Notification(仅初次使用需要) =
143 143  
144 -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.
137 +如果是第一次配置发送邮件的功能,还需要先配置Notification以指定收件人/模板/发送规则
145 145  
146 -== 4.1 Configure Recipients ==
139 +== 4.1 配置Recipients ==
147 147  
148 148  (% class="wikigeneratedid" id="H" %)
149 149  [[image:1763695480359-924.png||height="721" width="1015"]]
... ... @@ -160,11 +160,11 @@
160 160  
161 161  ----
162 162  
163 -== 4.2 Configuring Templates ==
156 +== 4.2 配置Templates ==
164 164  
165 165  [[image:1763704822528-793.png||height="721" width="1014"]]
166 166  
167 -**Set Compose**
160 +Set Compose
168 168  
169 169  (% class="box" %)
170 170  (((
... ... @@ -191,7 +191,7 @@
191 191  
192 192  ----
193 193  
194 -== 4.3 Configure Notification Rules ==
187 +== 4.3 配置Notification Rules ==
195 195  
196 196  [[image:1763705587312-647.png||height="719" width="1012"]]
197 197  
... ... @@ -204,98 +204,18 @@
204 204  [[image:1763707736962-945.png||height="723" width="1017"]]
205 205  
206 206  
207 -----
208 208  
209 -= Extended content: =
210 210  
211 -= 5. What if I want to send an email to a specific recipient? =
202 += 附加章节: =
212 212  
213 -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.
204 += 5. 我想发送邮件给特定收件人怎么办? =
214 214  
215 -[[image:1763970065522-362.png||height="550" width="1017"]]
216 216  
217 -[[image:1763970125819-288.png||height="550" width="1017"]]
218 218  
219 -[[image:1763970168381-554.png||height="551" width="1019"]]
220 220  
221 -[[image:1763970202306-593.png||height="552" width="1021"]]
222 222  
210 += 6. 如何为每种设备单独设置一页以便管理 =
223 223  
224 -----
225 225  
226 -= 6. How to set up a separate page for each device for easier management? =
227 227  
228 -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?
229 -
230 -[[image:1764036365000-820.png||height="478" width="1022"]]
231 -
232 -
233 -Here, we will create a blank dashboard for demonstration purposes, and create two States (Pages) to distinguish and display two different types of devices.
234 -
235 -[[image:1764036526739-442.png||height="413" width="1024"]]
236 -
237 -[[image:1764036704323-344.png||height="790" width="1027"]]
238 -
239 -[[image:1764036761564-457.png||height="791" width="1028"]]
240 -
241 -[[image:1764036789723-542.png||height="792" width="1030"]]
242 -
243 -
244 -Add a button to the default page to navigate to different Stata instances.
245 -
246 -[[image:1764038418645-404.png||height="495" width="1032"]]
247 -
248 -[[image:1764038440153-893.png||height="506" width="1032"]]
249 -
250 -[[image:1764038459795-265.png||height="446" width="1032"]]
251 -
252 -[[image:1764038595799-636.png||height="795" width="1033"]]
253 -
254 -[[image:1764041017702-761.png||height="847" width="1034"]]
255 -
256 -[[image:1764041058281-147.png||height="848" width="1035"]]
257 -
258 -[[image:1764038663915-300.png||height="288" width="1036"]]
259 -
260 -
261 -Similarly, create an AQI alarm button.
262 -
263 -[[image:1764038720507-522.png||height="308" width="1035"]]
264 -
265 -
266 -Switch to Tank state
267 -
268 -[[image:1764038993771-632.png||height="361" width="1040"]]
269 -
270 -
271 -Open the Set Alarm dashboard in the new page and copy all the components there.
272 -
273 -[[image:1763627459220-746.png]]
274 -
275 -[[image:1764039091299-607.png||height="528" width="1028"]]
276 -
277 -
278 -Enter the component editing page and switch the device group to be displayed.
279 -
280 -[[image:1764039434202-995.png||height="496" width="1026"]]
281 -
282 -[[image:1764039490910-964.png||height="497" width="1028"]]
283 -
284 -
285 -Add a button to return to the initial page.
286 -
287 -[[image:1764041404181-108.png||height="839" width="1025"]]
288 -
289 -[[image:1764041446883-114.png||height="840" width="1026"]]
290 -
291 -[[image:1764041476537-950.png||height="682" width="1028"]]
292 -
293 -[[image:1764041567433-493.png||height="842" width="1028"]]
294 -
295 -
296 -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.
297 -
298 -[[image:1764041604908-185.png||height="843" width="1029"]]
299 -
300 -
301 301  
1763970065522-362.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -264.3 KB
Content
1763970125819-288.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -292.0 KB
Content
1763970168381-554.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -319.1 KB
Content
1763970202306-593.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -359.7 KB
Content
1763977631743-781.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -481.1 KB
Content
1764036365000-820.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -161.7 KB
Content
1764036469760-417.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -185.7 KB
Content
1764036526739-442.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -129.9 KB
Content
1764036613456-234.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -123.9 KB
Content
1764036704323-344.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -152.1 KB
Content
1764036761564-457.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -156.2 KB
Content
1764036789723-542.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -151.8 KB
Content
1764036953768-833.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -125.2 KB
Content
1764038418645-404.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -88.3 KB
Content
1764038440153-893.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -315.1 KB
Content
1764038459795-265.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -115.7 KB
Content
1764038595799-636.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -202.8 KB
Content
1764038634363-985.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -182.9 KB
Content
1764038663915-300.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -56.5 KB
Content
1764038720507-522.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -60.8 KB
Content
1764038993771-632.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -71.6 KB
Content
1764039091299-607.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -245.1 KB
Content
1764039434202-995.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -113.7 KB
Content
1764039490910-964.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -119.7 KB
Content
1764041017702-761.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -182.6 KB
Content
1764041058281-147.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -180.3 KB
Content
1764041404181-108.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -173.2 KB
Content
1764041446883-114.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -475.0 KB
Content
1764041476537-950.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -166.6 KB
Content
1764041567433-493.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -198.0 KB
Content
1764041604908-185.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Alec
Size
... ... @@ -1,1 +1,0 @@
1 -167.8 KB
Content