ÖPNV-Adapter für ioBroker
Der ÖPNV-Adapter ermöglicht die nahtlose Integration von Echtzeit-Fahrplaninformationen in Ihr ioBroker Smart-Home-System. Mit diesem Adapter können Sie Abfahrtszeiten verschiedener Verkehrsbetriebe in Deutschland, Österreich und anderen Ländern abrufen und für die Automatisierung nutzen.
🇬🇧 Englische Dokumentation
🇩🇪 Deutsche Dokumentation
Datenquellen
Der Adapter selbst speichert keine Fahrplandaten – er fragt die Schnittstelle des in den Einstellungen ausgewählten Verkehrsnetzes ab. Es gelten die Nutzungsbedingungen des jeweiligen Betreibers.
Die Abfragen selbst basieren auf Open-Source-Clients: Der hafas-Client des Public-Transport -Projekts kommuniziert mit den HAFAS-Endpunkten der verschiedenen Betreiber, der motis-fptf-Client mit MOTIS. Beide sind ISC-lizenziert. Für die Backends von EFA und TRIAS gibt es keinen fertigen Client; sie sind im Adapter selbst implementiert.
EFA – VRR: Fahrplandaten für die Rhein-Ruhr-Region werden vom Verkehrsverbund Rhein-Ruhr (VRR) über seine Open Service API bereitgestellt. Der VRR fordert Anwendungen, die diese Schnittstelle nutzen, auf, auf www.vrr.de zu verlinken und sein Logo anzuzeigen – der Adapter zeigt daher beides in den Instanzeinstellungen an.
TRIAS – MobiData BW: Fahrplandaten für Baden-Württemberg (einschließlich VVS, KVV, naldo und DING) werden von der Nahverkehrsgesellschaft Baden-Württemberg (NVBW) über MobiData BW bereitgestellt. Die NVBW bittet die Anwendungen, die Quelle als „Daten der NVBW“ mit einem Link zu ihrer Website anzugeben – der Adapter zeigt daher beides in den Instanzeinstellungen an.
Für dieses Backend benötigen Sie Ihren eigenen Zugriffsschlüssel. Im Gegensatz zu allen anderen Backends wird auf TRIAS mit einem individuellen Schlüssel zugegriffen (
RequestorRefMobiData BW stellt pro Benutzer einen Schlüssel aus und erlaubt keinen gemeinsam genutzten Schlüssel, der mit dem Adapter ausgeliefert wird; andere TRIAS-Anbieter handhaben dies möglicherweise anders. Für MobiData BW senden Sie bitte eine formlose E-Mail anmobidata-bw@nvbw.deBitte geben Sie Ihren vollständigen Namen, Ihre Adresse, eine E-Mail-Adresse und eine kurze Beschreibung Ihres Verwendungszwecks der Daten an. Sie erhalten Ihren Schlüssel per E-Mail – geben Sie ihn in den Instanzeinstellungen unter „TRIAS-Zugriffsschlüssel“ ein.
Changelog
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 = truein 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
0.10.1 (2026-07-11)
- (tt-tom17) fixed departure and journey data points being cleared during slow polls (#87)
0.10.0 (2026-07-07)
- (tt-tom17) added a configurable time window (duration, in minutes) per station to fetch departures beyond the default 60 minutes (#85)
- (tt-tom17) disabled the "Vendo - Deutsche Bahn" client option, as the db-vendo endpoint currently returns OPS_BLOCKED (#85)
- (tt-tom17) fixed repository checker warnings (#80): translated untranslated admin i18n strings (zh-cn, es)
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.