Update README.md
This commit is contained in:
@@ -15,15 +15,16 @@ Send pushover notifications from yunkong2.
|
|||||||
|
|
||||||
To send notification from ScriptEngine just write:
|
To send notification from ScriptEngine just write:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
|
||||||
//短信发送
|
//短信发送
|
||||||
sendTo("pushover.0", {
|
sendTo("pushover.0", {
|
||||||
phone: '15273732255',
|
phone: '15273732255',
|
||||||
message: '室内温度高于40度报警,并打开电磁阀风机(室外水位不高的情况下)及冷却循环装置'
|
message: '室内温度高于40度报警,并打开电磁阀风机(室外水位不高的情况下)及冷却循环装置'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
// send notification to all instances of pushover adapter
|
// send notification to all instances of pushover adapter
|
||||||
sendTo("pushover", "message body");
|
sendTo("pushover", "message body");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user