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

Google Traffic

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 2 Posters 1.5k Views 2 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.
  • G Offline
    Gr1dL0ck
    last edited by Feb 13, 2021, 6:11 AM

    google traffic times
    I followed these steps from the webpage

    Navigate into your MagicMirror’s ~/MagicMirror/modules folder
    execute git clone https://github.com/pjestico/MMM-GoogleTrafficTimes.git
    A new folder will be created, please navigate into it. Run npm install in ~/MagicMirror/modules/MMM-GoogleTrafficTimes

    {
    module: ‘MMM-GoogleTrafficTimes’,
    position: ‘top_left’,
    config: {
    key: ‘my google API’,
    origin: ‘my personal address straight from google’,
    destination1: ‘Work:my work address straight from google’,
    AvoidHighways: false,
    AvoidTolls: false,
    },

    now this exutes fine, but nothing appears???

    S 1 Reply Last reply Feb 13, 2021, 7:51 AM Reply Quote 0
    • S Away
      sdetweil @Gr1dL0ck
      last edited by sdetweil Feb 13, 2021, 7:51 AM Feb 13, 2021, 7:51 AM

      @gr1dl0ck and this part goes in your config.js modules list, right?

      {
      module: ‘MMM-GoogleTrafficTimes’,
      position: ‘top_left’,
      config: {
      key: ‘my google API’,
      origin: ‘my personal address straight from google’,
      destination1: ‘Work:my work address straight from google’,
      AvoidHighways: false,
      AvoidTolls: false,
      },
      

      pleas read the two links in my signature

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • G Offline
        Gr1dL0ck
        last edited by Feb 13, 2021, 8:25 AM

        @sdetweil

        yes this is in my Config.js file

        S 1 Reply Last reply Feb 13, 2021, 12:24 PM Reply Quote 0
        • S Away
          sdetweil @Gr1dL0ck
          last edited by sdetweil Feb 13, 2021, 1:22 PM Feb 13, 2021, 12:24 PM

          @gr1dl0ck and u corrected the local data you needed to supply, yes.

          your google api key for the traffic api
          and your real to and from addtesses

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          G 1 Reply Last reply Feb 14, 2021, 3:19 AM Reply Quote 0
          • G Offline
            Gr1dL0ck @sdetweil
            last edited by Feb 14, 2021, 3:19 AM

            @sdetweil

            yes as above

            key: ‘my google API’,
            origin: ‘my personal address straight from google’,
            destination1: ‘Work:my work address straight from google’,

            S 1 Reply Last reply Feb 14, 2021, 3:25 AM Reply Quote 0
            • S Away
              sdetweil @Gr1dL0ck
              last edited by Feb 14, 2021, 3:25 AM

              @gr1dl0ck and u enabled all three apis under the same api key

              from the doc

              You will need to enable the following APIs for your key, Maps JavaScript API, Geocoding API, Distance Matrix API.

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              G 1 Reply Last reply Feb 14, 2021, 4:03 AM Reply Quote 0
              • G Offline
                Gr1dL0ck @sdetweil
                last edited by Feb 14, 2021, 4:03 AM

                @sdetweil

                it was the billing set up preventing it all, i enabled it read its free up to a certain amount of searches, just need to read into it a bit more to see how many times you can use it per month etc without incurring a cost

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