Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/georg90/MMM-HH-LocalTransport
Local transport in Hamburg module for MagicMirror² https://github.com/MichMich/MagicMirror/tree/v2-beta
https://github.com/georg90/MMM-HH-LocalTransport
Last synced: 3 months ago
JSON representation
Local transport in Hamburg module for MagicMirror² https://github.com/MichMich/MagicMirror/tree/v2-beta
- Host: GitHub
- URL: https://github.com/georg90/MMM-HH-LocalTransport
- Owner: georg90
- License: mit
- Created: 2016-07-17T10:52:55.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-09-14T10:15:05.000Z (about 4 years ago)
- Last Synced: 2024-06-29T10:32:28.811Z (5 months ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 7
- Watchers: 5
- Forks: 16
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mmm - **MMM-HH-LocalTransport**
README
# MMM-HH-LocalTransport
# Get API key
You need to obtain your API key here: http://www.hvv.de/fahrplaene/fahrplanauskunft/datenschnittstelle/
# Install
1. Clone repository into `../modules/` inside your MagicMirror folder.
2. Run `npm install` inside `../modules/MMM-HH-LocalTransport/` folder
3. Run `node findStation.js apiKey apiUser stationName` to find out your Station ID.
4. Add the module to the MagicMirror config
```
{
module: 'MMM-HH-LocalTransport',
position: 'bottom_right',
header: 'Connections',
config: {
id: '', // Trainstation ID
apiKey: '', // Add your apiKey
apiUser: '', // Add your apiUser
customAPI: false, // or true
customUrl: 'http://api/v1/getSignature',
customAPIToken: 'token123',
updateInterval: 60000,
maximumEntries: '10' // Max departures displayed
}
},
```
# Screenshot
![screenshot](https://cloud.githubusercontent.com/assets/6489464/16900320/11ec448a-4c22-11e6-8754-181862a52540.png)# Further information
For all config options check [here](https://github.com/georg90/MMM-HH-LocalTransport/blob/master/MMM-HH-LocalTransport.js#L15-L31).