Additional Module for MagicMirror² https://github.com/MichMich/MagicMirror
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 3 commits ahead, 3 commits behind Bangee44:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
MMM-swisstransport.js
README.md
swisstransport.css

README.md

MMM-swisstransport

Additional Module for MagicMirror² https://github.com/MichMich/MagicMirror

Module: SwissTransport

This module displays traindepartures from your favourit trainstation.

Using the module

To use this module, add it to the modules array in the config/config.js file:

modules: [
    {
		module: 'MMM-swisstransport',
		position: 'bottom_left',
		header: 'Zugverbindungen',
		config: {
			id: '008503203', // Trainstation ID
			maximumEntries: '10' // Max departures displayed
		}
	},
]

To find your Trainstation ID use http://transport.opendata.ch/examples/stationboard.html

Base API

This Modul is using the opendataCH/Transport API https://github.com/OpendataCH/Transport as apiBase