Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.43 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.43 KB

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.html: set to true or 1 if message is HTML formatted, see the supported tags
  • msg.sound: to set the alert sound, see the available options
  • msg.retry: to set retry interval for Emergency priority (2) messages, see priority
  • msg.expire: to set retry duration for Emergency priority (2) messages, see priority

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

Uses Pushover. See Pushover.net for more details.