• 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 not showing up.

Scheduled Pinned Locked Moved Solved Troubleshooting
31 Posts 4 Posters 7.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.
  • D Offline
    Doogain @buzzkc
    last edited by Oct 29, 2019, 9:14 PM

    @buzzkc said in MMM-MyCommute not showing up.:

    I believe it’s the Maps Javascript API>>Directions API

    Hmm still getting a error where it should say commute time.
    It says:
    MMM-MyCommute: You must enable Billing on the Google Cloud Project at https://console.cloud.google.com/project/_/billing/enable Learn more at https://developers.google.com/maps/gmp-get-started

    I already have that enabled tho.

    S 1 Reply Last reply Oct 29, 2019, 10:53 PM Reply Quote 0
    • D Offline
      Doogain
      last edited by Oct 29, 2019, 9:48 PM

      I figured it out. I had to enable all the following
      1.) Maps Javascript API
      2.) Directions API
      3.) Geocoding API.

      Marking as solved, thanks for all the help :-)

      1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @Doogain
        last edited by Oct 29, 2019, 10:53 PM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • S Offline
          spoonek
          last edited by spoonek Aug 20, 2020, 12:53 PM Aug 20, 2020, 12:49 PM

          Sorry to bump an old post, seemed like a better idea vs creating a new one…

          I’m having the same issue. I’m using MagicMirror 2.12. The MMM-MyCommute module shows “Error” in red for my destination. I have an api key. The api key is active. I’ve added the Directions API, Geocoding API and Maps JavaScript API to my Google Cloud Platform account. I’ve tried both apikey and apiKey. I did read on the Google site that the request needs to be something like “key_api” but can’t find that verbiage again to validate. Not sure what else I can do at this point. Any tips? Many thanks!!

          code:

          {
          	module: 'MMM-MyCommute',
          	position: 'top_left',
          	header: 'Commute Times',
          	config: {
          		apiKey: '**********************************',
          		origin: '**my home address**',
          		startTime: '00:00',
          		endTime: '23:59',
          		destinations: [
          			{
          				destination: '6000 N Terminal Pkwy, Atlanta, GA 30320',
          				label: 'Airport'
          			},
          		]
          	}
          
          S 1 Reply Last reply Aug 20, 2020, 12:53 PM Reply Quote 0
          • S Away
            sdetweil @spoonek
            last edited by sdetweil Aug 20, 2020, 12:54 PM Aug 20, 2020, 12:53 PM

            @spoonek apikey, all lower case, read the module doc

            open the developers window ctrl-shift-i, then select the console tab and scroll up see any errors. u can also filter messages by module, by placing part of the module name in the filter field ‘comm’ for example

            S 1 Reply Last reply Aug 20, 2020, 12:57 PM Reply Quote 0
            • S Offline
              spoonek @sdetweil
              last edited by spoonek Aug 20, 2020, 1:03 PM Aug 20, 2020, 12:57 PM

              @sdetweil said in MMM-MyCommute not showing up.:

              @spoonek apikey, all lower case, read the doc

              open the developers window ctrl-shift-i, then select the console tab and scroll up see any errors. u can also filter messages by module, by placing part of the module name in the filter field ‘comm’ for example

              Thanks. There is conflicting info on github. One MyCommute says use apikey. The other fork says to now use apiKey. I tried both, same result…“Error”.

              I’ll check out the dev window. I’m a n00b so learning as I go. Appreciate the suggestion!

              [edit]. …aaaaaand I’m on a MAC. :man_facepalming_light_skin_tone:

              S 2 Replies Last reply Aug 20, 2020, 1:03 PM Reply Quote 0
              • S Away
                sdetweil @spoonek
                last edited by Aug 20, 2020, 1:03 PM

                @spoonek the same result means the problem is probably in the key. Google requires a credit card to back their accounts, altho they give generous credits against usage for a while

                S 1 Reply Last reply Aug 20, 2020, 1:05 PM Reply Quote 0
                • S Offline
                  spoonek @sdetweil
                  last edited by Aug 20, 2020, 1:05 PM

                  @sdetweil Yep, I added a card and activated the account last night. Was hoping it would sync up overnight but same issue this morning.

                  S 1 Reply Last reply Aug 20, 2020, 1:05 PM Reply Quote 0
                  • S Away
                    sdetweil @spoonek
                    last edited by Aug 20, 2020, 1:05 PM

                    @spoonek use the menu to get the dev window open. or start with

                    npm start dev

                    if u normally use pm2, do pm2 stop 0
                    before the npm start

                    S 1 Reply Last reply Aug 20, 2020, 1:09 PM Reply Quote 0
                    • S Away
                      sdetweil @spoonek
                      last edited by Aug 20, 2020, 1:05 PM

                      @spoonek no sync time. it’s immediate.

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