1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00
node-red-nodes/social/pushover
JsBergbau d4d2404578
On error sending pushover message throw a catchable exception (#653)
* On error throw a catchable 

Throws an catchable exception if there is any error in sending the message. So you can react to it with a catch node

* Updated errorhandling

Updated the error handling process to be in compliance with the Node-RED Api
2020-05-20 14:04:42 +01:00
..
icons add pushover icon 2014-04-20 18:01:14 +01:00
57-pushover.html Pushover image attachment feature (#509) 2018-12-13 09:33:50 +00:00
57-pushover.js On error sending pushover message throw a catchable exception (#653) 2020-05-20 14:04:42 +01:00
LICENSE Update licenses and packages for all nodes 2016-11-06 20:26:19 +00:00
package.json pushover: ensure handles missing payload. 2020-04-17 09:43:45 +01:00
README.md Pushover image attachment feature (#509) 2018-12-13 09:33:50 +00:00

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 device
  • msg.priority: to set the priority
  • msg.topic: to set the title
  • msg.attachment: to specify an image to attach to message (path as a string or Buffer containing image)
  • 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

The User-key and API-token are stored in a separate credentials file.

Uses Pushover. See Pushover.net for more details.