Saltar al contenido principal

Integración domótica Transitous Departures, gratuita y de código abierto

Integración Transitous Departures para Gladys Assistant

Nearby public transport departures on the Gladys dashboard, powered by Transitous.

info

La documentación de esta integración la escribe su autor y, por ahora, solo está disponible en inglés.

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.

Parámetros de configuración​

Estos son los parámetros que Transitous Departures te pide en su pantalla de configuración en Gladys.

ParámetroTipoObligatorioDescripción
Widget setup informationsectionNoBefore adding the widget to your dashboard, determine the coordinates of your chosen location. You need latitude and longitude in decimal format, for example 49.350 and 8.690. When adding the widget, you can then configure the search radius, number of departures and refresh interval. The default search radius is 2,000 metres.

Cómo instalar Transitous Departures en Gladys​

  1. En Gladys, abre Integraciones: Transitous Departures aparece en el catálogo junto a las integraciones nativas, con una insignia de comunidad.
  2. Haz clic en Instalar. Gladys descarga la imagen Docker (ghcr.io/tomgermany/gladys-transitous-departures:1.0.3), la ejecuta en un entorno aislado del núcleo y genera la interfaz de la integración (dispositivos, descubrimiento y configuración).
  3. Abre la pantalla de Configuración de la integración, rellena los parámetros y guarda.
  4. También puedes instalarla directamente desde la URL de su repositorio: https://github.com/tomgermany/gladys-transitous-departures.

Transitous Departures requiere Gladys >=5.1.0. El catálogo de Gladys se actualiza cada hora, así que una nueva versión está disponible como máximo una hora después de publicarse.

¿Todavía no usas Gladys? Es gratuito y de código abierto: sigue la guía de instalación para empezar.

Sobre las integraciones externas​

Transitous Departures es una integración externa: una integración comunitaria empaquetada como contenedor Docker y publicada en GitHub. Gladys la instala con un clic y la ejecuta en un entorno aislado del núcleo. La publica y mantiene tomgermany, no el equipo principal de Gladys.

Suscríbete a la newsletter de Gladys Assistant

Unos pocos correos al mes sobre nuevas versiones y novedades del proyecto. Enviados por Pierre-Gilles Leymarie, fundador del proyecto. Puedes darte de baja cuando quieras 🙂