appzer / SHC-pushsafer

A Shell Script for sending pushsafer.com notifications in SHC Raspberry Pi SmartHome Control.

Home Page:https://www.pushsafer.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SHC-pushsafer

Pushsafer

A Shell Script for sending pushsafer.com notifications in SHC Raspberry Pi SmartHome Control.

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 10 Phone & Desktop
  • Browser (Chrome & Firefox)

Download:

https://github.com/appzer/SHC-pushsafer/

Usage:

In pushsafer.sh replace the variable PRIVATEKEY with your private or alias key.

Copy pushsafer.sh and set permissions

cp pushsafer.sh /usr/bin
chmod 755 /usr/bin/pushsafer.sh

Now you have access from anywhere on this file.

In SHC you call the script as a switching function

pushsafer.sh "My Message" "My Title" "Device" "Icon" "Sound" "Vibration" "URL" "URLTitle" "Time2Live" "Priority" "Retry" "Expire" "Confirm" "Answer" "AnswerOptions" "AnswerForce"

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

Example:

pushsafer.sh "Motion detected" "SHC" "119" "82" "17" "3" "https://www.pushsafer.com" "Open Pushsafer" "60" "2" "60" "120" "10" "1" "yes|no|maybe" "1"

About

A Shell Script for sending pushsafer.com notifications in SHC Raspberry Pi SmartHome Control.

https://www.pushsafer.com

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%