• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.2k 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 Feb 14, 2017, 11:34 PM

    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.

    S 1 Reply Last reply Feb 15, 2017, 10:30 AM Reply Quote 0
    • S Offline
      strawberry 3.141 Project Sponsor Module Developer @bocapie
      last edited by Feb 15, 2017, 10:30 AM

      @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 Feb 16, 2017, 11:57 PM Reply Quote 0
      • B Offline
        bocapie @strawberry 3.141
        last edited by Feb 16, 2017, 11:57 PM

        @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 Mar 17, 2017, 5:16 AM Reply Quote 0
        • I Offline
          ironman_DK @bocapie
          last edited by yawns Mar 17, 2017, 8:16 AM Mar 17, 2017, 5:16 AM

          @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       
              }
          },
          
          F 1 Reply Last reply Apr 2, 2017, 2:14 AM Reply Quote 0
          • F Offline
            FlatPepsi @ironman_DK
            last edited by Apr 2, 2017, 2:14 AM

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

            I 1 Reply Last reply Apr 7, 2017, 5:05 PM Reply Quote 0
            • I Offline
              ironman_DK @FlatPepsi
              last edited by Apr 7, 2017, 5:05 PM

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

              F 1 Reply Last reply Apr 12, 2017, 6:32 PM Reply Quote 0
              • F Offline
                FlatPepsi @ironman_DK
                last edited by Apr 12, 2017, 6:32 PM

                @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