This an extension for the MagicMirror.
It monitors a given station in the RNV traffic network and shows the 10 upcoming departures with destination, type and delay. It also shows additional information if provided by the vendor. A valid API key is required, the key can be requested for free here: https://opendata.rnv-online.de/startinfo-api
Open a terminal session, navigate to your MagicMirror's modules
folder and execute git clone https://github.com/yawnsde/MMM-RNV.git
, a new folder called MMM-RNV will be created.
Activate the module by adding it to the config.js file as shown below. Of course the position is up to you and the header is optional/customizable. To find the id of your station take a look here: https://opendata.rnv-online.de/sites/default/files/Haltestellen_16.xml
modules: [
{
module: 'MMM-RNV',
header: 'RNV Haltestellenmonitor',
position: 'top_left',
config: {
apiKey: 'ENTER YOUR KEY HERE',
stationID: 'ENTER YOUR STATION ID HERE',
}
},