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.

    Google maps API key

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    14 Posts 5 Posters 8.0k Views 5 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.
    • B Offline
      Banandze
      last edited by

      Hi, guys! I’m asking for help about google api key because it only provides $200 per year, so it’s about 4 requests in a day. What shall I change in this module MMM-MyCommute to make more requests. Maybe it will ask other sites. It’s perfectly for me to get a request to this Yandex map.

      D 1 Reply Last reply Reply Quote 0
      • D Offline
        dazza120 @Banandze
        last edited by

        @banandze add this to your config that is every 10 minutes just google milliseconds into minutes and adjust to what ever time you want

        pollFrequency: 600000,
        
        B 1 Reply Last reply Reply Quote 0
        • B Offline
          Banandze @dazza120
          last edited by Banandze

          @dazza120 Thank you for answer, but it won’t be free to make more than 4 requests in a day to google. And this is the problem. I can add pollFrequency but it will cost $7 per 1000 requests. I’m trying to find free solution

          1 Reply Last reply Reply Quote 0
          • ooom416354O Offline
            ooom416354
            last edited by

            I’m in the same boat, I am also lost as to how to set this up. I’m currently using MMM-Traffic and it was able to pull general data but not include any actual commute times based on traffic. Is there a step by step place I can go to to configure billing for my project and also set up some sort of quota so that it just stops working when I hit $200? In reality, I really just need one request a day at 6 AM to show the commute time when I leave, nothing more than that at all. Is that possible as well to configure that in my module (or another module if not possible with this one?)

            lavolp3L 1 Reply Last reply Reply Quote 0
            • lavolp3L Offline
              lavolp3 Module Developer @ooom416354
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • lavolp3L Offline
                lavolp3 Module Developer
                last edited by

                I don’t understand. You can use MMM-MyCommute with a free Google API can’t you? I used it for months, but not currently.
                Are we talking about the same module/API?

                @ooom416354 MMM-MyCommute should be perfectly suitable for you

                ooom416354O 1 Reply Last reply Reply Quote 0
                • ooom416354O Offline
                  ooom416354 @lavolp3
                  last edited by

                  @lavolp3 OK great, I will try that. It will show traffic as well, right? Do you know what exactly i need to do to set it up so that it’s only the one call a day needed? and for the life of me i just can’t figure out how to set it up on the google console to limit it so i dont go over 200 per year. I know i need billing added which is fine, but i am concerned as to how many requests im making through the mirror. I just want to make sure that whatever i install is literally just 1 per day allowed.

                  lavolp3L 1 Reply Last reply Reply Quote 0
                  • lavolp3L Offline
                    lavolp3 Module Developer @ooom416354
                    last edited by lavolp3

                    @ooom416354
                    I THINK you can use the Google maps API unlimited for this purpose for your $200-but-free-subscription. You don’t need to consider limiting to a few calls per day. It is a bit oddly presented by google.

                    Please confirm someone.

                    0_1547047215931_859c8052-0177-46e5-8f05-5a576158c17f-image.png

                    ooom416354O B 2 Replies Last reply Reply Quote 0
                    • ooom416354O Offline
                      ooom416354 @lavolp3
                      last edited by

                      @lavolp3 yea that’s what I’ve been looking at, the whole list is so strangely presented. i just deleted whatever projects I had and am going to start from scratch with a new API key but the quotas and stuff like that is just impossible to figure out where and what I’m entering in so I just wanted to make sure that the requests are limited by the MM module.

                      1 Reply Last reply Reply Quote 0
                      • B Offline
                        Banandze @lavolp3
                        last edited by

                        @lavolp3 so, our requests will be free? Because google changed his rules few months ago and I can’t find right information about it.

                        ooom416354O lavolp3L 2 Replies Last reply Reply Quote 0
                        • ooom416354O Offline
                          ooom416354 @Banandze
                          last edited by

                          @banandze Im trying myself and am not able to get it to work. Painful, wish there was some better documentation as to what to do on googles end.

                          1 Reply Last reply Reply Quote 0
                          • lavolp3L Offline
                            lavolp3 Module Developer @Banandze
                            last edited by

                            @banandze I have reactivated the module, but am thankful to anyone with more knowledge like the developer answering this.

                            1 Reply Last reply Reply Quote 0
                            • CharlesRobbinsC Offline
                              CharlesRobbins
                              last edited by

                              Google Maps was losing competition with Mapbox before but after the new pricing model, it has become totally unappealing. Consider switching to Mapbox or HERE.

                              lavolp3L 1 Reply Last reply Reply Quote 0
                              • lavolp3L Offline
                                lavolp3 Module Developer @CharlesRobbins
                                last edited by

                                @CharlesRobbins I have used the Google APi extensively in the last months while developing my own version of MMM-Commute and have to say i didn’t need to pay anything at any time.
                                That said, I don’t understand why they are making it so complicated (with this odd $200 voucher per month) and uncomprehensive.

                                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 / 1
                                • 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