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

pjestico/MMM-GoogleTrafficTimes Address Format?

Scheduled Pinned Locked Moved Troubleshooting
11 Posts 3 Posters 2.3k Views 3 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.
  • C Offline
    cmer3
    last edited by sdetweil Aug 3, 2020, 11:45 PM Aug 3, 2020, 11:30 PM

    No errors, but I can’t get data to display. Google API key is right, so I am looking for format errors. Anything obvious?:

    		{
                		module: 'MMM-GoogleTrafficTimes',
                		position: 'top_right',
                		config: {
                    		key: 'AIzaSyAlettersandnumbersfYyA',
                    		origin: '39.408476,-76.545179',
                    		destination1: 'M Work:39.439013,-76.632005',
                    		destination2: 'C Work:39.399357,-76.593041',
                    		AvoidHighways: false,
                    		AvoidTolls: false,
    				}
                	},
    
    S 2 Replies Last reply Aug 3, 2020, 11:44 PM Reply Quote 0
    • S Offline
      sdetweil @cmer3
      last edited by sdetweil Aug 3, 2020, 11:44 PM Aug 3, 2020, 11:44 PM

      @cmer3 open the developers window ctrl-shift-i and select the console tab and scroll up to see any errors

      also, please use the code block.markers for config.js entries.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @cmer3
        last edited by sdetweil Aug 3, 2020, 11:52 PM Aug 3, 2020, 11:46 PM

        @cmer3 I would guess origin values wrong. that is a string

        I think if it’s lat/long it needs to be that structure

        https://developers.google.com/maps/documentation/javascript/examples/map-latlng-literal

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • C Offline
          cmer3
          last edited by Aug 3, 2020, 11:53 PM

          Thanks, looks like my issues is setting up billing on the google account

          S 1 Reply Last reply Aug 3, 2020, 11:55 PM Reply Quote 0
          • S Offline
            sdetweil @cmer3
            last edited by Aug 3, 2020, 11:55 PM

            @cmer3 yeh, Google wants a good account payment method up front, even tho they will give u uncharged access for a while

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • F Offline
              Fonfon
              last edited by Aug 16, 2020, 1:34 PM

              hi,

              Problem Nothing happens after installing the module …
              Thanks

              S F 2 Replies Last reply Aug 16, 2020, 2:13 PM Reply Quote 0
              • S Offline
                sdetweil @Fonfon
                last edited by Aug 16, 2020, 2:13 PM

                @Fonfon what is your config for this module? did u setup the google account and credit card required? per the instructions?

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                F 1 Reply Last reply Aug 25, 2020, 3:54 PM Reply Quote 0
                • F Offline
                  Fonfon @Fonfon
                  last edited by Aug 25, 2020, 3:54 PM

                  This post is deleted!
                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    Fonfon @sdetweil
                    last edited by Aug 25, 2020, 3:54 PM

                    @sdetweil said in pjestico/MMM-GoogleTrafficTimes Address Format?:

                    @Fonfon what is your config for this module? did u setup the google account and credit card required? per the instructions?

                    HI ,

                    Account payment is binding?

                    Thanks

                    S 1 Reply Last reply Aug 25, 2020, 5:04 PM Reply Quote 0
                    • S Offline
                      sdetweil @Fonfon
                      last edited by Aug 25, 2020, 5:04 PM

                      @Fonfon not sure what ‘is binding’ means, but if means ‘is required’, then yes.
                      Google requires an active functioning credit card, so IF/when you go over their credits they can charge you.

                      as compared to a free account, until it runs out and doesn’t work anymore.

                      they want it to keep working

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      S 1 Reply Last reply Aug 25, 2020, 5:06 PM Reply Quote 0
                      • 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