MagicMirror² Module to display public transport from Munich in Germany.
NEW VERSION: MMM-MVVWiesty
The previous API used in this project has been deprecated and is no longer available. As a result, we have migrated to the new "mvv-muenchen" API to ensure continued support and improved performance.
- instance of MagicMirror²
- Node Fetch (linux: npm install node-fetch)
- Clone this repository in your MagicMirror installation into the folder modules.
git clone https://github.com/wiesty/MMM-MVGWiesty.git
- Install dependencies in main MagicMirror folder
- Head over to Wiesty's MVG Api Helper (Its a basic html tool to get the station id for the config.)
- Add configuration to your config.js
{
module: "MMM-MVGWiesty",
position: "bottom_left",
config: {
updateInterval: 60 * 5000, // evey 5 min
maxEntries: 7, // 7 items on screen
station: "de:09162:6", // the ID from your station you want to display
footway: 0, // add minutes for footway
productfilters: "ALL", // Filters [ALL (for all), UBAHN, BUS, SBAHN, TRAM, BAHN, REGIONAL_BUS, RUFTAXI]
lines: "ALL", //Filter for lines (ALL (for all) S7, 13, 180, U7, U3)
destinations: "ALL" //Filter for destinations (ALL (for all) Flughafen München, Freising)
}
},
Note: ❌ If the line is canceled, the emoji will be displayed. (See the example picture)
Filters: Filters are comma-seperated.