-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
Example file "timetable.things"
#1 wrong configuration
Parameter "accessToken="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" is not part of acutal bridge configuration.
#2 defining "additionalFilter" is not working as parameter is defined by "filter vale" , e.g. departure#line="RE60" alöready includes ""
old "timetable.things"
Bridge deutschebahn:timetable:timetableLehrte "Fahrplan Lehrte" [ accessToken="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", trainFilter="departures", evaNo="8000226" ] {
Thing deutschebahn:train:timetableLehrte:lehrteZug1 "Zug 1" [ position="1" ]
Thing deutschebahn:train:timetableLehrte:lehrteZug2 "Zug 2" [ position="2" ]
}
Possible Solution
Modified as follow and bridge is working
new "timetable.things"
Bridge deutschebahn:timetable:timetableLehrte "Fahrplan Lehrte" [ clientSecret="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", clientId="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", trainFilter="departures", evaNo="8000226" ] {
Thing deutschebahn:train:timetableLehrte:lehrteZug1 "Zug 1" [ position="1" ]
Thing deutschebahn:train:timetableLehrte:lehrteZug2 "Zug 2" [ position="2" ]
}
Your Environment
- Version used: openhab 4.1.2
- running docker with repository openhab/openhab:latest-debian
- Operating System UNRAID 6.12.8