MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-Traffic config

    Scheduled Pinned Locked Moved Troubleshooting
    7 Posts 4 Posters 6.0k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      bocapie
      last edited by

      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.

      strawberry 3.141S 1 Reply Last reply Reply Quote 0
      • strawberry 3.141S Offline
        strawberry 3.141 Project Sponsor Module Developer @bocapie
        last edited by

        @bocapie post yours and we can Check whats going wrong

        Please create a github issue if you need help, so I can keep track

        B 1 Reply Last reply Reply Quote 0
        • B Offline
          bocapie @strawberry 3.141
          last edited by

          @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 1 Reply Last reply Reply Quote 0
          • I Offline
            ironman_DK @bocapie
            last edited by yawns

            @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       
                }
            },
            
            FlatPepsiF 1 Reply Last reply Reply Quote 0
            • FlatPepsiF Offline
              FlatPepsi @ironman_DK
              last edited by

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

              I 1 Reply Last reply Reply Quote 0
              • I Offline
                ironman_DK @FlatPepsi
                last edited by

                @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.

                FlatPepsiF 1 Reply Last reply Reply Quote 0
                • FlatPepsiF Offline
                  FlatPepsi @ironman_DK
                  last edited by

                  @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.

                  1 Reply Last reply Reply Quote 1
                  • 1 / 1
                  • First post
                    Last post
                  Enjoying MagicMirror? Please consider a donation!
                  MagicMirror created by Michael Teeuw.
                  Forum managed by Sam, technical setup by Karsten.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy