Fork me on GitHub

pimatic-pushover by Lukas Reinhart | github | npm

pimatic-pushover

A plugin for sending pushover notifications in pimatic. Forked from thexperiments

Configuration

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

{
  "plugin": "pushover",
  "user": "xxxxxxxxxxxxxxxxxxxxxxxxxx",
  "token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}

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

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

Example:

if it is 08:00 push title:"Good morning!" message:"Good morning Dave!" priority:1

in general: if X then push title:

"title of the push notification" message:"message for the notification" [priority:-1 - 1]

Find priorities here at pushover be aware that priority 2 currently crashes pimatic!

Obtaining the API-Token

To setup the pushover plugin you need an account at pushover.net. once created, you will get an user key. Have a look here:

pushoverkey

Then you need to register an application. As type use plugin, description is "pimatic". You can set an icon that will be displayed when the pushover app displays messages send from pimatic.

pushoverkey3

Once registered, you will get an API Token / Key. This is the token to be set in the config.json, below your user key.

pushoverkey2

Plugin Config Options

pushover config options
OptionDescriptionDefault
user
string
Pushover user hash
token
string
Pushover token
""
html
boolean
Interpret HTML message tags supported as of v2.3 device clients
true
title
string
Title for the notification
""
message
string
Message for the notification
""
url
string
Supplementary URL to show with your message, see https://pushover.net/api#urls
urlTitle
string
Title of the URL which to send with the notification
""
priority
integer
Priority of the notification: send as -1 to always send as a quiet notification, 1 to display as high-priority and bypass the user's quiet hours, or 2 to also require confirmation from the user (Receipts not implemented yet)
0
sound
string
Sound for the notification, see https://pushover.net/api#sounds
"pushover"
device
string
device to send the notification to
""
retry
integer
Only applicable when priority = 2. Sets how often the user is notified (in seconds)
600
expire
integer
Only applicable when priority = 2. Sets how long the user is notified (in seconds)
3600
callbackurl
string
Only applicable when priority = 2. URL is called when user acknowledges the notification
""
pimatic-pushover is written by Lukas Reinhart