Module for MagicMirror: Timetable for Nysse data (Finland)
The mm-tkl-timetable
module fetches bus timetable data from Nysse (Tampere region, Finland) and shows the timetables for configured stops.
You will need to check the "pysäkkitunnus" from https://lissu.tampere.fi/timetable/ and add the number of the bus stop you want to show in the config stops-array. Or query the gtfsId from https://digitransit.fi/en/developers/apis/1-routing-api/stops/#query-stops-by-name-or-number.
- TKL Timetable screenshot
- Clone this repository under
MagicMirror/modules
folder - Add to the modules array in the
MagicMirror/config/config.js
file:
modules: [{
module: "mm-tkl-timetable",
position: "top_right",
header: "Bussiaikataulu",
config: {
stops: ["3660", "0504"],
busCount: 3
}
}]
The following properties can be configured:
Option | Description |
---|---|
busCount |
Amount of busses to show/stop |
stops |
The stop numbers to show as an array |
Stops can also be an object with:
Key | Description |
---|---|
id |
Stop number |
name |
Optional name to override one from API |
minutesFrom |
Minutes to skip from now (if the stop is not near) |