Gotify for Home Assistant ist eine benutzerdefinierte, HACS-fähige Home-Assistant-Integration, mit der Du einen oder mehrere Gotify-Server komfortabel per Config-Flow einrichten und anschließend für Senden, Empfangen, Zustandsüberwachung und Automatisierung nutzen kannst.
Die Integration ist vollständig zweisprachig aufgebaut und bringt sowohl deutschsprachige als auch englischsprachige Übersetzungen für Benutzeroberfläche, Services, Config-Flow, Options-Flow und Entitätsnamen mit.
Der sichtbare Integrationsname in Home Assistant lautet Gotify.
Die interne Domain der Integration lautet absichtlich gotify_bridge. Dadurch werden Kollisionen mit anderen Namensverwendungen von gotify im Home-Assistant-Umfeld vermieden, während die Oberfläche für den Nutzer weiterhin sauber und eindeutig Gotify anzeigt.
Die Integration bietet unter anderem folgende Funktionen:
- Config-Flow-Wizard mit logisch aufgeteilten Einrichtungsseiten
- Mehrere parallel eingerichtete Instanzen eines oder mehrerer Gotify-Server
- Nachrichtenversand über Anwendungs-Token
- Nachrichtenempfang und Live-Streaming über Client-Token und WebSocket
- Notify-Entity zur Nutzung in Automationen und Skripten
- Sensoren für Serverstatus, Version, Benutzerinformationen, Zähler und letzte Nachricht
- Binärsensor für den Status der WebSocket-Verbindung
- Event-Entity für eingehende Gotify-Nachrichten
- Home-Assistant-Eventbus-Event
gotify_bridge_message_received - Services zum Senden, Löschen, Leeren und Aktualisieren
- Gerätezuordnung pro Integrationseintrag, sodass jede eingerichtete Instanz als eigenes Gerät erscheint
- Blueprints in deutscher und englischer Sprache
- HACS-kompatible Repository-Struktur inklusive Brand-Assets
- Öffne HACS.
- Füge dieses Repository als benutzerdefiniertes Integrations-Repository hinzu.
- Installiere die Integration.
- Starte Home Assistant neu.
- Füge anschließend die Integration Gotify unter Einstellungen → Geräte & Dienste hinzu.
Direkt-Link für HACS:
Passende Home Assistant App
Zusätzlich steht eine passende Home Assistant App für einen selbst gehosteten Gotify Server zur Verfügung.
Mit dem folgenden Button kannst Du das App-Repository direkt in Home Assistant hinzufügen:
Danach kannst Du im App-Store die App Gotify Server installieren.
Die App und diese HACS-Integration ergänzen sich bewusst:
- Die App stellt den Gotify-Server direkt in Home Assistant bereit.
- Die Integration verbindet Home Assistant mit einem oder mehreren Gotify-Servern für Senden, Empfangen, Sensoren, Events und Automationen.
Kopiere den Ordner:
custom_components/gotify_bridge
nach:
/config/custom_components/gotify_bridge/
Wenn bereits ältere Teststände installiert waren, lösche vorher konsequent mögliche Altordner:
/config/custom_components/gotify//config/custom_components/gotify_bridge/
Starte danach Home Assistant vollständig neu.
Die Integration wird über einen mehrstufigen Wizard eingerichtet. Die Seiten sind logisch getrennt, damit zusammengehörige Angaben nicht unnötig vermischt werden.
Hier werden die Grunddaten des Servers abgefragt:
- Anzeigename des Eintrags
- Server-URL
- SSL-Zertifikatsprüfung
Hier legst Du fest, wie der Eintrag verwendet werden soll:
- Vollzugriff: Senden und Empfangen
- Nur senden: Nur Benachrichtigungen von HA nach Gotify
- Nur empfangen: Nur Empfang, Verwaltung und Streaming
Zusätzlich werden hier die jeweils benötigten Tokens erfasst.
Hier definierst Du das Betriebsverhalten:
- Polling-Intervall
- WebSocket-Aktivierung
Optional kann eine bestimmte Gotify-Anwendung ausgewählt werden, deren Nachrichten überwacht, gezählt oder gesammelt gelöscht werden sollen.
Ein Application Token wird benötigt, wenn Home Assistant aktiv Nachrichten an Gotify senden soll.
Typische Verwendung:
- Statusmeldungen
- Alarmierungen
- Informations- und Servicenachrichten
- Weiterleitung von Home-Assistant-Ereignissen an mobile Gotify-Clients
Ein Client Token wird benötigt, wenn Home Assistant Daten vom Gotify-Server lesen oder Live-Nachrichten empfangen soll.
Typische Verwendung:
- Benutzerinformationen abrufen
- Anwendungslisten abrufen
- Nachrichtenlisten lesen
- Nachrichten löschen
- WebSocket-Stream für eingehende Nachrichten verwenden
Je nach Konfiguration und Berechtigungen stellt die Integration mehrere Entitäten bereit.
- Server-Version
- Server-Commit
- Server-Zustand
- Datenbank-Zustand
- Aktueller Benutzer
- Anzahl Anwendungen
- Anzahl Clients
- Anzahl überwachter Nachrichten
- Anzahl empfangener Nachrichten
- Titel der letzten Nachricht
- Priorität der letzten Nachricht
- WebSocket-Verbindung
- Eingehende Nachricht
- Benachrichtigungen
Die Integration registriert folgende Services unter der Domain gotify_bridge:
gotify_bridge.send_messagegotify_bridge.delete_messagegotify_bridge.clear_messagesgotify_bridge.refresh
Dient zum Senden einer Gotify-Nachricht.
Unterstützte Felder:
entry_idmessagetitleprioritymarkdownclick_urlbig_image_urlintent_urlextras
Beispiel:
action: gotify_bridge.send_message
data:
title: "Home Assistant"
message: "Die Waschmaschine ist fertig."
priority: 5
markdown: falseLöscht eine Nachricht anhand ihrer numerischen Gotify-ID.
action: gotify_bridge.delete_message
data:
entry_id: "DEINE_ENTRY_ID"
message_id: 123Löscht alle Nachrichten der konfigurierten überwachten Anwendung.
action: gotify_bridge.clear_messages
data:
entry_id: "DEINE_ENTRY_ID"Aktualisiert alle Daten des gewählten Eintrags sofort.
action: gotify_bridge.refresh
data:
entry_id: "DEINE_ENTRY_ID"Bei eingehenden Nachrichten veröffentlicht die Integration zusätzlich das Event:
gotify_bridge_message_received
Typische Event-Daten:
entry_idtitlemessagepriorityidappiddateextrasraw
Dadurch kannst Du sehr flexible Automationen auf Basis eingehender Gotify-Nachrichten bauen.
Die Integration bringt drei sofort nutzbare Blueprint-Typen mit — jeweils in Deutsch und Englisch.
RAW:
https://raw.githubusercontent.com/Q14siX/gotify/main/blueprints/automation/gotify_bridge/de/send_message_on_trigger.yaml
RAW:
https://raw.githubusercontent.com/Q14siX/gotify/main/blueprints/automation/gotify_bridge/de/react_to_incoming_message.yaml
RAW:
https://raw.githubusercontent.com/Q14siX/gotify/main/blueprints/automation/gotify_bridge/de/monitor_websocket_connection.yaml
blueprints/automation/gotify_bridge/de/send_message_on_trigger.yamlblueprints/automation/gotify_bridge/de/react_to_incoming_message.yamlblueprints/automation/gotify_bridge/de/monitor_websocket_connection.yaml
- Sende eine Gotify-Nachricht, wenn Waschmaschine oder Trockner fertig sind.
- Reagiere auf eingehende Gotify-Nachrichten mit bestimmten Prioritäten.
- Lasse bei WebSocket-Ausfall eine Eskalationsbenachrichtigung erzeugen.
- Leite kritische Home-Assistant-Ereignisse an Gotify weiter.
- Nutze Gotify als zentrale mobile Alarmierungsstrecke.
- Prüfe, ob der Ordner korrekt unter
/config/custom_components/gotify_bridge/liegt. - Prüfe, ob alte Teststände vollständig gelöscht wurden.
- Starte Home Assistant nach jedem Austausch der Dateien vollständig neu.
- Prüfe, ob ein Client Token hinterlegt ist.
- Prüfe, ob der WebSocket-Stream aktiviert ist.
- Prüfe, ob der Gotify-Server vom Home-Assistant-System aus erreichbar ist.
- Prüfe, ob ein Application Token vorhanden ist.
- Prüfe, ob der Modus Vollzugriff oder Nur senden gewählt wurde.
- Prüfe Server-URL und SSL-Einstellungen.
Wenn mehrere Gotify-Einträge eingerichtet sind, muss bei Service-Aufrufen gezielt die gewünschte entry_id angegeben werden.
custom_components/gotify_bridge/
├── __init__.py
├── api.py
├── binary_sensor.py
├── brand/
├── config_flow.py
├── const.py
├── coordinator.py
├── diagnostics.py
├── entity.py
├── event.py
├── manifest.json
├── notify.py
├── sensor.py
├── services.yaml
├── system_health.py
└── translations/
blueprints/automation/gotify_bridge/
├── de/
└── en/
Das Repository enthält Brand-Assets im Integrationsordner custom_components/gotify_bridge/brand/, damit Home Assistant und HACS die Grafiken möglichst konsistent verwenden können.
Gotify for Home Assistant is a custom, HACS-ready Home Assistant integration that lets you configure one or more Gotify servers through a config flow and then use them for message sending, incoming message handling, state monitoring, and automation workflows.
The integration is fully bilingual and ships with German and English translations for the user interface, services, config flow, options flow, and entity names.
The visible integration name in Home Assistant is Gotify.
The internal domain is intentionally gotify_bridge. This avoids naming collisions with other gotify usages inside the Home Assistant ecosystem while still presenting a clean and user-friendly Gotify name in the UI.
The integration includes, among other things:
- Config flow wizard with logically separated setup pages
- Multiple parallel instances of one or more Gotify servers
- Message sending through application tokens
- Message receiving and live streaming through client tokens and WebSocket
- Notify entity for use in automations and scripts
- Sensors for server state, version, user information, counters, and last message data
- Binary sensor for the WebSocket connection state
- Event entity for incoming Gotify messages
- Home Assistant event bus event
gotify_bridge_message_received - Services for sending, deleting, clearing, and refreshing
- One device per config entry, so every configured instance appears as its own device
- Blueprints in German and English
- HACS-compatible repository structure including brand assets
- Open HACS.
- Add this repository as a custom integration repository.
- Install the integration.
- Restart Home Assistant.
- Add the Gotify integration under Settings → Devices & Services.
Direct HACS button:
Matching Home Assistant app
A matching Home Assistant app for a self-hosted Gotify Server is also available.
Use the following button to add the app repository directly to Home Assistant:
After that, you can install the Gotify Server app from the app store.
The app and this HACS integration are designed to complement each other:
- The app provides the Gotify server directly inside Home Assistant.
- The integration connects Home Assistant to one or more Gotify servers for sending, receiving, sensors, events, and automations.
Copy:
custom_components/gotify_bridge
to:
/config/custom_components/gotify_bridge/
If older test builds were installed before, remove legacy folders first:
/config/custom_components/gotify//config/custom_components/gotify_bridge/
Then restart Home Assistant completely.
The integration uses a multi-step setup wizard so related settings stay grouped together and easier to understand.
This page contains the basic connection details:
- Entry display name
- Server URL
- SSL certificate verification
Here you define how the entry should be used:
- Full access: send and receive
- Send only: notifications from HA to Gotify only
- Receive only: receive, manage, and stream only
This step also collects the required token types.
This step controls runtime behavior:
- Polling interval
- WebSocket enable/disable
Optionally, a specific Gotify application can be selected for message monitoring, counters, and bulk deletion.
An application token is required when Home Assistant should actively send notifications to Gotify.
Typical use cases:
- status updates
- alerts
- information messages
- forwarding Home Assistant events to mobile Gotify clients
A client token is required when Home Assistant should read data from the Gotify server or receive live messages.
Typical use cases:
- reading user information
- retrieving application lists
- reading message lists
- deleting messages
- using the WebSocket stream for incoming messages
Depending on the configuration and token permissions, the integration creates several entities.
- Server version
- Server commit
- Server health
- Database health
- Current user
- Applications count
- Clients count
- Monitored messages count
- Received messages total
- Last message title
- Last message priority
- WebSocket connection
- Incoming message
- Notifications
The integration registers the following services under the gotify_bridge domain:
gotify_bridge.send_messagegotify_bridge.delete_messagegotify_bridge.clear_messagesgotify_bridge.refresh
Used to send a Gotify message.
Supported fields:
entry_idmessagetitleprioritymarkdownclick_urlbig_image_urlintent_urlextras
Example:
action: gotify_bridge.send_message
data:
title: "Home Assistant"
message: "The washing machine has finished."
priority: 5
markdown: falseDeletes a message by its numeric Gotify ID.
action: gotify_bridge.delete_message
data:
entry_id: "YOUR_ENTRY_ID"
message_id: 123Deletes all messages belonging to the configured monitored application.
action: gotify_bridge.clear_messages
data:
entry_id: "YOUR_ENTRY_ID"Refreshes all data of the selected entry immediately.
action: gotify_bridge.refresh
data:
entry_id: "YOUR_ENTRY_ID"Whenever a new message is received, the integration also publishes:
gotify_bridge_message_received
Typical event data:
entry_idtitlemessagepriorityidappiddateextrasraw
This makes it possible to build flexible automations based on incoming Gotify traffic.
The integration includes three ready-to-use blueprint types — each available in German and English.
RAW:
https://raw.githubusercontent.com/Q14siX/gotify/main/blueprints/automation/gotify_bridge/en/send_message_on_trigger.yaml
RAW:
https://raw.githubusercontent.com/Q14siX/gotify/main/blueprints/automation/gotify_bridge/en/react_to_incoming_message.yaml
RAW:
https://raw.githubusercontent.com/Q14siX/gotify/main/blueprints/automation/gotify_bridge/en/monitor_websocket_connection.yaml
blueprints/automation/gotify_bridge/en/send_message_on_trigger.yamlblueprints/automation/gotify_bridge/en/react_to_incoming_message.yamlblueprints/automation/gotify_bridge/en/monitor_websocket_connection.yaml
- Send a Gotify message when the washer or dryer is finished.
- React to incoming Gotify messages above a certain priority.
- Raise an alert when the WebSocket stream is disconnected.
- Forward critical Home Assistant events to Gotify.
- Use Gotify as a central mobile alerting channel.
- Check whether the folder exists at
/config/custom_components/gotify_bridge/. - Make sure all older test builds were removed completely.
- Fully restart Home Assistant after replacing the files.
- Check whether a client token is configured.
- Check whether the WebSocket stream is enabled.
- Verify that the Gotify server is reachable from the Home Assistant system.
- Check whether an application token is configured.
- Make sure the mode is Full access or Send only.
- Verify the server URL and SSL settings.
If multiple Gotify entries are configured, service calls need the correct entry_id to target the intended entry.
custom_components/gotify_bridge/
├── __init__.py
├── api.py
├── binary_sensor.py
├── brand/
├── config_flow.py
├── const.py
├── coordinator.py
├── diagnostics.py
├── entity.py
├── event.py
├── manifest.json
├── notify.py
├── sensor.py
├── services.yaml
├── system_health.py
└── translations/
blueprints/automation/gotify_bridge/
├── de/
└── en/
The repository contains brand assets in custom_components/gotify_bridge/brand/ so that Home Assistant and HACS can consume the graphics as consistently as possible.