Zum Hauptinhalt springen

Transitous Departures Smart-Home-Integration, kostenlos und Open Source

Transitous Departures-Integration für Gladys Assistant

ÖPNV-Abfahrten in der Nähe im Gladys-Dashboard, bereitgestellt von Transitous.

Info

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

This is the user documentation of the integration. Gladys re-hosts this file and shows a permanent Documentation link to it in the Configuration screen (in the user's language, with English as the fallback) — it is when configuring that the user needs it most. Keep the short onboarding hints in the section blocks of the manifest config_schema; put the long step-by-step (screenshots, troubleshooting…) here.

What you get​

Six demo devices show up after installation: a weather station (real data from Open-Meteo), a switch, a dimmable light, a smart plug with power metering, a motion sensor and a camera.

Configuration​

  1. Open the Configuration tab of the integration.
  2. Set the latitude and longitude the demo weather station should observe (they default to Paris), and pick your temperature unit. The refresh interval sets how often the weather station and the plug's power are read: every 5 minutes by default, every minute at most.
  3. Save: the devices appear in the Discovery tab, ready to be added.

The Prefer the local connection toggle drives the demo plug: it reports the channel it actually uses as a badge (local or cloud), with an orange dot when it runs degraded (local refused, cloud fallback).

Actions​

  • Test the weather provider — performs a live request to Open-Meteo and shows the current temperature and humidity under the button.
  • Identify a device — pick one of your devices in the list and it will signal itself (the demo light "blinks" in the logs).

Scenes​

The integration adds its own cards to the scene editor (Gladys 5.1 or later), under the Integrations category:

  • Motion detected (trigger) — starts the scene when a demo motion sensor sees something move. Optionally pick the sensor and what moved (person, animal); left empty, any detection matches. The following actions can read what moved with {{triggerEvent.data.target}}.
  • Identify a device (action) — makes the chosen device signal itself. It returns whether the device could signal itself, so the following actions can depend on it.

Dashboard​

Add the Demo status widget to a dashboard: it shows the live temperature of the weather station and the power of the office plug, the connection the plug currently uses (orange when degraded) and the observed location. Its Identify the light button makes the demo light signal itself.

Troubleshooting​

The integration logs everything it does: check the integration logs from the Gladys UI (or docker logs on the host) with LOG_LEVEL=debug for the full detail.

Konfigurationseinstellungen​

Diese Einstellungen fragt Transitous Departures in seinem Konfigurationsbildschirm in Gladys ab.

EinstellungTypPflichtfeldBeschreibung
Hinweis zur EinrichtungsectionNeinBitte legen Sie vor dem Hinzufügen des Widgets zum Dashboard die Koordinaten Ihres gewünschten Standorts fest. Benötigt werden Breitengrad und Längengrad im Dezimalformat, zum Beispiel 49.350 und 8.690. Beim Hinzufügen des Widgets stellen Sie anschließend Suchradius, Anzahl der Abfahrten und Aktualisierungsintervall ein. Der Standard-Suchradius beträgt 2.000 Meter.

So installierst du Transitous Departures in Gladys​

  1. Öffne in Gladys Integrationen: Transitous Departures erscheint im Katalog neben den nativen Integrationen, mit einem Community-Badge.
  2. Klicke auf Installieren. Gladys lädt das Docker-Image (ghcr.io/tomgermany/gladys-transitous-departures:1.0.3) 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/tomgermany/gladys-transitous-departures.

Transitous Departures benötigt Gladys >=5.1.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​

Transitous Departures 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 tomgermany 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 🙂