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

      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 Reply Quote 0
      • S Do not disturb
        sdetweil @Gr1dL0ck
        last edited by sdetweil

        @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

          @sdetweil

          yes this is in my Config.js file

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

            @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 Reply Quote 0
            • G Offline
              Gr1dL0ck @sdetweil
              last edited by

              @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 Reply Quote 0
              • S Do not disturb
                sdetweil @Gr1dL0ck
                last edited by

                @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 Reply Quote 0
                • G Offline
                  Gr1dL0ck @sdetweil
                  last edited by

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