Skip to content
Local transport in Hamburg module for MagicMirror² https://github.com/MichMich/MagicMirror/tree/v2-beta
JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
MMM-HH-LocalTransport.css
MMM-HH-LocalTransport.js
README.md
findStation.js
node_helper.js
package.json

README.md

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

Further information

For all config options check here.

You can’t perform that action at this time.