Version 34.2 by Alec Chen on 2025/11/21 16:21

Show last authors
1 (% class="wikigeneratedid" id="H" %)
2 本教程目标是指导用户如何在无需编写代码/修改规则链的情况下为每个设备配置报警规则并设置邮件通知
3
4 {{toc/}}
5
6 = 1. 导入仪表盘 =
7
8
9 The Dashboard shown below displays all devices by default. [[attach:set_alarm.json||target="_blank"]]
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"]]
12
13 [[image:1763627459220-746.png]]
14
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
17
18 [[image:1763713260857-974.png]]
19
20
21 ----
22
23 = 2. 配置阈值键 =
24
25 仪表盘中预配置了Temperature 和 Humidity 及其高低阈值
26
27 == 2.1 配置要显示的Realtime data key ==
28
29 点击Edit mode进入编辑模式
30
31 [[image:1763627711370-255.png||height="722" width="1017"]]
32
33 [[image:1763627774314-950.png||height="722" width="1017"]]
34
35 选择需要显示的key
36
37 [[image:1763627812005-974.png||height="723" width="1018"]]
38
39
40 确认后保存
41
42 [[image:1763628469378-307.png||height="724" width="1020"]]
43
44 [[image:1763628491653-311.png||height="725" width="1021"]]
45
46
47 ----
48
49 == 2.2 配置Threshold KEY ==
50
51 进入编辑模式,选择Threshold Setting 组件
52
53 [[image:1763629147278-946.png||height="724" width="1020"]]
54
55 [[image:1763708951402-206.png||height="724" width="1019"]]
56
57 Save after add.
58
59 [[image:1763708978345-231.png||height="725" width="1020"]]
60
61 [[image:1763708999013-830.png||height="727" width="1022"]]
62
63
64 ----
65
66 = 3. 配置profile规则 =
67
68 == 3.1 创建condition以在达到阈值时报警 ==
69
70 (% class="wikigeneratedid" id="H70B951FB7F168F9156FE68078FDB51657F168F916A215F0F5E7665B05EFA62A58B6689C45219" %)
71 点击编辑图标进入编辑模式并新建报警规则
72
73 (% class="wikigeneratedid" id="H-1" %)
74 [[image:1763630110726-980.png||height="720" width="1014"]]
75
76 [[image:1763630224004-924.png||height="720" width="1014"]]
77
78 [[image:1763630671736-678.png||height="721" width="1015"]]
79
80 [[image:1763630710302-584.png||height="721" width="1015"]]
81
82 [[image:1763630805148-569.png||height="721" width="1015"]]
83
84 [[image:1763630987781-241.png||height="721" width="1015"]]
85
86 [[image:1763631126331-728.png||height="720" width="1014"]]
87
88 [[image:1763709444056-227.png||height="519" width="1015"]]
89
90 [[image:1763631366289-693.png||height="720" width="1014"]]
91
92 [[image:1763709709956-185.png||height="722" width="1015"]]
93
94 [[image:1763709725522-373.png||height="721" width="1014"]]
95
96
97 ----
98
99 == 3.2 设置clear condition 以在数据恢复正常的时候清除Alarm ==
100
101 步骤与Creat alarm类似,仅值设置相反
102
103 [[image:1763632387865-386.png||height="720" width="1014"]]
104
105 [[image:1763693498016-737.png||height="720" width="1014"]]
106
107 [[image:1763693573052-369.png||height="723" width="1018"]]
108
109 [[image:1763708672557-593.png||height="723" width="1017"]]
110
111 Save after set
112
113 [[image:1763708628399-171.png||height="723" width="1017"]]
114
115 [[image:1763694048124-392.png||height="722" width="1017"]]
116
117 [[image:1763694065009-504.png||height="722" width="1017"]]
118
119
120 ----
121
122 = 4 .配置Notification(仅初次使用需要) =
123
124 如果是第一次配置发送邮件的功能,还需要先配置Notification以指定收件人/模板/发送规则
125
126 == 4.1 配置Recipients ==
127
128 (% class="wikigeneratedid" id="H" %)
129 [[image:1763695480359-924.png||height="721" width="1015"]]
130
131 (% class="wikigeneratedid" id="H-1" %)
132 [[image:1763696273020-168.png||height="721" width="1015"]]
133
134 (% class="wikigeneratedid" id="H-2" %)
135 [[image:1763696322001-489.png||height="721" width="1015"]]
136
137 (% class="wikigeneratedid" %)
138 [[image:1763696373932-724.png||height="722" width="1015"]]
139
140
141 ----
142
143 == 4.2 配置Templates ==
144
145 [[image:1763704822528-793.png||height="721" width="1014"]]
146
147 Set Compose
148
149 (% class="box" %)
150 (((
151 **Web**
152
153 **Subjtct:**${alarmOriginatorName} ${alarmType}
154
155 **Message:**${alarmOriginatorName} alarmed ${alarmType}
156
157 **Email**
158
159 **Subjtct:**${alarmOriginatorName} ${alarmType}
160
161
162 **Message:**Hi ${recipientFirstName:capitalize} ${recipientLastName:lowerCase}
163
164 The ${alarmOriginatorName} alarmed ${alarmType} ,PLZ check
165 )))
166
167 [[image:1763705354353-222.png||height="719" width="1012"]]
168
169 [[image:1763705373057-540.png||height="719" width="1012"]]
170
171
172 ----
173
174 == 4.3 配置Notification Rules ==
175
176 [[image:1763705587312-647.png||height="719" width="1012"]]
177
178 [[image:1763706113413-196.png||height="721" width="1015"]]
179
180 [[image:1763706072650-624.png||height="722" width="1016"]]
181
182 [[image:1763706241273-512.png||height="722" width="1016"]]
183
184 [[image:1763707736962-945.png||height="723" width="1017"]]
185
186 警报邮件示例:
187 [[image:1763707708365-348.png]]
188
189
190
191 = 附加章节: =
192
193 = 5. 我想发送邮件给特定收件人怎么办? =
194
195
196
197
198
199 = 6. 如何为每种设备单独设置一页以便管理 =
200
201
202
203
204
205
206