Public Transport Departures Integration

Hi everyone! :wave:

I’d like to share a new custom integration and matching Lovelace card I’ve created for Home Assistant:

:point_right: ha-departures (custom integration)
:point_right: ha-departures-card (custom Lovelace card)

:wrench: What does it do?
ha-departures lets you display upcoming departures from public transport stations directly in Home Assistant. Perfect for dashboards, automations, or just a quick glance before leaving home!

The Lovelace card enhances the experience by providing a clean and easy-to-read visual layout of the departures.

:bus: Features:

  • Fetches departures from a specified stop/station
  • Filter by line and direction
  • Shows upcoming connections with countdown
  • Great for entrance displays or time-based automations
  • Fully configurable

:earth_africa: Supported services:

  • Powered by the EFA (Elektronische Fahrplanauskunft) API, so it works with many public transport networks across Germany.

:package: Installation:

  1. Add ha-departures via HACS as a custom repository
  2. Configure it via GUI configuration (Settings → Devices & Services → Public Transport Departures)
  3. Use the generated sensors in your dashboard

:hammer_and_wrench: Example configuration:

for more details about configuration of integration and Lovelace card, s. documentation in GitHub repositories

:camera: Sample Dashboard:


:speech_balloon: I’d love to hear your feedback, ideas for new features, or bug reports!
Feel free to reach out here or open an issue on GitHub.

Best regards,
Alex

3 Likes

Hi

Thanks for the great share and just curious but is it using GTFS source of data ? as I’d like to use it here in Switzerland and we have an API based on GTFS.

Thanks

Vincèn

Thank you, Vincèn.

The integration currently supports only EFA API, but nevertheless I will take a look in GTFS API description and think about implementation for that:

Regards
Alex

1 Like

Thanks @alex-jung :+1:

1 Like

It would be nice to have VRS included?
VRS open-data-service

Hallo Fugazzy,

I will contact VRS and ask whether is possible to provide an api for that.