Skip to content

skuethe/MMM-HH-LocalTransport

 
 

Repository files navigation

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.

About

Local transport in Hamburg module for MagicMirror²

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 95.8%
  • CSS 4.2%