node-red-contrib-simplepush

1.4.0 • Public • Published

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.

Package Sidebar

Install

npm i node-red-contrib-simplepush

Weekly Downloads

25

Version

1.4.0

License

MIT

Unpacked Size

812 kB

Total Files

8

Last publish

Collaborators

  • simplepush