Skip to content
forked from yawnsde/MMM-RNV

Monitor given stations in the RNV traffic network

Notifications You must be signed in to change notification settings

bogenpirat/MMM-RNV

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MMM-RNV

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.

Installation

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

Using the module

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
			}
		},

About

Monitor given stations in the RNV traffic network

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.2%
  • CSS 4.8%