Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Bangee44/MMM-swisstransport
Additional Module for MagicMirror² https://github.com/MichMich/MagicMirror/tree/v2-beta
https://github.com/Bangee44/MMM-swisstransport
Last synced: about 2 months ago
JSON representation
Additional Module for MagicMirror² https://github.com/MichMich/MagicMirror/tree/v2-beta
- Host: GitHub
- URL: https://github.com/Bangee44/MMM-swisstransport
- Owner: Bangee44
- License: mit
- Created: 2016-05-03T07:32:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-18T13:18:20.000Z (about 7 years ago)
- Last Synced: 2024-08-04T10:03:17.406Z (5 months ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 7
- Watchers: 5
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mmm - **MMM-SwissTransport**
README
# MMM-swisstransport
Additional Module for MagicMirror² https://github.com/MichMich/MagicMirror/tree/v2-beta# Module: SwissTransport
This module displays traindepartures from your favourit trainstation.## Using the module
To use this module, add it to the modules array in the `config/config.js` file:
````javascript
modules: [
{
module: 'MMM-swisstransport',
position: 'bottom_left',
header: 'Zugverbindungen',
config: {
id: '008503203', // Trainstation ID
maximumEntries: '10' // Max departures displayed
}
},
]
````
To find your Trainstation ID use http://transport.opendata.ch/v1/locations?query=Basel%20SBB
Replace query=...... with your stationname.## Base API
This Modul is using the opendataCH/Transport API https://github.com/OpendataCH/Transport as apiBase