• 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 2.0

Scheduled Pinned Locked Moved Transport
21 Posts 11 Posters 7.5k Views 14 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.
  • J Offline
    jimus888
    last edited by Nov 15, 2020, 11:07 PM

    Hi Modie,

    Check you have the dependencies set up correctly. I think that’s what was causing my issues. I reinstalled node-fetch and it started working.

    Guilleam, if its not showing anything on the screen i’d check your install and your config files

    G 1 Reply Last reply Nov 16, 2020, 1:37 PM Reply Quote 0
    • L Offline
      lavolp3 Module Developer
      last edited by lavolp3 Nov 16, 2020, 11:41 AM Nov 16, 2020, 11:35 AM

      Same for me and the reason seems to be this:

      Will not show MMM-Traffic. LockStrings active: module_3_MMM-pages
      

      I have MMM-pages activated btw.

      How to troubleshoot modules
      MMM-soccer v2, MMM-AVStock

      L 1 Reply Last reply Nov 16, 2020, 1:38 PM Reply Quote 0
      • G Offline
        Guilleam95 @jimus888
        last edited by Guilleam95 Nov 16, 2020, 2:29 PM Nov 16, 2020, 1:37 PM

        @jimus888 Thanks for your reply, but it was just my mistake. I had it configured to show travel duration on weekdays, and I was trying to check if it worked on Saturday :man_facepalming_light_skin_tone: .

        On the other hand, @sammay I suggest some color coded text feature? Like duration time turns red if it’s higher than usual, or green if it’s lower, something like that

        1 Reply Last reply Reply Quote 0
        • L Offline
          lavolp3 Module Developer @lavolp3
          last edited by Nov 16, 2020, 1:38 PM

          @Guilleam95 You could check out MMM-MyCommute that uses the google api. It has this exact feature.

          How to troubleshoot modules
          MMM-soccer v2, MMM-AVStock

          G 1 Reply Last reply Nov 16, 2020, 1:41 PM Reply Quote 0
          • G Offline
            Guilleam95 @lavolp3
            last edited by Nov 16, 2020, 1:41 PM

            @lavolp3 thanks, I already tried that module but google api seems to be paid now. I know it is free if you don’t ask for too many directions, and setting the correct refresh interval should ensure that, but I don’t feel comfortable giving my billing information, i’d rather use mapbox.

            1 Reply Last reply Reply Quote 0
            • M Offline
              mm_mtl
              last edited by Dec 16, 2020, 6:37 PM

              Hi, this Module is amazing.

              I did implemented in my MM and it works fine. Quick question !

              Is there a way to choose mode: driving, walking or bus

              that would be really helpful !

              Thanks again for everything !

              1 Reply Last reply Reply Quote 0
              • M Offline
                mm_mtl
                last edited by Dec 24, 2020, 12:04 PM

                IS THERE biking or bus mode ? or walking ?

                1 Reply Last reply Reply Quote 0
                • B Offline
                  beck0r
                  last edited by Oct 23, 2021, 10:41 AM

                  Hello there,

                  i’ve entered my coordinates but somehow the calculated time is 15 mins less to Google Maps. Can you say why there is such an inaccuracy compared to Google Maps? I’m very sure that I’ve used the correct coordinates. Also tested it with other coordinates.

                  Thank you very much
                  Kind Regards

                  B 1 Reply Last reply Oct 23, 2021, 10:45 AM Reply Quote 0
                  • B Offline
                    beck0r @beck0r
                    last edited by Oct 23, 2021, 10:45 AM

                    @beck0r All good,

                    I’ve missed that line :-)

                    Note: Google maps coordinates are latitude,longitude, but Mapbox uses longitude,latitude so be sure to reverse what you copy from Google.

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      selyjohns
                      last edited by Dec 2, 2021, 9:11 PM

                      Hi,

                      I’ve posted an issue on github, because duration is very different of google maps…(and google maps is more accuracy than mapbox api…)

                      https://github.com/SamLewis0602/MMM-Traffic/issues/103

                      Could you tell me if i’m only person with this problem ?

                      Lat/long are reversed as indicated on the readme, this is not the problem.

                      Thank you.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      • 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