Skip to content
Magic Mirror 2 module to show departures of ASEAG busses in Aachen, Germany
JavaScript CSS
Branch: master
Clone or download
neandertaler19
neandertaler19 Update README.md
Latest commit 83b2b8a Aug 29, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore initial public commit Aug 28, 2017
CHANGELOG.md initial public commit Aug 28, 2017
LICENSE.txt
MMM-AC-aseag.css initial public commit Aug 28, 2017
MMM-AC-aseag.js initial public commit Aug 28, 2017
README.md Update README.md Aug 28, 2017
node_helper.js initial public commit Aug 28, 2017
notes.txt initial public commit Aug 28, 2017
package.json initial public commit Aug 28, 2017

README.md

MMM-AC-aseag

This is a module for the MagicMirror². It display the realtime departures of busses in Aachen using the API provided by the ASEAG. The module is still work in progress.

This is my first module for the MagicMirror and my first project in js, so feel free to contribute or comment.

Installation

  1. Navigate into your MagicMirror's modules folder and excecute git clone https://github.com/neandertaler19/MMM-AC-aseag
  2. Navigate into the newly created folder.
  3. Execute npm installto install the node dependencies.

Using the module

To use this module, add the following configuration block to the modules array in the config/config.js file:

{
    module: "MMM-AC-aseag",
    position: "bottom_left",
    header: "Misereor Abfahrten",
    config: {
        retryDelay: 5 * 1000, // Time to wait before retrying in case of failure
        maximumEntries: 10, // Maximum number of entries shown in table
        updateInterval: 1 * 60 * 1000, // Update interval in microseconds
        stop: "",
    }
},

Configuration options

Option Description
retryDelay optional TIme to wait before retrying in case of failure
maximumEntries optional Maximum number of entries shown in the table
updateInterval optional Update interval for querying for new connections

Type: int(milliseconds)
Default 60000 milliseconds (1 minute)
stop optional name of the stop. If you don't provide this information, you should leave it empty ("") and provide a stopID instead
stopID optional ID of the stop

Acknowledgements

You can’t perform that action at this time.