OpenPublicTransport — Real-Time Departures for 28 European Transit Providers in Home Assistant

OpenPublicTransport — Real-Time Departures for 28 European Transit Providers

Hey everyone!

I've been building a Home Assistant integration for public transport and wanted to share it here. It's called OpenPublicTransport; it brings live departure data from 28 transit providers across Germany, Switzerland, Austria, Sweden, Ireland, and worldwide directly into HA.

One of the entity types it creates is a camera entity that renders a classic yellow-on-black station departure board - perfect for a wall-mounted tablet by the door:

The integration also comes with a Lovelace card in four layouts (table, compact, trip, and the camera board shown above) — more screenshots and a live provider map on the website.


What you get per stop

7 entity types from a single config entry:

  • Sensor — next departure + full departure list in attributes
  • Binary Sensor — fires when delays exceed your threshold (configurable 1–30 min)
  • Calendar — every departure becomes a calendar event
  • Event — fires on disruption notices for automations
  • Camera — the rendered departure board (shown above)
  • Trip Sensor — A-to-B route planning with transfer risk assessment
  • Statistics — per-line punctuality tracking over time

Smart features:

  • Walking time filter — departures you can't make disappear automatically
  • Fuzzy stop search — handles typos and umlauts ("Hauptbanhof" → "Hauptbahnhof")
  • Line filtering & favorites
  • TTS announcements — station-style spoken departures via any HA TTS
  • Application Credentials — API keys stored securely in HA's credential store
  • 7 languages (DE, EN, FR, NL, PL, IT, SV)
  • HA 2026.6 compatible

28 providers, most need no API key

VRR, KVV, HVV, BVG, MVV, VVS, VGN, VAG, RMV, VRN, VVO, DING, AVV, RVV, BSVG, NWL, NVBW, BEG, SBB (CH), ÖBB (AT), Trafiklab (SE), NTA (IE), Transitous (worldwide), VBN, and a new nationwide Deutschland provider.


Installation

Both the integration and the card are available via HACS (custom repository for now).

  1. HACS → Integrations → add https://github.com/NerdySoftPaw/openpublictransport
  2. HACS → Frontend → add https://github.com/NerdySoftPaw/openpublictransport-card
  3. Restart HA → Settings → Devices & Services → Add Integration → OpenPublicTransport
  4. Pick provider, search for stop, done — no YAML needed.

GitHub + docs: https://openpublictransport.net
Direct install (HACS): GitHub - NerdySoftPaw/openpublictransport: Home Assistant integration for the public transport networks VRR (Verkehrsverbund Rhein-Ruhr), KVV (Karlsruher Verkehrsverbund), HVV (Hochbahn), Trafiklab (Sweden) and NTA (National Transport Authority, Ireland). This integration provides real-time departure information for public transport in NRW, Karlsruhe, Hamburg, Sweden and Ireland. · GitHub

If your provider isn't listed yet — open an issue, the architecture makes adding one straightforward.

Thanks a lot for the work and the share, works great here in Switzerland (Lausanne) :ok_hand:

Nice :slight_smile: happy that it work :slight_smile:

Currently I’m working on reach quality scale gold and then thinking about the own api to upgrade. It with more sources ^^ but currently it needs 32gb for running and 60gb for build the graph(every Sunday) ^^