Nifty Pony Merchandise

    node-red-pushsafer

    1.0.3 • Public • Published

    node-red-pushsafer

    A Pushsafer API wrapper for Node-RED.

    Supports rich notifications and notification templates.

    Pushsafer logo

    Install

    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

    npm

    Required inputs

    Optional inputs, if provided they will override the template values

    • msg.title (string): Subject / title of a push-notification, max. 255 characters, see description
    • msg.icon (number): Instead of the default Pushsafer icon, which is displayed with the push notification, you can choose between 177 other icons, see description
    • msg.iconcolor (color): Color of the background of the icon, see description
    • msg.sound (number): Ringtone / Sound which should be played when receiving the push notification, see description
    • msg.vibration (number): How often the device should vibrate when receiving a push-notification, see description
    • msg.priority (number): This priority value determines where the push notification will be put in the notification shade (this sorting affects Android devices only), see description
    • msg.devices (string): This parameter controls to which devices or device groups the message is sent to, see description
    • msg.timetolive (number): Specifies how long a message should be kept in the client APP until it is automatically deleted, see description
    • msg.retry (number): With the retry / resend parameter, a message will be resent after a certain time, see description
    • msg.expire (number): With the retry / resend Parameter re, a message will be resent after a certain time, see description
    • msg.answer (number): To respond to push notifications, pass the parameter with the value 1, see description
    • msg.url (string): This URL can be opened directly from the push notification or from the client-app, see description
    • msg.urltitle (string): Can set the title of the url, see description
    • msg.image (string): The path of an image, which will be shown directly in the notification. Local file path or http(s) url, see description
    • msg.image2 (string): The path of a second image, which will be shown in the Pushsafer app. Local file path or http(s) url, see description
    • msg.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

    Install

    npm i node-red-pushsafer

    DownloadsWeekly Downloads

    7

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    44.7 kB

    Total Files

    7

    Last publish

    Collaborators

    • appzer