Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including node-red-node-pushover with all npm packages installed. Try it out:

node-red-node-pushover lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("node-red-node-pushover/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

node-red-node-pushover v0.0.16

A Node-RED node to send alerts via Pushover

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.

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free