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

Scheduled Pinned Locked Moved Transport
286 Posts 80 Posters 506.5k 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.
  • T Offline
    trawson @JRB1988
    last edited by Jan 22, 2020, 2:28 AM

    @JRB1988 From my experiences, I don’t believe it does.

    1 Reply Last reply Reply Quote 1
    • S Offline
      smoysauce
      last edited by smoysauce Feb 1, 2020, 4:02 PM Jan 29, 2020, 5:53 PM

      Hi I have gotten this module setup and working with destinations (see below), but am trying to get it to show times based on locations of calendar events setup like at the end of the help page but it doesn’t seem to want to show. Am I missing something? My calendar shows my events and locations but not sure if MyCommute is pulling it. I even used the example code from the module Git page and it still didn’t pull anything. Does this not work anymore? Any insight would be much appreciated!

      {
              module: 'MMM-MyCommute',
              position: 'bottom_left',
              header: 'Traffic',
              config: {
                      apikey: 'XXX',
                      origin: 'XXX',
                      startTime: '06:00',
                      endTime: '20:00',
                      destinations: [
                      {
                              destination: 'XXX',
                              label: 'XXX',
                              hideDays: [0,6],
                              mode: 'driving',
                              alternatives: true,
                              showSummary: true,
                              color: '#82E5AA'
                      },
                      {
                              destination: 'XXX',
                              label: 'XXX',
                              mode: 'driving',
                              alternatives: false,
                              showSummary: false,
                              color: 'lightblue'
                      }
                      ],
                      maxCalendarEvents: 2,
                      calendarOptions: [
                              {
                              mode: 'driving'
                              }
                      ]
      }
      },
      
      
      1 Reply Last reply Reply Quote 0
      • W Offline
        wagon40
        last edited by Feb 6, 2020, 4:31 PM

        everything else is working time, personnel calendar and weather. my commute shows error in red on the side. does show that it is continuing to update. any suggestion?

        {
        			module: "MMM-MyCommute",
        			position: "bottom_bar",
        			config: {
            				apikey: 'google api key',
            				origin: ' Rd, city, state zip',
            				startTime: '00:00',
            				endTime: '23:59',
            				destinations: [
              					{
               				 	destination: ' Ave, city, state zip',
               				 	label: ' Work1',
               				 	mode: 'driving',
                				color: '#82E5AA'
              					},
        					{
               				 	destination: ' Ave, city, state zip',
               				 	label: ' Work2',
               				 	mode: 'driving',
                				color: '#82E5AA'
              					},
        				]
        			}
        		},
        
        W 1 Reply Last reply Feb 8, 2020, 3:31 PM Reply Quote 0
        • W Offline
          wagon40 @wagon40
          last edited by Feb 8, 2020, 3:31 PM

          @wagon40
          I checked the apikey and Google is showing a count of apikey request. So that leads me to believe that it is a MM issue or module issue. Any help would be be great.

          E 1 Reply Last reply Feb 25, 2020, 8:56 AM Reply Quote 0
          • E Offline
            Egnos @wagon40
            last edited by Egnos Feb 25, 2020, 1:01 PM Feb 25, 2020, 8:56 AM

            @wagon40 said in MMM-MyCommute:

            @wagon40
            I checked the apikey and Google is showing a count of apikey request. So that leads me to believe that it is a MM issue or module issue. Any help would be be great.

            Hello to all,
            I have the same problem as @wagon40 , can you help us?

            The log of the MM shows:

            [13:48:15.263] [LOG]    MMM-MyCommute: This API project is not authorized to use this API.
            [13:48:15.268] [LOG]    MMM-MyCommute: This API project is not authorized to use this API.
            
            

            I use the same Google API that uses “MMM-GoogleMapsTraffic” … could it be the cause of the problem?

            Thanks a lot!

            My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

            1 Reply Last reply Reply Quote 0
            • E Offline
              Egnos
              last edited by Egnos Feb 28, 2020, 9:48 PM Feb 28, 2020, 9:47 PM

              Is anybody there? 🤔

              My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

              S 1 Reply Last reply Feb 28, 2020, 9:55 PM Reply Quote 0
              • S Away
                sdetweil @Egnos
                last edited by Feb 28, 2020, 9:55 PM

                @Egnos

                This API project is not authorized to use this API.

                seems pretty clear… the api Project you selected, doesn’t authorize use of the API…

                open the google developers console, find the api project and check for the api… maybe Javascript

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                E 1 Reply Last reply Mar 1, 2020, 6:23 PM Reply Quote 0
                • E Offline
                  Egnos @sdetweil
                  last edited by Egnos Mar 1, 2020, 6:23 PM Mar 1, 2020, 6:23 PM

                  @sdetweil said in MMM-MyCommute:

                  @Egnos

                  This API project is not authorized to use this API.

                  seems pretty clear… the api Project you selected, doesn’t authorize use of the API…

                  open the google developers console, find the api project and check for the api… maybe Javascript

                  Dear @sdetweil.
                  Thee same behavior also has it @wagon40, I thought it was something about the module…but if you’re sure it’s just an API problem … I’ll do a check!

                  Thanks.

                  My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    banbutcher
                    last edited by banbutcher Mar 20, 2020, 1:18 AM Mar 20, 2020, 1:13 AM

                    so Ive installed MyCommute and activated the directions api in google and Im getting this error in log…
                    [14:09:09.679] [LOG] MMM-MyCommute: You must use an API key to authenticate each request to Google Maps Platform APIs.

                    Im using the same API key for GoogleMapsTraffic.

                    heres my config section:

                    // My Commute Start
                    
                    {
                    			module: "MMM-MyCommute",
                    			position: "bottom_right",
                    			config: {
                        				apikey: 'API - Key',
                        				origin: 'Start Address',
                        				startTime: '07:00',
                        				endTime: '23:30',
                        				destinations: [
                          					{
                           				 	destination: 'Destination',
                           				 	label: 'Engine Center',
                           				 	mode: 'driving',
                            				color: '#82E5AA'
                          					},
                    					{
                           				 	destination: 'Destination',
                           				 	label: 'WHE - Office',
                           				 	mode: 'driving',
                            					color: '#82E5AA'
                          					},
                    				]
                    			}
                    		}, 
                    

                    any ideas?

                    Thanks

                    S 1 Reply Last reply Mar 20, 2020, 1:18 AM Reply Quote 0
                    • S Away
                      sdetweil @banbutcher
                      last edited by Mar 20, 2020, 1:18 AM

                      @banbutcher you have to sign on to the Google API console and enable the API.
                      And u must enter a credit card as part of that.

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      B 1 Reply Last reply Mar 20, 2020, 1:20 AM Reply Quote 0
                      • 1
                      • 2
                      • 21
                      • 22
                      • 23
                      • 24
                      • 25
                      • 28
                      • 29
                      • 23 / 29
                      • 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