• 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.1k 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.
  • 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
        • B Offline
          banbutcher @sdetweil
          last edited by Mar 20, 2020, 1:20 AM

          @sdetweil
          if your taking about the API for directions, ive already done that. have entered credit card details too, needed that for GoogleMapsTraffic.

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

            @banbutcher Google maps traffic uses the JavaScript map API. This module needs another api

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            B 1 Reply Last reply Mar 20, 2020, 2:07 AM Reply Quote 0
            • B Offline
              banbutcher @sdetweil
              last edited by banbutcher Mar 20, 2020, 2:08 AM Mar 20, 2020, 2:07 AM

              @sdetweil

              i have both turned on, at least im sure i do…

              https://drive.google.com/open?id=18ZReMNCAscxCxtJjd1dEo8s2D2u3MOY-

              thanks again

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

                @banbutcher did that solve the problem? I can’t see whatever is on that Google drive, as it tries to find it on mine

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  another question… as im running GoogleMapsTraffic as a full screen page i was wondering if its possible to show the quickest routes on the map between origin and destination?

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

                    @banbutcher I don’t know what API parameters are available or used by that module

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      its just a pic of the list of enabled Apis and directions is on there… no still hasnt solved problem.

                      is their a different key for directions api and another different key for the javascript map api?

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