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-MyCommute

    Scheduled Pinned Locked Moved Transport
    286 Posts 80 Posters 653.2k Views 77 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
      j.e.f.f Project Sponsor Module Developer @yupwho
      last edited by

      @yupwho no, the module doesn’t work that way. However you can define a second instance if the module and use your work as the origin and route your way home. However it wouldn’t be an accurate representation of commute time because the module reflects current traffic patterns. So it might say your trip home right now is 20 minutes but it might actually be an hour at the time you actually commute home.

      1 Reply Last reply Reply Quote 0
      • S Offline
        Skeeter
        last edited by Skeeter

        Does this module still work? I’ve just installed it and get nothing other than “Loading…” no matter what I try. I’ve used the example config (with my own API key) and tried a number from scratch and nothing works.

        The MMM-Traffic module this is based on is installed and works so I know my API is working. Anything dumb I should check for to make sure I’ve not screwed up?

        Edit: Solved it. When running in Docker I needed to restart the Container for the API key to get picked up and work.

        1 Reply Last reply Reply Quote 1
        • F Offline
          fotis.str @Looking
          last edited by

          @looking Hi looking, I’m having the same an error display how did you solved it ? thanks in advance, FS

          1 Reply Last reply Reply Quote 0
          • R Offline
            robiv8
            last edited by

            Is this modul working also in germany?

            1 Reply Last reply Reply Quote 0
            • A Offline
              Aries1984 Module Developer
              last edited by

              @robiv8 yeah it does work for me perfectly. Can send you my latest config if you want?

              lolobyteL 1 Reply Last reply Reply Quote 0
              • R Offline
                robiv8
                last edited by

                Au das wäre sehr nett :kissing_face:

                1 Reply Last reply Reply Quote 0
                • lolobyteL Offline
                  lolobyte @Aries1984
                  last edited by lolobyte

                  @aries1984
                  Bitte mir dann auch wenn moglich.

                  Thanks

                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    keyun21
                    last edited by

                    Newbie here I guess i have to pay for Google API service right? without that this module not going to work correct?

                    BKeyportB 1 Reply Last reply Reply Quote 0
                    • BKeyportB Offline
                      BKeyport Module Developer @keyun21
                      last edited by

                      @keyun21 You have to set up a pay account, including a credit card, but they give you a specific number of free accesses, and if you keep the module to a timeframe that you’d normally look at it, you’d have a hard time exceeding those uses.

                      The "E" in "Javascript" stands for "Easy"

                      K 1 Reply Last reply Reply Quote 0
                      • K Offline
                        keyun21 @BKeyport
                        last edited by

                        @bkeyport said in MMM-MyCommute:

                        @keyun21 You have to set up a pay account, including a credit card, but they give you a specific number of free accesses, and if you keep the module to a timeframe that you’d normally look at it, you’d have a hard time exceeding those uses.

                        Thanks a lot I will look into to see how many I can get free and how to set up module to run specific times?

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          Aries1984 Module Developer
                          last edited by

                          Hi everybody,

                          sorry for the late reply. Haven’t been here much in the last couple of weeks. Here’s my config:

                              {
                                  module: 'MMM-MyCommute',
                                  position: 'bottom_right',
                                  header: 'Traffic',
                                  classes: 'default everyone',
                                  config: {
                                      apikey: 'your API Key',
                                      origin: 'Marienplatz 1, 80331 München',
                                      startTime: '05:00',
                                      endTime: '10:00',
                                      hideDays: [0, 6],
                                      destinations: [
                                          {
                                              destination: 'Belgradstraße 13, 80796 München',
                                              label: 'Good Food',
                                              mode: 'driving',
                                              color: '#82E5AA'
                                          }
                                      ]
                                  }
                              },
                          
                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            seanluse41
                            last edited by

                            Can this module support Japanese addresses?
                            The default config and values work for me, but putting in Japanese addresses returns loading… forever.

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              thoeng
                              last edited by thoeng

                              This is great and very practical module! Everything is working on me but i would like to remain below USD200 (40K calls)/mo API call request. This means staying below 1.3K calls/day

                              However, after installed I can see 570+ request call in 2 hours on Google API dashboard. This is despite setting pollFrequency: 1200000 (20mins interval) on MM config.

                              Any help please?

                              I 1 Reply Last reply Reply Quote 1
                              • C Offline
                                charp07
                                last edited by charp07

                                MM is only loading the “loading…” text for this module. All my other modules are showing right. I am getting request on the Google API Console under the Directions API. So I believe that I must have the module installed correctly. Does anyone know why this would be happening?

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  charp07
                                  last edited by

                                  	{
                                  		module: 'MMM-MyCommute',
                                  		position: 'bottom_right',
                                  		config: {
                                  			apikey: 'my api key from google',
                                  			origin: '65 Front St W, Toronto, ON M5J 1E6',
                                  			startTime: '00:00',
                                  			endTime: '23:59',
                                  			hideDays: [0,6],
                                  			destinations: [
                                    {
                                  				destination: '14 Duncan St Toronto, ON M5H 3G8',
                                  				label: 'Air Canada Centre',
                                  				mode: 'walking',
                                  				color: '#82E5AA'
                                    },
                                    ]
                                    }
                                  

                                  },

                                  1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    sdetweil
                                    last edited by

                                    in the MagicMirror folder do

                                    npm check:config
                                    

                                    fix 1st error, repeat
                                    I think it is the comma after the only destination

                                    				color: '#82E5AA'
                                      },   //< ---
                                    

                                    loading …

                                    is the default message many modules put up while getting their data
                                    but it failed to get the data

                                    so, this means there was an internal error in the module code
                                    open the developers window
                                    (either npm start dev, or use ctrl-shift-i when mirror is running)
                                    select the console tab, and scroll up to locate any errors, usually red text

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    C 3 Replies Last reply Reply Quote 1
                                    • C Offline
                                      charp07 @sdetweil
                                      last edited by

                                      This post is deleted!
                                      1 Reply Last reply Reply Quote 0
                                      • C Offline
                                        charp07 @sdetweil
                                        last edited by

                                        @sdetweil okay, I’m new but the check:config command is not valid. So tried npm config and it brought up 10 errors.

                                        Usage:
                                        Npm config set
                                        Npm config get …
                                        Etc
                                        Etc…

                                        What does this mean?

                                        S 1 Reply Last reply Reply Quote 0
                                        • C Offline
                                          charp07 @sdetweil
                                          last edited by

                                          @sdetweil also added comma to that location with no success. Then moved to behind bracket and nothing there either.

                                          1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            sdetweil @charp07
                                            last edited by

                                            @charp07 sorry, I get that command backwards

                                            npm config:check
                                            

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 15
                                            • 19 / 15
                                            • 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