Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Google Traffic

    Troubleshooting
    2
    7
    87
    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
      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
        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

        1 Reply Last reply Reply Quote 0
        • G
          Gr1dL0ck last edited by

          @sdetweil

          yes this is in my Config.js file

          S 1 Reply Last reply Reply Quote 0
          • S
            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

            G 1 Reply Last reply Reply Quote 0
            • G
              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
                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.

                G 1 Reply Last reply Reply Quote 0
                • G
                  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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy