Correct Rejseplanen documentation (fixes #31350) (#31390)

This commit is contained in:
Martin Eberhardt 2024-02-12 18:58:31 +00:00 committed by GitHub
parent 0714c45105
commit 4e2dc6b72b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -75,10 +75,10 @@ Find the name of your stop in the list and the "id" is the one you are looking f
## Direction
If you use the `direction` filter it's important to put correct final destination(s) or else the sensor will not work at all.
The `direction` has to be the final destination(s) for the `Departure type` - ***NOT the stop where you want to get off***.
The `direction` has to be the scheduled final destination (direction) for the `Departure type` - ***NOT the stop where you want to get off***.
- Replace YOUR_STOP_ID with the id for your stop and go to [http://xmlopen.rejseplanen.dk/bin/rest.exe/departureBoard?id=YOUR_STOP_ID](http://xmlopen.rejseplanen.dk/bin/rest.exe/departureBoard?id=YOUR_STOP_ID)
- The values under `finalStop` is the ones you need to put under `direction`. Make sure you use the exact name and insert all possible finalstops.
- The values under `direction` is the ones you need to put under `direction`. Make sure you use the exact name, and add all that apply.
You will see an output like this: