Zum Hauptinhalt springen

Pushover Smart-Home-Integration, kostenlos und Open Source

Pushover-Integration für Gladys Assistant

Get Gladys messages and notifications on your phone through Pushover.

Info

Die Dokumentation dieser Integration wird von ihrem Autor geschrieben und ist bisher nur auf Englisch verfügbar.

Requires Gladys 4.86 or later.

Get the messages of Gladys on your phone, tablet or computer with Pushover: the notifications of your scenes, the images of your cameras, and every message Gladys sends you.

Pushover becomes a messaging channel of Gladys, like Telegram: each Gladys user links their own Pushover account to it, and only receives the messages meant for them. The channel is send-only: you cannot reply to Gladys from Pushover.

Requirements​

  • A Pushover account for each person who should receive the messages.
  • The Pushover app installed and logged in on each device that should receive them (Android, iPhone, iPad, desktop). After a 30-day free trial, the app is a one-time purchase per platform.
  • Sending is free up to 10,000 messages a month, for the whole Pushover account that owns the application created below.

Configuration (administrator)​

  1. Log in to pushover.net, then open Create an Application/API Token.
  2. Give it a name, Gladys for instance: it is the title of the notifications. You can also give it an icon, shown with each notification. Accept the terms, then click Create Application.
  3. Copy the token shown under API Token/Key: 30 letters and digits.
  4. In Gladys, open the configuration screen of the Pushover integration, paste the token into Application API token, then save.

The connection status then shows, for instance, Connected to Pushover: 9996 of 10000 messages left this month.; otherwise it shows one of the messages described in "Troubleshooting" below.

Receiving the messages (each user)​

Each Gladys user, administrator or not, enters their own Pushover account in the My account block of the integration configuration screen:

FieldDescription
User keyThe key shown under Your User Key, at the top of pushover.net once logged in: 30 letters and digits. A Pushover group key works too: every member of the group then gets the messages.
Devices, comma-separated (optional)The names of your Pushover devices that should get the messages, for instance iphone,ipad. Their names are listed on pushover.net. Leave empty to get the messages on all your devices.

Click Save. To stop receiving anything, click Delete my values.

A user who did not enter a key gets nothing on Pushover, which is expected: they still get the messages in the Gladys conversation.

Sending messages​

In a scene, use the Send Message action, or Send a camera image to attach a camera capture to the notification. Pick the recipient user, then, in Send through, All configured services or Pushover alone.

The other messages Gladys sends to a user also go through Pushover as soon as they entered their key.

What reaches your phone:

  • the text of the message, up to 1,024 characters. A longer text is shortened and ends with "…";
  • the camera image, attached to the notification. An image sent without text comes with the text "📷";
  • the name and icon of the Pushover application created by the administrator, as the title of the notification.

The sound and the quiet hours are set in the Pushover app itself.

Troubleshooting​

The connection status of the configuration screen reports the problems that affect every user. A message that could not be delivered is noted in the logs of the integration (Message not delivered: …), with the reason.

"Enter the Pushover application token in the integration settings." Fill in Application API token (see "Configuration").

"The application token does not look right: it is 30 letters and digits, shown on your application page on pushover.net." The token entered does not have the shape of a Pushover token. Copy it again from your application page, without spaces: make sure you did not paste your user key instead.

"Pushover refused the application token. Check it in the integration settings." The token has the right shape, but Pushover does not know it: the application was deleted, or the token belongs to another application. No message is sent until you save a valid token.

"The monthly Pushover message limit is reached. It resets on the 1st of the month." The Pushover account owning the application sent its 10,000 messages of the month, all applications included. Reduce the number of messages your scenes send, or buy more capacity from Pushover. Gladys stops asking Pushover until the quota resets.

"Pushover cannot be reached. Check the Internet access of the Gladys machine.", "Pushover did not answer in time. Try again later.", "Pushover is having trouble (HTTP …). Try again later." Gladys could not reach Pushover: Internet outage, or a Pushover incident (see its status page). Messages sent meanwhile are lost. The status turns back to "connected" with the first message sent successfully.

"Unexpected answer instead of Pushover: check the Internet access of the Gladys machine (proxy, captive portal)." Another page answered instead of Pushover: a captive portal or a proxy filters the Internet access.

In the logs of the integration, for one message:

  • The Pushover user key in "My account" does not look right: the user key entered in My account does not have the shape of a Pushover key. Enter it again.
  • Pushover refused the user key, or the account has no active device: the key does not exist, or no device is active on that Pushover account. Open the Pushover app on your phone to activate it. The same key is not tried again for 10 minutes; a corrected key is used right away.
  • Invalid Pushover device name(s) in "My account": a device name contains a forbidden character. A device name is at most 25 characters: letters, digits, - and _.
  • Pushover refused the message (…): Pushover refused the message, for the reason given in parentheses.

I get nothing, and the logs show no error. Check that your key is saved in My account, that the scene sends the message to your user and through Pushover or all services, and that the Pushover app is logged in on your phone. During your Pushover quiet hours, messages arrive silently.

Privacy​

  • The application token and the user keys are stored by Gladys as secrets: they are never shown again in the interface.
  • The text of the messages and the camera images go through the Pushover servers, which delete them once delivered to your devices. See the Pushover privacy policy.
  • The integration only talks to Gladys and to the Pushover API (api.pushover.net).

Konfigurationseinstellungen​

Diese Einstellungen fragt Pushover in seinem Konfigurationsbildschirm in Gladys ab.

EinstellungTypPflichtfeldBeschreibung
Create a Pushover applicationsectionNeinGladys sends its messages through an application registered on your Pushover account. Create one (free, name it Gladys for instance), then paste its API token below. Each Gladys user then enters their own Pushover user key in the "My account" block.
Application API tokensecretJa

So installierst du Pushover in Gladys​

  1. Öffne in Gladys Integrationen: Pushover erscheint im Katalog neben den nativen Integrationen, mit einem Community-Badge.
  2. Klicke auf Installieren. Gladys lädt das Docker-Image (ghcr.io/cicoub13/gladys-pushover:0.1.2) herunter, startet es in einer vom Kern isolierten Sandbox und erzeugt die Oberfläche der Integration (Geräte, Erkennung und Konfiguration).
  3. Öffne den Bildschirm Konfiguration der Integration, fülle die Einstellungen aus und speichere.
  4. Du kannst sie auch direkt über die URL ihres Repositorys installieren: https://github.com/cicoub13/gladys-pushover.

Pushover benötigt Gladys >=4.86.0. Der Katalog in Gladys wird stündlich aktualisiert, eine neue Version ist also spätestens eine Stunde nach ihrer Veröffentlichung verfügbar.

Du nutzt Gladys noch nicht? Es ist kostenlos und Open Source: folge der Installationsanleitung, um loszulegen.

Über externe Integrationen​

Pushover ist eine externe Integration: eine Community-Integration, die als Docker-Container verpackt und auf GitHub veröffentlicht wird. Gladys installiert sie mit einem Klick und führt sie in einer vom Kern isolierten Sandbox aus. Sie wird von cicoub13 veröffentlicht und gepflegt, nicht vom Gladys-Kernteam.

Abonniere den Newsletter von Gladys Assistant

Ein paar E-Mails im Monat zu neuen Releases und Neuigkeiten aus dem Projekt. Verschickt von Pierre-Gilles Leymarie, dem Gründer des Projekts. Jederzeit abbestellbar 🙂