This a module for MagicMirror
https://magicmirror.builders/
https://github.com/MichMich/MagicMirror
A module that displays the next records from the Rennes Star metro.
- Navigate into your MagicMirror
modules
folder and execute
git clone https://github.com/alexandreLavenant/MMM-Star-Metro.git
. - Add the module inside
config.js
.
Option | Description |
---|---|
updateInterval |
How frequently, in seconds, to update the display. Type Number Defaults to 60 |
stationName |
Name of the metro station in the city of Rennes. See https://data.explore.star.fr/explore/dataset/tco-metro-circulation-passages-tr/api/ for the list Type String Defaults to République |
direction |
Wich way the metro is going.0 from North to South.
1 from South to North.
Type Number Defaults to 1 |
displayedRecords |
Number of metro records to display. Type String Defaults to 2 |
{
module: "MMM-Star-Metro",
header: "Metro",
position: "top_right",
config: {
updateInterval: 30 // 30 seconds
stationName: "Saint-Anne",
direction: 1,
displayedRecords: 3
}
},
Metro data provided by the city of Rennes
https://data.explore.star.fr/explore/dataset/tco-metro-circulation-passages-tr/information/