Station monitor for the Münchner Verkehrsgesellschaft (MVG) bus, tram and train system.
Currently this version is in early Alpha status and still needs some adjustments.
A working installation of MagicMirror2
- npm
- request
- Navigate into your MagicMirror's
modulesfolder. - Execute
git clone https://github.com/webphax/MMM-MVG.git. - Restart your MagicMirror app
Sample minimum configuration entry for your ~/MagicMirror/config/config.js:
...
{
module: 'MMM-MVG',
position: 'top_right',
config: {
stations: [
{
url: "http://www.mvg-live.de/ims/dfiStaticAnzeige.svc?haltestelle=hackerbr%FCcke&ubahn=checked&bus=checked&tram=checked&sbahn=checked", // Configure your search query via http://www.mvg-live.de/ims/dfiStaticAuswahl.svc
},
],
maxConn: 5, // How many connections would you like to see? It applies to all stations (Maximum: 10)
reload: 30 // How often should the information be updated? It applies to all stations (In seconds)
}
},
...
Sample minimum configuration entry for your ~/MagicMirror/config/config.js:
...
{
module: 'MMM-MVG',
position: 'top_right',
config: {
stations: [
{
url: "http://www.mvg-live.de/ims/dfiStaticAnzeige.svc?haltestelle=hackerbr%FCcke&ubahn=checked&bus=checked&tram=checked&sbahn=checked", // Configure your search query via http://www.mvg-live.de/ims/dfiStaticAuswahl.svc
},
{
url: "http://www.mvg-live.de/ims/dfiStaticAuswahl.svc?haltestelle=hauptbahnhof&ubahn=checked&bus=checked&tram=checked&sbahn=checked", // Configure your search query via http://www.mvg-live.de/ims/dfiStaticAuswahl.svc
},
],
maxConn: 5, // How many connections would you like to see? It applies to all stations (Maximum: 10)
reload: 30 // How often should the information be updated? It applies to all stations (In seconds)
}
},
...