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-contrib-pushover with all npm packages installed. Try it out:

node-red-contrib-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-contrib-pushover/[??]")

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

node-red-contrib-pushover v0.1.10

A Pushover API wrapper for Node-RED

node-red-contrib-pushover

A Pushover API wrapper for Node-RED.

Supports rich notifications and watch glances.

Install

Run the following command in your Node-RED user directory - typically ~/.node-red

npm install node-red-contrib-pushover

npm

Required Inputs

  • msg.payload(required): The message of the notification, supports a few html tags

Optional Inputs

  • msg.topic: This will be used as the title of the notification if Title is not set
  • msg.image: The URL of the image in notification. Local file path or http(s) url
  • msg.url: Can add an url to your notification
  • msg.url_title: Can set the title of the url
  • msg.priority: -2/-1/1/2, see explain
  • msg.device: Default for all device if not provided. Separated by a comma
  • msg.sound: Name of the notification sound, see the list
  • msg.timestamp: An unix timestamp to specific the date time of your notification

See Pushover.net for more details.

Pushover Glances

With Pushover's Glances API, you can push small bits of data directly to a constantly-updated screen, referred to as a widget, such as a complication on your smart watch or a widget on your phone's lock screen.

Available Inputs

  • msg.payload: This will be used as the title if Title is not set
  • msg.text: The main line
  • msg.subtext: The second line
  • msg.count: The number
  • msg.percent: The progress bar/circle
  • msg.device: Device name, default for all

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