Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 1.19 KB

README.md

File metadata and controls

40 lines (34 loc) · 1.19 KB

MMM-HH-LocalTransport

Get API key

You need to obtain your API key by sending Hochbahn an email. Visit https://www.hvv.de/de/fahrplaene/abruf-fahrplaninfos/datenabruf and see the information at the bottom of the page.

Install

  1. Clone repository
cd modules
git clone https://github.com/skuethe/MMM-HH-LocalTransport.git
  1. Install dependencies
cd MMM-HH-LocalTransport/
npm install
  1. Find your specific Station ID by running node findStation.js apiKey apiUser stationName
  2. Add the module to your MagicMirror config
        {
            module: 'MMM-HH-LocalTransport',
            position: 'bottom_right',
            header: 'HVV - Connections',
            config: {
                id: '', // Trainstation ID
                apiKey: '', // Add your apiKey
                apiUser: '', // Add your apiUser
                maximumEntries: '10' // Max departures displayed
            }
        },

Screenshot

screenshot

Further information

For all config options check here.