Wiki source code of How to set threshold alarm and get Email notification
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 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 | 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. | ||
| 12 | |||
| 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"]] | ||
| 14 | |||
| 15 | [[image:1763627459220-746.png]] | ||
| 16 | |||
| 17 | [[image:1763627344086-498.png||height="730" width="1028"]] | ||
| 18 | |||
| 19 | |||
| 20 | ---- | ||
| 21 | |||
| 22 | = 2. 配置阈值键 = | ||
| 23 | |||
| 24 | 仪表盘中预配置了Temperature 和 Humidity 及其高低阈值 | ||
| 25 | |||
| 26 | == 2.1 配置要显示的Realtime data key == | ||
| 27 | |||
| 28 | 点击Edit mode进入编辑模式 | ||
| 29 | |||
| 30 | [[image:1763627711370-255.png||height="722" width="1017"]] | ||
| 31 | |||
| 32 | [[image:1763627774314-950.png||height="722" width="1017"]] | ||
| 33 | |||
| 34 | 选择需要显示的key | ||
| 35 | |||
| 36 | [[image:1763627812005-974.png||height="723" width="1018"]] | ||
| 37 | |||
| 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:1763629342932-973.png||height="726" width="1022"]] | ||
| 56 | |||
| 57 | Save after add. | ||
| 58 | |||
| 59 | [[image:1763629373972-370.png||height="724" width="1020"]] | ||
| 60 | |||
| 61 | |||
| 62 | ---- | ||
| 63 | |||
| 64 | = 3. 配置profile规则 = | ||
| 65 | |||
| 66 | (% class="wikigeneratedid" id="H" %) | ||
| 67 | 点击编辑图标进入编辑模式 | ||
| 68 | |||
| 69 | (% class="wikigeneratedid" id="H-1" %) | ||
| 70 | [[image:1763630110726-980.png||height="720" width="1014"]] | ||
| 71 | |||
| 72 | |||
| 73 | |||
| 74 | = = | ||
| 75 | |||
| 76 | = 4 . 如果是第一次配置,还需要配置Notification以发送邮件 = | ||
| 77 | |||
| 78 | == 4.1 配置Recipients == | ||
| 79 | |||
| 80 | = = | ||
| 81 | |||
| 82 | = = | ||
| 83 | |||
| 84 | = = | ||
| 85 | |||
| 86 | = = | ||
| 87 | |||
| 88 | = = | ||
| 89 | |||
| 90 | == 4.2 配置Templates == | ||
| 91 | |||
| 92 | = = | ||
| 93 | |||
| 94 | = = | ||
| 95 | |||
| 96 | = = | ||
| 97 | |||
| 98 | == 4.3 配置Notification Rules == | ||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | |||
| 103 | |||
| 104 | |||
| 105 | |||
| 106 | |||
| 107 | |||
| 108 | = 附加章节: = | ||
| 109 | |||
| 110 | 5. 如何为每种设备单独设置一页以便管理 | ||
| 111 | |||
| 112 | |||
| 113 | |||
| 114 | |||
| 115 | |||
| 116 | |||
| 117 | 6. 我想发送邮件给特定收件人怎么办? |