Skip to content
Arduino ESP8266 library for sending push messages via Pushover
C++
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Added implementation Dec 26, 2019
ESPushover.cpp Added implementation Dec 26, 2019
ESPushover.h Added implementation Dec 26, 2019
ESPushoverMessage.cpp Added implementation Dec 26, 2019
ESPushoverMessage.h Added implementation Dec 26, 2019
LICENSE Initial commit Dec 26, 2019
README.md Added some more formation to README Dec 26, 2019

README.md

ESPushover

Donate

Important information: This library is an inofficial library not written or supported by Pushover! If their API changes the library needs to be adjusted.

This library allows you to send push messages via Pushover to your devices from a ESP8266. It is designed to work with the Arduino IDE (tested on 1.8.10).

Setup

Download (via git clone or by downloading the zip from GitHub) the library and install it as described on the Arduino Website.

Usage

Please check the samples in the examples folder.

Basic usage:
Initialize ESPushover: ESPushover po = ESPushover("SecureAppToken","UserToken");
Initialize ESPushoverMessage: ESPushoverMessage pom = ESPushoverMessage("test");
Send Message (will return HTTP status code): po.send(pom);

Setters for messages:

setDevice(String); // only sends pushes to given devices if set
setTitle(String); // sets the titles of the message
setUrl(String); // sets a clickable URL to the push message
setUrlTitle(String); // title of the URL
setPriority(Pushoverpriorities); // sets the priority of the message (see possible values below)
setRetry(uint16_t); // retry in seconds
setExpire(uint16_t); // timeout for message in seconds
setTimestamp(uint32_t); // unix timestamp, if not set, it will be the time the message was received
setIsHTML(boolean); // define that the message is HTML formatted
setSound(Pushoversounds); // sets a custom sound (see possible values below)

Pushoverpriorities (see Pushover API documentation for details):
PRIORITY_NORMAL (default)
PRIORITY_NONOTIFICATION
PRIORITY_QUIET
PRIORITY_HIGH
PRIORITY_CONFIRMATION

Pushoversounds (see Pushover API documentation for samples):
SOUND_PUSHOVER (default)
SOUND_BIKE
SOUND_BUGLE
SOUND_CASHREGISTER
SOUND_CLASSICAL
SOUND_COSMIC
SOUND_FALLING
SOUND_GAMELAN
SOUND_INCOMING
SOUND_INTERMISSION
SOUND_MAGIC
SOUND_MECHANICAL
SOUND_PIANOBAR
SOUND_SIREN
SOUND_SPACEALARM
SOUND_TUGBOAT
SOUND_ALIEN
SOUND_CLIMB
SOUND_PERSISTENT
SOUND_ECHO
SOUND_UPDOWN
SOUND_NONE

You can’t perform that action at this time.