Luxembourg public transport departures in real time. Module for MagicMirror².
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
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
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>"
}
},
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 |