This an extension for the MagicMirror.
It monitors a given station in the RNV traffic network and shows up to 10 upcoming departures with destination, type and delay. It also shows additional information if provided by the vendor. This repository contains a fork of the original author's implementation over at https://github.com/yawnsde/MMM-RNV. In contrast to the original implementation, this code does not require an API key, as it uses the (almost identical) API exposed through the RNV website.
Open a terminal session, navigate to your MagicMirror's modules
folder and execute git clone https://github.com/bogenpirat/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: {
stationIDs: 'ENTER YOUR STATION ID HERE', // for multiple, separate them with commas
departuresCount: 10
}
},