A Pushsafer API wrapper for Node-RED.
Supports rich notifications and notification templates.
Run the following command in your Node-RED user directory - typically ~/.node-red
npm install node-red-pushsafer
Or use the palette manager inside of Node-RED
msg.payload(any): The message of the notification, see description, HTML format can be used
msg.title(string): Subject / title of a push-notification, max. 255 characters, see descriptionmsg.icon(number): Instead of the default Pushsafer icon, which is displayed with the push notification, you can choose between 177 other icons, see descriptionmsg.iconcolor(color): Color of the background of the icon, see descriptionmsg.sound(number): Ringtone / Sound which should be played when receiving the push notification, see descriptionmsg.vibration(number): How often the device should vibrate when receiving a push-notification, see descriptionmsg.priority(number): This priority value determines where the push notification will be put in the notification shade (this sorting affects Android devices only), see descriptionmsg.devices(string): This parameter controls to which devices or device groups the message is sent to, see descriptionmsg.timetolive(number): Specifies how long a message should be kept in the client APP until it is automatically deleted, see descriptionmsg.retry(number): With the retry / resend parameter, a message will be resent after a certain time, see descriptionmsg.expire(number): With the retry / resend Parameter re, a message will be resent after a certain time, see descriptionmsg.confirm(number): With the confirm Parameter cr, a message will be resent until it is confirmed, see descriptionmsg.answer(number): To respond to push notifications, pass the parameter with the value 1, see descriptionmsg.answeroptions(string): predefined answer options divided by a pipe character e.g. Yes|No|Maybe, see descriptionmsg.answerforce(number): to force an answer, pass the parameter with the value 1, see descriptionmsg.url(string): This URL can be opened directly from the push notification or from the client-app, see descriptionmsg.urltitle(string): Can set the title of the url, see descriptionmsg.image(string): The path of an image, which will be shown directly in the notification. Local file path or http(s) url, see descriptionmsg.image2(string): The path of a second image, which will be shown in the Pushsafer app. Local file path or http(s) url, see descriptionmsg.image3(string): The path of a third image, which will be shown in the Pushsafer app. Local file path or http(s) url, see description
