mirror of
https://github.com/node-red/node-red-nodes.git
synced 2023-10-10 13:36:58 +02:00
e6b9da52aa
* social-pushover: Add "tags" parameter. Add "tags" for emergency prio (2) messages, so you're able to cancel them by tag. (see doc / Pushover API) * Add msg.tags to readme.
1.7 KiB
1.7 KiB
node-red-node-pushover
A Node-RED node to send alerts via Pushover.
Install
Run the following command in your Node-RED user directory - typically ~/.node-red
npm install node-red-node-pushover
Usage
Uses Pushover to push the msg.payload
to a device that has the Pushover app installed.
Optionally uses msg.topic
to set the configuration, if not already set in the properties:
msg.device
: to set the devicemsg.priority
: to set the prioritymsg.topic
: to set the titlemsg.attachment
: to specify an image to attach to message (path as a string or Buffer containing image)msg.url
: to add a web addressmsg.url_title
: to add a url titlemsg.html
: set to true or 1 if message is HTML formatted, see the supported tagsmsg.sound
: to set the alert sound, see the available optionsmsg.retry
: to set retry interval for Emergency priority (2) messages, see prioritymsg.expire
: to set retry duration for Emergency priority (2) messages, see prioritymsg.callback
: to set callback url for Emergency priority (2) messages, see callbackmsg.tags
: to set tags for Emergency priority (2) messages, see tags
The User-key and API-token are stored in a separate credentials file.
Uses Pushover. See Pushover.net for more details.