From 354007f95c6adb787bd5cafd618d0fdd882ea695 Mon Sep 17 00:00:00 2001 From: Benny <66417262+ThisIsBenny@users.noreply.github.com> Date: Thu, 22 Oct 2020 18:14:58 +0200 Subject: [PATCH] Update README.md --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 37ad53f..858d0a9 100644 --- a/README.md +++ b/README.md @@ -45,3 +45,22 @@ It is possible to add the MeinVodafone Credentails to the beginning of script, w ### Credits * Sillium for the inspiration https://gist.github.com/Sillium/f904fb89444bc8dde12cfc07b8fa8728 * Chaeimg for the Circle diagram (https://github.com/chaeimg/battCircle) + +## VRR-Monitor +![VRR-Monitor Widget Preview light](https://raw.githubusercontent.com/ThisIsBenny/iOS-Widgets/main/VRR-Monitor/previewLight.png) +![VRR-Monitor Widget Preview dark](https://raw.githubusercontent.com/ThisIsBenny/iOS-Widgets/main/VRR-Monitor/previewDark.png) + +This widget displays the departure times of a selected station. The data for this is provided by the Verkehrsverbund Rhein-Ruhr (VRR), which is why only stations within the VRR are supported. + +[[Download]](https://raw.githubusercontent.com/ThisIsBenny/iOS-Widgets/main/VRR-Monitor/VRR-Monitor.js) + + +### Setup +A Station-ID is required to set up the widget. The ID can be searched with this URL: +`https://abfahrtsmonitor.vrr.de/backend/api/stations/search?query=` + +Put the name of the station behind the "query=" in the URL and open the URL in your Browser. +Example: `https://abfahrtsmonitor.vrr.de/backend/api/stations/search?query=Düsseldorf HBF` + +Add the Station-ID and the needed Walking Minutes, separated by a ";", to the Widget Parameter like this: +![VRR-Monitor Widget setup](https://raw.githubusercontent.com/ThisIsBenny/iOS-Widgets/main/VRR-Monitor/setup.jpeg)