Last modified by Alec Chen on 2025/12/22 09:43

From version 34.2
edited by Alec Chen
on 2025/11/21 16:21
Change comment: There is no comment for this version
To version 62.2
edited by Alec Chen
on 2025/12/15 11:37
Change comment: Update property hidden

Summary

Details

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