Skip to content

Luxembourg public transport departures in real time. Module for MagicMirror².

Notifications You must be signed in to change notification settings

uxigene/MMM-Luxembourg-Public-Transport

Repository files navigation

MMM-Luxembourg-Public-Transport

Luxembourg public transport departures in real time. Module for MagicMirror².

Screenshot

Installation

In your terminal, go to your MagicMirror's Module folder:

cd ~/MagicMirror/modules

Clone this repository:

git clone git@github.com:MarinescuEvghenii/MMM-Luxembourg-Public-Transport.git

Configure the module in your config.js file.

Using the module

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

modules: [
	{
		module: 'MMM-Luxembourg-Public-Transport',
		config: {
			stationId: 0,
			apiKey: '<api key>'
		}
	}
]

Configuration options

Please check this API.

The following property can be configured:

Option Required Description Default value
stationId YES Station ID. Can be found using the Mobiliteit.lu API. Documented on data.public.lu. The key extId includes the stationId -
apiKey YES Mobiliteit.lu API Key, can be requested on data.public.lu -
duration NO Interval size in minutes. Range is from 1 to 1439 minutes. API parameter. 720
fetchInterval NO Fetch interval in milliseconds. 6000
maxResults NO Maximum items to be displayed in schedule. 16
animationSpeed NO Animation speed in milliseconds. 2000

About

Luxembourg public transport departures in real time. Module for MagicMirror².

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published