MagicMirror² v2.14.0 is available! For more information about this release, check out this topic.

Module MMM-Traffic is not displayed

  • Hello,

    I have some problems wird the module MMM-Traffic.

    I installed it and in my config.js file I inserted the following example config from the git hub site

    	module: 'MMM-Traffic',
    	position: 'top_left',
    	classes: 'dimmed medium', //optional, default is 'bright medium', only applies to commute info not route_name
    	config: {
    		api_key: 'your_apikey_here',
    		mode: 'driving',
    		origin: '4 Pennsylvania Plaza, New York, NY 10001',
    		destination: '1 MetLife Stadium Dr, East Rutherford, NJ 07073',
    		mon_destination: '116th St & Broadway, New York, NY 10027',
    		fri_destination: '1 E 161st St, Bronx, NY 10451',
    		arrival_time: '0800', //optional, but needs to be in 24 hour time if used.
    		route_name: 'Home to Work',
    		changeColor: true,
    		showGreen: false,
    		limitYellow: 5, //Greater than 5% of journey time due to traffic
    		limitRed: 20, //Greater than 20% of journey time due to traffic
    		traffic_model: 'pessimistic',
    		interval: 120000 //2 minutes

    I added my API-Key from Google Maps Directions API. I use the “Directions API” from the Google Cloud Platform.

    So, when I start my MM, there are no Informations from this module.

    I have installed the MMM-GoogleMapsTraffic too. In this module I am using the “Maps JavaScript API”. And this module work fine. But this API doesn´t work with the module MMM-Traffic.

    I am not sure, if I use the correct API. Maybe there is another problem.

    Unfortunately, I do not remember what else I can do.

    It would be great if anyone of you could help me.

    Thank you in advance.

  • in case the module is having some trouble, try this

    start the MM like this

    npm start dev

    then in the developers window, select the console tab…
    check for any errors (red text) and fix those…

    let us know

  • Thank you for your help.

    I started it like your recommendation and I got an error message. I saved the log-Files. But maybe a screenshot could help you.


    If you need the log Files please let me know.

    Thank you in advance again


  • @klinge look at you folder names

  • Oh my god. What a stupid error. I installed the module in den /MagicMirror folder.

    Again a Layer 8 problem.

    Excuse me for wasting your time.

    But I’m so thankful to you. 🙂

Log in to reply