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-forecast.io = Geolocation

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    4 Posts 2 Posters 2.2k 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.
    • MichShavM Offline
      MichShav
      last edited by

      I’m sure this may be a simple issue but for the life of me, i cant find where to put my google API key at.
      I’ve looked at the links for instructions but it still isnt clicking for me.

      “process.env.GOOGLE_API_KEY = ‘YOUR_KEY_HERE’” is suppose to go in the “main processing file” but i dont know what that is or where exactly in the code it would go.

      idoodlerI 1 Reply Last reply Reply Quote 0
      • idoodlerI Offline
        idoodler Module Developer
        last edited by idoodler

        @michshav You can place it in /MagicMirror/js/main.js before var MM = ... seems like a good place.

        1 Reply Last reply Reply Quote 1
        • idoodlerI Offline
          idoodler Module Developer @MichShav
          last edited by

          @michshav Hey, did this solve your problem?

          1 Reply Last reply Reply Quote 0
          • MichShavM Offline
            MichShav
            last edited by

            Just saw this, I will try tonight when i get home :)

            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