Plugin to send Pushsafer notifications in pimatic
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
package.json
pushsafer-config-schema.coffee
pushsafer.coffee

README.md

pimatic-pushsafer

Pushsafer

A plugin for sending pushsafer.com notifications in pimatic.

Forked from and original created by: thexperiments

Pushsafer make it easy and safe to get push-notifications in real time on your

  • Android device
  • iOS device (incl. iPhone, iPad, iPod Touch)
  • Windows Phone & Desktop
  • Browser (Chrome & Firefox)

Configuration

You can load the backend by editing your config.json to include:

{
  "plugin": "pushsafer",
  "privatekey": "Your20CharPrivateKey"
}

in the plugins section. For all configuration options see pushsafer-config-schema

Currently you can send pushsafer notifications via action handler within rules.

Example:

titleTokens, messageTokens, sound, device, icon, vibration

if it is 08:00 push title:"Good morning!" message:"Time to get out of bed!" sound:"11" device:"312" icon:"4" iconcolor:"#00FF00" vibration:"2" url:"https://www.pushsafer.com" urltitle:"Open Pushsafer.com" time2live:"1000" priority:"2" retry:"60" expire:"600" answer:"1"

in general: if X then push

title:"title of the push notification" message:"message of the notification" sound:"11" device:"312" icon:"4" iconcolor:"#FF0000" vibration:"2" url:"https://www.pushsafer.com" urltitle:"Open Pushsafer.com" time2live:"60" priority:"2" retry:"60" expire:"600" answer:"1"

Find API description here at pushsafer api to set up your push notification!