node-red-contrib-simplepush 1.4.0

Simplepush wrapper for Node-RED

npm install node-red-contrib-simplepush

node-red-contrib-simplepush

Simplepush API wrapper for Node-RED.

Supports push notifications and encrypted push notifications to Android and iOS.

Install

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

npm install node-red-contrib-simplepush

npm

Required Inputs

  • msg.payload(required): The message of the notification

Optional Inputs (can also be set in the node config)

  • msg.key: Simplepush key (can be found in the app) that identifies the device the notification is sent to
  • msg.title: The title of the notification
  • msg.attachments: Array of URLs to images, videos or gifs that will be displayed
  • msg.event: The event of the notification
  • msg.actions: Array of strings that will be shown as notification actions
  • msg.timeout: Time in seconds after which a feedback timeout error will be thrown. Set this to 0 if there should be no timeout. Setting this will enable forwarding of the selected action to the output of the node.
  • msg.password: Password (can be set in the app) for encrypted notifications
  • msg.salt: Salt (can be found in the app) for encrypted notifications

See Simplepush.io for more details.

Node Info

Version: 1.4.0
Updated 1 year, 4 months ago
License: MIT
Rating: 1.0 1

Categories

Actions

Rate:

Downloads

116 in the last week

Nodes

  • simplepush

Keywords

  • node-red
  • simplepush
  • push notification
  • actionable notification
  • notification actions
  • encrypted

Maintainers