MMM-Traffic config



  • Hello I am new to Magic Mirror.
    I can get my mirror to work with the
    default modules. I am running his
    example config. with my api key from
    google. I am making sure all my settings
    match in the MMM-Traffic.js file.
    If I could see someone else working
    config file. I could see where I am
    going wrong. Thank in advance
    for the help.



  • @bocapie post yours and we can Check whats going wrong



  • @strawberry-3.141
    I figured out my issue with config not booting up. Now i have a problem with loading commute. All it says is “loading commute”. My settings from config file match the js. in the module folder.



  • @bocapie said in MMM-Traffic config:

    @strawberry-3.141
    I figured out my issue with config not booting up. Now i have a problem with loading commute. All it says is “loading commute”. My settings from config file match the js. in the module folder.

    I have the same problem, my Config is as following, yesterday there was no problem but todays there is, its only coming with loading commute
    100:

    {
        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: 'XXXXXX',
            mode: 'driving',
            origin: 'XXXXXXX',
            destination: 'XXXXX',
            arrival_time: '0800', //optional, but needs to be in 24 hour time if used.
            route_name: 'for at ankomme til XXXX',
            changeColor: true,
            showGreen: true,
            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
    	showWeekend: true,
    	allTime: true       
        }
    },
    


  • @ironman_DK Ever find a solution? I’m doing a fresh install, and only seeing “Loading commute…”



  • @FlatPepsi I think so, I have installed MMM-ModuleScheduler so I dont have to see the route all day. my problem was That I have activated MMM-ModuleScheduler 05:00 in the morning, but I think there is to many there will activate the route in the morning, so I did activate the MMM-ModuleScheduler 03:00 in the night, so now I dont have any problems to view my route.



  • @ironman_DK Not sure what my problem was, but rebooting once or twice seem to solve it. I’m wondering if there was some installed module that didn’t get initialized or something.

    When in doubt reboot.


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.