I created a webpage that makes the process described in this post easier:
Also, check out my updated version of the ÖBB Monitor:
This is how you create your custom departure monitor card for public transport in Austria.
In this example I, want to see the next trains going from Wien Hbf to Wien Floridsdorf.
Step-by-step instructions:
-
Go to Scotty, enter the name of your departure station and click “Display information”.
-
Click the button next to “open it in a popup window”
-
Copy the URL of the popup window
-
Go to your Homeassistant Dashboard, create a new Webpage card and paste the URL.
-
To get the monitor to only show the connections we want, we need to know the unique ID of the destination station.
Once again, go to Scotty, enter your destination station and click “Display information”. -
Again, click on the button next to “open it in a popup window”.
The unique station ID can be obtained from the URL in the popup window.
-
Go to your Homeassistant Dashboard and edit the previously created Webpage card.
Paste the stop ID from previous step next to “dirInput=”
Additional customizability:
The monitor can be customized by editing the URL.
-
additionalTime
add lead time (minutes) -
showJourneys
number of connections displayed in the monitor -
dirInput
destination station ID -
evaId
departure station ID -
productsFilter
filter the means of transportation.
0000000000001 RGJ
0000000000010 ?
0000000000100 BUS Regional?
0000000001000 Tram
0000000010000 U-Bahn
0000000100000 ?
0000001000000 BUS Kurzstrecke
0000010000000 S-Bahn
0000100000000 REX
0001000000000 Nightjet / D / EN (Ausland)
0010000000000 IC / EC
0100000000000 ?
1000000000000 RJ / RJX
Example: productsFilter=1111110111011 → Show all means of transportation except buses -
boardType
dep or arr for departure or arrival respectively