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 12.7k 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.
    • S Offline
      spoonek @sdetweil
      last edited by spoonek

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

      @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

      OK, that is awesome! Thanks for the tip! So maybe I need to generate a new api key and use that?

      [2020-08-20 09:07:14.680] [LOG] MMM-MyCommute: You must use an API key to authenticate each request to Google Maps Platform APIs. For additional information, please refer to http://g.co/dev/maps-no-account

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @spoonek
        last edited by sdetweil

        @spoonek u didn’t list the maps api I the list of services above

         Google Maps Platform APIs
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil thanks. I don’t see it…

          Screen Shot 2020-08-20 at 9.15.50 AM.png

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @spoonek
            last edited by sdetweil

            @spoonek from the link on the module doc

            Maps JavaScript API
            

            from the image u posted,
            2nd row, second box from left

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

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

              @spoonek from the link on the moduledoc

              Maps JavaScript API
              

              from the image u posted,
              2nd row, second box from left

              Yep, got that one already. :(

              Screen Shot 2020-08-20 at 9.26.01 AM.png

              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @spoonek
                last edited by sdetweil

                @spoonek so, then, passing the key is a problem,

                so it might be the item name in config. u can specify both,
                and u got the right string for the API key from Google.

                which GitHub module are u using?

                from the module folder do,
                git remote -v

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

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

                  @spoonek so, then, passing the key is a problem,

                  so it might be the item name in config. u can specify both,
                  and u got the right string for the API key from Google.

                  OK, I’ll add apikey and apiKey. I just generated a new key as well. Billing acct is active too.

                  redacted.png

                  pi@raspberrypi:~/MagicMirror/modules/MMM-MyCommute $ git remote -v
                  origin https://github.com/jclarke0000/MMM-MyCommute.git (fetch)
                  origin https://github.com/jclarke0000/MMM-MyCommute.git (push)
                  pi@raspberrypi:~/MagicMirror/modules/MMM-MyCommute $

                  S 1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @spoonek
                    last edited by

                    @spoonek from the module folder

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

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

                      @spoonek from the module folder

                      jclarke0000/MMM-MyCommute.git

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

                        @sdetweil Looking good now after adding both apikey and apiKey. Most likely me generating a new key as well. Thanks for the dev tips! Will be useful for me down the road.

                        Screen Shot 2020-08-20 at 9.47.39 AM.png

                        S 2 Replies Last reply Reply Quote 0
                        • S Do not disturb
                          sdetweil @spoonek
                          last edited by

                          @spoonek his code uses all lowercase apikey

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          1 Reply Last reply Reply Quote 0
                          • S Do not disturb
                            sdetweil @spoonek
                            last edited by

                            @spoonek also, if you turn on ssh server on pi, and use winscp or bitvise ssh client, you can double click edit with your favorite windows editor (I use notepad++ for code alignment and indentation)
                            and still issue commands thru the ssh window…

                            if u set

                            address:"0.0.0.0", 
                            ipWhitelist:[],
                            

                            in config.js, then you can connect to mm with your windows chrome browser and do all the dev work there too…

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            1 Reply Last reply Reply Quote 1

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