https://github.com/rayps/node-red-contrib-pushover
A Node-RED node to send Pushover notification
https://github.com/rayps/node-red-contrib-pushover
node-red nodered
Last synced: 9 months ago
JSON representation
A Node-RED node to send Pushover notification
- Host: GitHub
- URL: https://github.com/rayps/node-red-contrib-pushover
- Owner: RayPS
- License: other
- Created: 2018-06-07T07:19:24.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-11-11T11:03:50.000Z (over 6 years ago)
- Last Synced: 2024-03-03T07:23:50.894Z (about 2 years ago)
- Topics: node-red, nodered
- Language: JavaScript
- Size: 1.41 MB
- Stars: 17
- Watchers: 3
- Forks: 6
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
node-red-contrib-pushover
======================
A [Pushover](http://www.pushover.net/) 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
[](https://www.npmjs.com/package/node-red-contrib-pushover)
### Required Inputs
- `msg.payload`(required): The message of the notification, supports a [few html tags](https://pushover.net/api#html)
### 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](https://pushover.net/api#priority)
- `msg.device`: Default for all device if not provided. Separated by a comma
- `msg.sound`: Name of the notification sound, [see the list](https://pushover.net/api#sounds)
- `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
