Public Transport

Check departures and connections for local public transport

Current Release
1.4.0
Developer
tt-tom17
License
MIT

Public Transport Adapter for ioBroker

The public-transport adapter enables seamless integration of real-time public transportation schedule information into your ioBroker smart home environment. With this adapter, you can retrieve departure times from stops of various transport operators in Germany, Austria, and other countries and use them for automation.

🇬🇧 English documentation
🇩🇪 Deutsche Dokumentation

Data sources

The adapter itself does not host any timetable data — it queries the interface of the transport network you select in the settings. The terms of the respective operator apply.

The queries themselves are built with open-source clients: hafas-client of the public-transport project speaks to the HAFAS endpoints of the various operators, motis-fptf-client to MOTIS. Both are ISC-licensed. The EFA and TRIAS backends have no ready-made client and are implemented in the adapter itself.

Verkehrsverbund Rhein-Ruhr

EFA – VRR: Timetable data for the Rhine-Ruhr region is provided by the Verkehrsverbund Rhein-Ruhr (VRR) through its Open Service API. The VRR asks applications using this interface to link to www.vrr.de and to display its logo — the adapter therefore shows both in the instance settings.


TRIAS – MobiData BW: Timetable data for Baden-Württemberg (including VVS, KVV, naldo and DING) is provided by the Nahverkehrsgesellschaft Baden-Württemberg (NVBW) via MobiData BW. The NVBW asks applications to credit the source as "Daten der NVBW" with a link to its website — the adapter therefore shows both in the instance settings.

This backend needs your own access key. Unlike every other backend, TRIAS is accessed with an individual key (RequestorRef). MobiData BW issues one per user and does not allow a shared key shipped with the adapter; other TRIAS providers may handle this differently. For MobiData BW, send an informal e-mail to mobidata-bw@nvbw.de stating your full name, your address, a contact e-mail address and a short description of what you intend to do with the data. You will receive your key by e-mail — enter it in the instance settings under "TRIAS access key".

Changelog

WORK IN PROGRESS

  • (tt-tom17) dependencies updated
  • (tt-tom17) Adaptercheck for Node.js 26 added

1.4.0 (2026-09-13)

  • (tt-tom17) removed the "Vendo - Deutsche Bahn" client (endpoint blocked)

1.3.1 (2026-09-10)

  • (tt-tom17) journey delay data points are now null instead of -1 when the backend delivers no realtime data for that trip

1.3.0 (2026-09-02)

  • (tt-tom17) added TRIAS as a new backend with MobiData BW (Baden-Württemberg) as the first network

1.2.0 (2026-08-25)

  • (tt-tom17) added EFA as a new backend with VRR (Rhein-Ruhr) as the first network

1.1.0 (2026-08-21)

  • (tt-tom17) added a "Create detail data points" switch per station and journey. The switch is off by default
  • (tt-tom17) fixed the departure widget hiding all multi-word products (S-Bahn, U-Bahn, RE, ICE, ...) whenever the product filter was enabled
  • (tt-tom17) the widgets no longer log continuously; set publicTransportDebug = true in the browser console to get the diagnostics back

1.0.0 (2026-08-08)

  • (tt-tom17) migrated the admin configuration GUI to @iobroker/gui-components 10 (React 19, MUI 9); requires admin >= 8.0.1

0.10.2 (2026-07-17)

  • (tt-tom17) fixed journey and departure channel names showing stale labels after a connection changed
  • (tt-tom17) added a "Number of transfers" dropdown per journey (-1 = backend decides, 0 = direct connections only); applies to both HAFAS and MOTIS

License

MIT License

Copyright (c) 2025 - 2026 tt-tom17 tgb@kabelmail.de

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.