2014-07-27 17:09:50 +02:00
|
|
|
node-red-node-pushover
|
|
|
|
======================
|
|
|
|
|
|
|
|
A <a href="http://nodered.org" target="_new">Node-RED</a> node to send alerts via <a href="http://www.pushover.net/" target="_new">Pushover</a>.
|
|
|
|
|
|
|
|
Install
|
|
|
|
-------
|
|
|
|
|
2016-03-02 14:26:53 +01:00
|
|
|
Run the following command in your Node-RED user directory - typically `~/.node-red`
|
2014-07-27 17:09:50 +02:00
|
|
|
|
|
|
|
npm install node-red-node-pushover
|
|
|
|
|
|
|
|
|
|
|
|
Usage
|
|
|
|
-----
|
|
|
|
|
2016-03-02 14:26:53 +01:00
|
|
|
Uses Pushover to push the `msg.payload` to a device that has the Pushover app installed.
|
2014-07-27 17:09:50 +02:00
|
|
|
|
|
|
|
|
2018-09-17 20:58:24 +02:00
|
|
|
Optionally uses `msg.topic` to set the configuration, if not already set in the properties:
|
|
|
|
- `msg.device`: to set the device
|
|
|
|
- `msg.priority`: to set the priority
|
|
|
|
- `msg.topic`: to set the title
|
2018-12-13 10:33:50 +01:00
|
|
|
- `msg.attachment`: to specify an image to attach to message (path as a string or Buffer containing image)
|
2018-09-17 20:58:24 +02:00
|
|
|
- `msg.url`: to add a web address
|
|
|
|
- `msg.url_title`: to add a url title
|
|
|
|
- `msg.sound`: to set the alert sound, see the [available options](https://pushover.net/api#sounds)
|
2016-10-17 23:56:24 +02:00
|
|
|
|
2014-07-27 17:09:50 +02:00
|
|
|
The User-key and API-token are stored in a separate credentials file.
|
|
|
|
|
|
|
|
Uses Pushover. See <a href="https://pushover.net" target="_new">Pushover.net</a> for more details.
|