Skip to content

Changelog

v2026.11.2 — Via stop with an optional stay

New

  • Via stop with an optional dwell time (#110, thanks @deZeus89) — a trip can run through a stop of your choice, optionally staying there for a minimum time: Düsseldorf → Wuppertal (30 minutes) → Essen. Set it in the new step after the destination when adding a trip, or pass via, via_city, via_id and via_dwell_minutes to plan_trip. The sensor shows via and via_dwell_minutes. See Via Stop and Dwell Time.
  • EFA (VRR, KVV, VVS, MVV, …): via stop natively. A stay is planned as two connections (to the via stop, then on from it after the stay), because the EFA servers ignore their own dwell-time parameter.
  • HAFAS (NAH.SH, VMT, …): via stop and stay natively.
  • OTP2 (own instance): via stop and stay, if the server supports via locations.
  • VBN OTP and providers without trip planning: refused with a clear message, never ignored.

Requires python-openpublictransport 0.3.4.

v2026.11.1 — Every connection of a trip, in full

New

  • openpublictransport.get_journeys action (#113, thanks @remuslazar) — returns every connection a trip sensor is currently holding, each with its legs. The sensor's attributes only summarise the alternatives. The action reads the data that is already fetched, so it makes no extra request to the provider and adds nothing to the recorder. Call it with a response variable; a departure board or a foreign entity is rejected.
  • A journey id — every connection, the shown one and each entry in next_journeys, carries a short id derived from its legs' lines, stops and planned departures, so it stays the same while a delay changes. This is what lets the departure card 1.12.0 open an alternative connection in a dialog.

v2026.11.0 — Ready for the Home Assistant Marketplace

New

  • Home Assistant Marketplace (#111) — since Home Assistant 2026.11, HACS is built in as the Marketplace. The integration installs and updates from Settings → Marketplace, and existing HACS installs carry over automatically. The manifest now declares the category vehicles_transport.public_transport, and the docs describe the new way to install.
  • departure_timestamp on every departure (card#17, thanks @deZeus89) — a full ISO timestamp, so dashboards can count down between polls instead of showing the minute count from the last poll. The departure card 1.11.0 uses it.
  • last_fetched (card#18, thanks @deZeus89) — departure, trip and multi-stop sensors say when the provider last answered successfully (a multi-stop sensor reports its oldest stop). Unlike last_updated, it does not move when a rate-limited poll reuses cached data. The card 1.11.0 shows it as "Fetched 20 seconds ago".

v2026.10.5 — Routine notices are no longer shown as disruptions

Fixes

  • Routine information appeared as a disruption (card#15, thanks @deZeus89) — on EFA providers (VRR, KVV, GVH, …), notices such as "Fahrradmitnahme begrenzt möglich", "behindertengerechtes Fahrzeug" or "Bordrestaurant" counted as disruptions. Each departure now has a disruptions attribute with only the real disruptions (delays, construction work, closures), and the disruption event fires only for those. notices still lists everything. The departure card 1.10.1 uses the new attribute for its warning banner.

Requires python-openpublictransport 0.3.3.

v2026.10.4 — Trip duration includes transfer time

Fixes

  • Trip duration left out the wait between connections (#105, thanks @deZeus89) — on EFA providers (VRR, KVV, GVH, …), a journey's duration_minutes added up only the legs and missed the wait at each change. It now runs from the first departure to the last arrival, so it matches departure_timestamp and arrival_timestamp.

Requires python-openpublictransport 0.3.2.

v2026.10.3 — Arrive-by trip planning, trips from addresses, transfer details

New

  • Arrive by a set time (#96, thanks @grifmo) — a trip entry can look for the latest connection that still arrives by a fixed time or by a time read from an input_datetime/sensor, e.g. for the school run. Works with EFA, HAFAS and OTP providers. The same route can now be set up twice with different arrival times. See Arriving by a Set Time.
  • Direction and transfer time per leg (#95, thanks @remuslazar) — every leg of a journey carries direction (where the vehicle is headed) and, before a change, transfer_minutes (the wait for the next vehicle).

Fixes

  • Trips from an address or a point of interest never found a connection (#94, thanks @remuslazar) — EFA rejected those locations because they were sent as stops; they now go out as any.
  • Trip options: the line filter and transport types stay available in the trip options dialog, and every text field there can be cleared again.

Requires python-openpublictransport 0.3.2.

v2026.10.2 — Clearable filters, exclude filters, ICE names, CTA

Fixes

  • Filters could not be removed (#98) — clearing the line, destination or platform filter or the favourite lines under Configure had no effect: the old value came back after saving. Emptied fields are now saved as empty. The same applied when reconfiguring an entry.
  • Long-distance trains showed only a number (#99) — ICE, IC and EC trains appeared as "620" or "29" on EFA providers (VRR, KVV, NVBW, …), on Transitous and on DB. They now read "ICE 620"; regional trains with a bare number become "RE 5" as well.
  • Few departures from VBN OTP (#92) — OTP providers only looked two hours ahead, so a line running once an hour showed one or two departures. Departure boards now look 12 hours ahead, trip planning four hours. Tip: the new VBN (no key) provider covers the same area with real-time data and trip planning.
  • Unloading trip and multi-stop entries no longer tries to unload platforms they never loaded ("Config entry was never loaded").

New

  • Exclude filters (#93) — a leading ! hides a value: !Hauptbahnhof in the destination filter, U43, !U47 in the line filter, !3 in the platform filter. See Departure Filters.
  • Departure board camera for Multi-Stop entries (#100) — disabled by default; enable it on the multi-stop device. Existing multi-stop entries get it after a reload.
  • CTA (Chicago) (#101) — 'L' trains and buses with real-time data via the official Train Tracker and Bus Tracker APIs (free keys). See CTA. 59 providers in total.

Requires python-openpublictransport 0.3.1.

Fixes

  • Links to the documentation pointed to /latest/… pages that do not exist — the repair notice about the community server shutdown, the README and the issue templates linked to docs.openpublictransport.net/latest/…, which returns "not found". They now point to the real pages, e.g. Community Server Shutdown & Our New Focus.

v2026.10.0 — The openpublictransport community server is shut down

Please read before updating

We had to give up our own API at api.openpublictransport.net for cost reasons. Entries that use the openpublictransport provider are deleted on update. All other providers are unaffected. The full background is in Community Server Shutdown & Our New Focus.

Why

Running a Germany-wide OpenTripPlanner 2 server for everyone — a large machine running 24/7, the weekly rebuild of the routing graph, real-time polling every 30 seconds, traffic, backups and monitoring — turned out to be far more expensive than a free hobby project can carry. Donations helped, but never covered the running costs, and the gap grew with every new user. Instead of letting the service slowly degrade, we decided to shut it down cleanly.

Breaking changes

  • The openpublictransport provider has been removed. On the first start after the update, every departure and trip entry that still uses this provider is deleted together with its devices and entities, and a repair notice under Settings → System → Repairs lists the removed entries by name. Confirm the notice to dismiss it.
  • Replacement: set the stops up again with the official provider of your transit network (VRR, KVV, MVV, VVS, RMV, HVV, BVG, VVO and many more — see the provider overview), or host the same server yourself with the otp-gtfsde Docker image and connect it with the OTP2 — Eigene Instanz (otp_custom) provider. See the Migration Guide.
  • Requires python-openpublictransport 0.3.0, which no longer ships the openpublictransport provider.

New providers

The first step of the new focus ships with this release: six German networks that so far had no coverage or timetable data only (through NVBW's nationwide feed) now have their own provider with real-time data. None of them needs an API key.

Provider Region API Trip planner
VMV Mecklenburg-Vorpommern (Rostock, Schwerin, …) EFA ✅
GVH Hannover EFA ✅
NAH.SH Schleswig-Holstein (Kiel, Lübeck, …) HAFAS mgate ✅
INSA Sachsen-Anhalt (Magdeburg, Halle, …) HAFAS mgate ✅
VMT Thüringen (Erfurt, Jena, Weimar) HAFAS mgate ✅
saarVV Saarland HAFAS mgate ✅

Even more providers (15 new, 58 in total)

Germany — HAFAS mgate with trip planning, no API key:

  • VBN without key (Bremen / Niedersachsen), alongside the key-based VBN OTP / TRIAS
  • NVV (Nordhessen / Kassel), VOS (Osnabrück), VSN (Göttingen)

Europe:

Worldwide:

The three key-based providers (Digitransit, PID, Transport for NSW) were built from the official documentation and could not be tested with a real key yet — feedback is welcome.

DB is back

The community proxy v6.db.transport.rest behind the DB provider has been down for weeks. DB now runs on Transitous instead, with nationwide real-time data for trains, S-Bahn, U-Bahn, trams and buses. Existing DB entries keep working without reconfiguration.

Fixes for HAFAS providers

  • Signed HAFAS requests now use the salt like hafas-client (hex-decoded), which VSN needs.
  • HAFAS providers send the client extension (ext) some networks expect.
  • OTP REST providers no longer fail when the server has no alerts endpoint.

Trip planning for every HAFAS mgate provider

The trip planner now also works with all HAFAS mgate providers — NAH.SH, INSA, VMT, saarVV, TPG, Irish Rail, BART and DART — through the mgate TripSearch service, with real-time delays, platforms and transfer rating like the EFA and OTP providers. Connections with a cancelled leg are left out. Pick both stops in the config flow, as for OTP.

The HAFAS mgate providers use the access id of the operator's own app (from the public-transport/transport-apis catalogue), not an officially issued key, so it may change without notice.

Fixes

  • BEG departure boards failed with "authentication failed (HTTP 403)" — the firewall in front of bahnland-bayern.de rejects the RapidJSON spelling of the output format. All EFA providers now request rapidJSON, which every EFA server accepts.

What's next: more transit networks

From now on, development focuses on connecting more transit networks (Verkehrsverbünde) directly through their official interfaces — official data from the source, no central server, no running costs and no single point of failure. Missing your network? Request it here.

v2026.9.1 — Trip sensors honour their filters

Fixes

  • A trip device ignored its line filter and its transportation types (#87) — both settings were offered under Configure on a Trip Planner entry and neither changed anything: only the departure board ever read them, so a trip filtered to U43, U47 still showed the occasional 400 bus connection. The trip coordinator now applies both, and re-reads them when you edit the options instead of waiting for a restart.

    A connection is kept only when every vehicle on it passes the filters — a journey that ends on the 400 bus is not a U43 journey, so it is dropped whole rather than shown with a leg missing. Walking legs are ignored, and so are types the selector never offered (ferry, taxi), which cannot be deselected and must not silently remove a connection.

  • Journey legs now carry a transport_type — the legs of a trip only ever reported the provider's own product name ("Stadtbahn", "Regionalbus"), which no filter and no card could match against the four selectable types. Each leg now also carries the unified type (bus, tram, subway, train, ferry, taxi, walk), resolved through the same product-class mapping a departure uses, with the product name as a fallback.

Note

The line filter on the Lovelace card still has no effect on the trip layout — that is tracked separately in the card repository.

v2026.9.0 — API failures no longer look like empty search results

Requires python-openpublictransport 0.2.0.

Fixes

  • A provider outage was reported as "no results found" (#88) — when a transit API answered with an error, the library logged it and returned an empty list, so the config flow could not tell an outage apart from a search that genuinely matched nothing. Typing a station name during a provider outage told you to try a different search term. Each case now has its own message, and the HTTP status is part of it, so a screenshot or a bug report carries the code straight away:

    Situation Message
    The provider returned an error Fehler beim Anbieter (HTTP 503). Bitte versuche es später erneut.
    The API key was rejected Authentifizierung fehlgeschlagen — bitte den API-Schlüssel prüfen.
    Timeout or unreachable host Der Anbieter ist nicht erreichbar. Bitte Internetverbindung und URL prüfen.
    Unusable response Der Anbieter hat eine unbrauchbare Antwort geliefert.
    Nothing matched Keine Ergebnisse gefunden. Bitte versuchen Sie einen anderen Suchbegriff.
  • A custom OTP2 server could not be configured at all — the URL step passed a validator that Home Assistant cannot serialise into a form, so the step failed to render and the dialog never reached the URL field. It now uses a URL field and validates the address itself.

  • Departure sensors stayed available through an outage — they now go unavailable with the HTTP status in the log and a repair issue, and recover on their own. A station that simply has no departures right now is no longer treated as a failure, so an empty board does not make the sensor disappear.
  • Trip sensors never went unavailable — the trip coordinator had no error handling at all and quietly kept serving its last known connection while the provider was down.
  • The plan_trip action pointed at the logs — it now names the HTTP status in the error it raises, so an automation can log something actionable.
  • Two error messages were never translated — api_error and cannot_connect were referenced in the code but missing from every language file, so the dialog showed the raw key. Six error messages were added across German, English, French, Italian, Dutch, Polish and Swedish.

Internals

python-openpublictransport 0.2.0 raises typed exceptions carrying the HTTP status instead of returning an empty result. An empty list now means "no data" and nothing else. All 16 HTTP call sites across the 46 provider classes share one request path, which also fixed eight places where a rejected API key was swallowed before it could reach the integration.


v2026.8.3 — VGN setup, transportation type filter, honest trip planner list

Requires python-openpublictransport 0.1.17.

Fixes

  • VGN stations could not be added (#79) — efa.vgn.de returns valid RapidJSON but labels it text/xml;;charset=utf-8, which the strict content-type check rejected, so the config flow reported "no results found". Station search, departures and trip planning now accept the mislabelled payload. Shipped in python-openpublictransport 0.1.17 for all EFA providers.
  • The transportation type filter starved the departure board (#81) — filtering for a subset of types (e.g. trains only) now fetches a larger raw board first, like the line, destination and platform filters already did. At a bus-heavy stop such as Kiel Hauptbahnhof a "trains only" board showed a single departure; it now fills up to the configured count. Selecting all types still fetches only the display count.

Documentation

  • The Trip Planner page listed providers that cannot plan trips, and omitted the ones that can (#80) — ÖBB and SBB were advertised as supported although neither has a routing endpoint here (ÖBB is HAFAS Scotty, not EFA), while the OTP2 providers — the community server, a self-hosted OTP2 instance and VBN OTP — were missing entirely. The page now lists provider IDs, and the capability tables in the README and the provider overview match the code.
  • Picking the Trip Planner entry type for a provider without routing is now rejected in the config flow instead of creating a sensor that never returns a connection.

v2026.8.2 — Trip Planner: reachable connections, correct transfer rating

Requires python-openpublictransport 0.1.16.

Fixes

  • Trip Planner showed a connection that had already left, and rated every connection as missed (#72) — three separate causes, all fixed:
    • The walk to the platform was rated like a transfer. It ends exactly when the connecting vehicle leaves, so every journey EFA prefixes with a footpath (all station-to-station trips on HVV, KVV, VRR and the other EFA providers) came out as connection_feasible: false / transfer_risk: missed / min_transfer_time: 0. Only vehicle-to-vehicle transfers are rated now.
    • Connections that had already departed stayed in the sensor. EFA anchors the requested time on the first vehicle departure and back-dates the walk, so its first journey is regularly already running — those are now dropped, and the next reachable connection is the sensor state.
    • Walking time is now honoured by trip entries. It shifts the query and filters connections you could not reach in time; previously the option applied to departure boards only. Changing it — or the scan interval — no longer needs a restart.
  • Transfers across midnight were reported as missed, because the gap was calculated from HH:MM strings pinned to one fixed date. It is now derived from the full timestamps.

New Features

  • Trip attributes carry full timestamps and a countdown — departure_timestamp, arrival_timestamp and in_minutes, on the connection itself and on every entry in next_journeys. Cards and templates can tell a connection that is still ahead from one that has left, which HH:MM alone did not allow.

v2026.8.0 — Platform data, filters, two entries per station, official HVV API

Requires python-openpublictransport 0.1.16.

Breaking Changes

  • KVV platform values changed from the readable "Gleis 3" to the technical "3", matching every other EFA provider. The readable string is still available as the new platform_name attribute. Update any template or card that compares platform against "Gleis 3".

New Providers

  • HVV Geofox GTI (#61) — HOCHBAHN's official API on behalf of the HVV, alongside the existing keyless hvv provider. It exposes explicit delays, cancellations and platform changes that the public EFA endpoint does not. Credentials are free by email to api@hochbahn.de. Trip planning is not supported on GTI yet — use the hvv provider for trip entries.

New Features

  • Platform/track filter (#57) — a third filter next to line and destination, in both the setup wizard and the options flow. At many stops the track is a more stable direction selector than the destination name. Matching ignores the label, so 3, Gleis 3 and gleis 3 all select the same track.
  • The same station can be added twice (#55) — for example one entry per direction — as long as the two differ in at least one filter. The filter is shown in the entry title and device name. Existing entries keep their entity IDs and device names exactly as they were.
  • New departure attributes: platform_name (readable label), plus planned_platform and platform_changed, which now actually fire for EFA providers.

Fixes

  • Platform/track was always empty on EFA providers (#56) — affected VVS, VRR, MVV, VGN, VRN, VVO, DING, AVV, RVV, BSVG, NWL and VAG, which all reported platform: '' while the API had the value.
  • VBN OTP trip planner permanently showed "No connections" (#59) — a leftover argument made every stop-coordinate lookup fail. Thanks to @rayphi for finding and fixing this.
  • Diagnostics download failed for Trip Planner entries (#58) with an AttributeError. Diagnostics are now shape-aware, and trip origin/destination names and API keys are redacted.
  • Filters set during setup were silently discarded — the wizard offered the delay threshold, line filter, destination filter, favourite lines and walking time, then dropped all five. Until now a filter only took effect if entered again under Configure.
  • Reconfigure silently reset every other setting — moving an entry to a different stop reset departures, scan interval, transport types, delay threshold, provider logo and walking time to their defaults. The form is now prefilled with the entry's current values.
  • False platform-change events are no longer emitted from comparing "3" against "Gleis 3".

v2026.6.2 — Line Colors, Agency Sensor Name, Stop Search Fixes

New Features

  • Agency name in sensor title — Sensors are now named Agency - Stop Name (e.g. "Karlsruher Verkehrsverbund - Rastatt Kehler Straße") instead of repeating the stop name twice. If no agency is found, only the stop name is shown. Existing entries need to be recreated once.
  • Line colors — Each departure now includes line_color and line_text_color attributes (e.g. #e10098 / #ffffff). Lovelace cards can use these for colored line badges.
  • Provider label renamed — Dropdown now shows openpublictransport.net (Deutschlandweit, API Key).

Fixes

  • Case-insensitive stop search — Input like karlsruhe hauptfriedhof now automatically also searches for Karlsruhe Hauptfriedhof. Abbreviations like KIT, S2, ICE are preserved.
  • GraphQL nearest replaces REST endpoint — The Nominatim geocoding fallback now uses the GraphQL nearest query. The REST endpoint /index/stops was not exposed on api.openpublictransport.net.
  • Nominatim word elimination fallback — When Nominatim cannot geocode the full search term, progressively simpler queries are tried. KIT Haupteingang Karlsruhe falls back to KIT Karlsruhe and finds nearby stops correctly.

v2026.6.1 — Renamed to OpenPublicTransport + Application Credentials

Breaking Changes

  • The integration display name changed from "Public Transport Departures" to OpenPublicTransport in HACS and Home Assistant.

New Features

  • API keys stored centrally — Provider API keys are now stored under Settings → Integrations → ⋮ → Application credentials. One key per provider, reused across all sensors for that provider.
  • Automatic migration — Existing keys are migrated automatically on first start. No manual action required.

Bugfixes

  • HTTP 401 on sensor polling — __init__.py did not read opt_api_key / otp_custom_api_key from the config entry. The coordinator was created without credentials, causing every poll to return 401. Fixed for both openpublictransport and otp_custom.
  • Stop search: "Düsseldorf Elbruchstraße" found nothing — Inputs like Düsseldorf Elbruchstraße or Elbruchstraße, Düsseldorf failed because Phase 2 was searching D-Düsseldorf Elbruchstraße instead of D-Elbruchstraße. New Phase 1b detects city names in the search term and builds the correct prefix. All formats now work: bare stop name, City Stopname, Stopname, City.
  • Config flow: custom_url missing for OTP Custom stop search — get_provider() in _search_stops() was not passing custom_url, which would have broken stop search for custom OTP instances during setup.

v2026.5.3-beta.3 — openpublictransport Community OTP2 + Custom OTP2 Instance

New Features

  • openpublictransport provider — Germany-wide real-time departures via community-hosted OTP2 server at api.openpublictransport.net. Data: gtfs.de CC 4.0 (daily update, 461 agencies, 437k stops) + GTFS-RT realtime (25+ Verbünde, every 30s). Requires a free API key — request here.
  • OTP2 Custom provider — Connect any self-hosted OpenTripPlanner 2 instance. Provide a base URL and optional X-API-Key. Useful for self-hosting the community server image or running a private GTFS feed.
  • OTPProvider base class — New otp.py with shared OTP2 GraphQL logic: 3-phase stop search (bare name → city-word detection → parallel prefix search → Nominatim fallback), multi-platform stop merging (compound pipe-separated IDs), parallel platform fetch, deduplication.

Technical Details

  • VRR/NRW city-prefix search: gtfs.de stores NRW stops as D-Elbruchstraße, K-Hauptbahnhof, etc. The integration tries all known city prefixes in parallel when a bare search finds nothing.
  • Compound stop IDs: GTFS platform stops are grouped by name (gtfsde:537545|gtfsde:568685). All platforms are fetched in parallel and merged per sensor.
  • Total providers: 26 → 28

v2026.5.3 - VBN OTP Trip Planner

New Features

  • VBN OTP trip planner — VBN OTP now supports the built-in trip planner (entry_type = "trip"). The integration calls the OTP /plan endpoint with TRANSIT,WALK mode, resolves stop coordinates from the OTP index automatically, and parses up to 3 itineraries into the unified journey format with legs, delay, and transfer risk assessment.

Improvements

  • Trip planner comparison table — Added Trip Planner row to the provider comparison table in docs and README.
  • HTTP 204 on /alerts — OTP returns 204 (No Content) when there are no active alerts. Treated silently as "no alerts" instead of logging a warning.

Bugfixes

  • VBN OTP trip: API key not passed — The trip config entry did not persist the API key, causing 401 errors on /index/stops and /plan calls. Fixed: async_step_trip_settings() now saves CONF_VBN_API_KEY when the provider requires one.

VBN TRIAS

VBN TRIAS does not support trip planning. TRIAS XML trip requests are not implemented.


v2026.5.2 - VBN Provider (OTP + TRIAS) & New OTPBaseProvider

New Providers

  • VBN OTP (vbn_otp) — Bremen, Bremerhaven, and surrounding Lower Saxony counties via OpenTripPlanner REST API (http://gtfsr.vbn.de/api/). API key required (free, request at api@vbn.de).
  • VBN TRIAS (vbn_trias) — Same region via TRIAS XML API (https://fahrplaner.vbn.de/triasproxy/). Same API key (or a separate TRIAS key from VBN).

Both providers use Authorization: <key> (plain header, no Bearer prefix). Choose the variant that matches the key VBN issued you.

New Architecture

  • OTPBaseProvider (otp_base.py) — Base class for OpenTripPlanner REST API providers, analogous to TRIASBaseProvider. Handles Nominatim geocoding for stop search, stoptimes + routes fetch, alerts, and parse_departure. Subclasses only define otp_base_url, provider_id, provider_name, and optional _auth_headers().
  • _extra_headers() hook in TRIASBaseProvider — lets subclasses inject HTTP auth headers without modifying the base class.

New Features (VBN OTP)

  • Agency/Operator — Operator name (e.g. "Bremer Straßenbahn AG") extracted from the OTP routes endpoint and exposed as agency on every departure.
  • Stop alerts — Active service alerts fetched from /index/stops/{id}/alerts and attached as notices to all departures at the stop.

Improvements

  • Alphabetical provider order — All 26 providers sorted A–Z in the dropdown and documentation.
  • Provider comparison table — Added Agency/Operator and Alerts/Notices rows across all providers.

Documentation

  • Provider docs: docs/providers/vbn.md — both API variants, correct Authorization: <key> header format, per-variant feature table, quotas, troubleshooting.
  • Provider count updated to 26 across README and docs.

Total providers: 26

VBN joins as two separate selectable variants (OTP + TRIAS) for a total of 26 provider options.


v2026.4.16 - Deutsche Bahn, TRIAS Protocol, New Logo & Website

New Provider

  • DB (Deutsche Bahn) - All of DB's long-distance and regional network (ICE, IC, RE, RB, S-Bahn) via community REST API. No API key required. Note: this API is community-maintained and may experience occasional downtime.

New Architecture

  • FPTF Base Provider (fptf_base.py) - Shared base class for transport.rest APIs. BVG refactored from 194 to 33 lines. Any future FPTF provider only needs API_BASE + PRODUCT_MAPPING.
  • TRIAS Base Provider (trias_base.py) - Full implementation of the VDV 431-2 TRIAS XML protocol for stop search and departure boards. Ready for agencies offering TRIAS endpoints (VBN, NVBW-TRIAS, SBB-TRIAS, etc.).

Website & Branding

  • New logo: train + departure board + transit map design
  • Landing page live at openpublictransport.net
  • 18 real screenshots in documentation (config flow + dashboard layouts)
  • Documentation restyled with gold brand colors
  • Vercel deploy hook: website auto-rebuilds on new release

Documentation

  • README completely rewritten (940 → 140 lines)
  • Migration guide: clear separation of both migrations (VRRAPI→hacs-publictransport vs hacs-publictransport→openpublictransport)
  • All provider lists updated to 24 providers
  • Sensors page updated to 7 entity types

Total providers: 24

DB Deutsche Bahn joins as the 24th provider. TRIAS base class ready for more.


v2026.04.12 - Transitous, SBB, ÖBB, Multi-Stop & More

New Providers

  • Transitous - Worldwide public transport via MOTIS2 (Community, Beta). Aggregated GTFS/GTFS-RT data, no API key required. Covers stops globally.
  • SBB - Swiss Federal Railways / all Swiss public transport via transport.opendata.ch, no API key required.
  • ÖBB - Austrian Federal Railways / all Austrian public transport via FPTF REST API, no API key required.

New Features

  • Multi-Stop Sensor - Combine departures from multiple stops into a single sensor. Configure via "Multi-Stop" entry type in the setup wizard.
  • Favorite Lines - Mark lines as favorites; they appear first in departure lists.
  • Walking Time - Configure 0-30 min walking time to your stop; departures that can't be reached in time are hidden automatically. Available in both initial setup and options flow.
  • check_delays Service - Query delayed departures with a configurable delay_threshold (default 5 min) and optional line filter. Fires an openpublictransport_delay_alert event with entity_id, delayed_count, max_delay, lines, and departures.
  • announce_departure Service - Returns a spoken-language departure string for use with any TTS integration. Accepts entity_id and optional index (default 0 = next departure).
  • Statistics Sensor - New sensor.*_statistics entity per stop. State is overall punctuality (%). Attributes include per-line stats: total, on_time, punctuality, average_delay. Delays <= 2 min count as on-time.
  • VGN re-enabled - The VGN (Nuremberg) provider is available again.

Total providers: 23

The integration now supports 23 transit networks across Germany, Switzerland, Austria, Sweden, Ireland, and worldwide (via Transitous).


v2026.04.11 - Batch 1+2 Provider Expansion

New Providers

  • VRN - Rhein-Neckar / Mannheim, Heidelberg (EFA)
  • VVO - Oberelbe / Dresden (EFA)
  • DING - Donau-Iller / Ulm (EFA)
  • AVV - Augsburg (EFA, provider ID: avv_augsburg)
  • RVV - Regensburg (EFA)
  • BSVG - Braunschweig (EFA)
  • NWL - Westfalen-Lippe / Dortmund, Münster, Bielefeld (EFA)
  • NVBW - Baden-Württemberg statewide (EFA)
  • BEG - Bayern statewide (EFA)

Total providers: 19

The integration now supports 19 transit networks across Germany, Sweden, and Ireland. All new providers use the EFA API and require no API key.


v2026.04.10 - Custom Lovelace Card

New

  • Custom Lovelace Card: Dedicated openpublictransport-card with table, compact, and trip layouts -- available as a separate HACS plugin

v2026.04.09 - Provider Expansion & New Features

UX Improvements

  • Descriptive provider dropdown: Provider selector now shows full names with regions (e.g. "VRR — Rhein-Ruhr (NRW)") instead of short codes
  • Smart stop search: Entering "Holthausen, Düsseldorf" automatically splits into stop name + city filter for more accurate results
  • "New search" option: Results dropdown includes a "New search" entry to start over without clearing the field manually
  • Search term in results: The results description shows your original search term for reference

New Providers

  • BVG - Berlin and Brandenburg (FPTF REST API)
  • MVV - Munich metropolitan area (EFA)
  • VVS - Stuttgart area (EFA)
  • VGN - Nuremberg greater area (EFA)
  • VAG - Freiburg im Breisgau (EFA)
  • RMV - Frankfurt/Rhine-Main area (HAFAS REST API)

Providers at v2026.04.09: 11

VRR, KVV, HVV, MVV, VVS, VGN, VAG Freiburg, BVG, RMV, Trafiklab (Sweden), and NTA (Ireland).

New Features

  • Trip Planner - Plan routes from A to B via service call or dedicated trip sensor
  • Trip Sensor - Persistent sensor showing next best connection with transfer risk assessment
  • Connection Monitoring - Built into trip planner: shows connection_feasible, transfer_risk (low/medium/high/missed)
  • Configurable delay threshold (1-30 min, was hardcoded at 5 min)
  • Line filter - comma-separated filter for specific lines (e.g., U79, RE5)
  • Richer departure data - disruption notices, platform change detection
  • Dynamic version numbers from git tags

Improvements

  • Smart Polling - automatically reduces polling at night (1:00-4:30) and when no departures are available, saves ~30% API calls
  • EFA Base Provider extracted - new EFA-based providers need ~50 lines of code instead of ~200
  • sensor.py legacy code cleanup - reduced from 1371 to 530 lines, test coverage improved from 32% to 82%

No Breaking Changes

All changes in v2026.04.09 are additive.


v2026.04.08 - Rebranding to openpublictransport

Breaking Change: Full Rebranding

This release renames the integration from vrr to openpublictransport. All entity IDs, services, and the component folder change. Existing users must re-configure.

Breaking Changes

  • Domain renamed: vrr → openpublictransport
  • Entity IDs changed: sensor.vrr_* → sensor.openpublictransport_*
  • Service renamed: vrr.refresh_departures → openpublictransport.refresh_departures
  • Repository renamed: hacs-publictransport → openpublictransport

Migration Guide

See Migration Guide for step-by-step upgrade instructions.


v2026.01.24 and earlier

See GitHub Releases for older versions.