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
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.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.