Skip to content

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

License

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

Screenshot

Installation

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

cd ~/MagicMirror/modules

Clone this repository:

git clone https://github.com/uxigene/MMM-Luxembourg-Public-Transport

Update

Go to the module’s folder inside your MagicMirror's module folder and pull the latest version:

cd ~/MagicMirror/modules/MMM-Luxembourg-Public-Transport
git pull

Configuration

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

    {
        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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published