Local transport in Hamburg module for MagicMirror² https://github.com/MichMich/MagicMirror/tree/v2-beta
JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Latest commit 0b1e3b7 Aug 17, 2017

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.