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

MMM-OpenWeatherForecast No API Key

Scheduled Pinned Locked Moved Solved Troubleshooting
5 Posts 2 Posters 820 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.
  • J Offline
    jclewis
    last edited by May 4, 2023, 2:15 PM

    Hello all,

    Just installed the MMM-OpenWeatherForecast module. I created an account with open weather and I am using the “One Call API 3.0.” I tested the default api key using their example: https://api.openweathermap.org/data/3.0/onecall?lat={lat}&lon={lon}&exclude={part}&appid={API key}. I checked the usage and it registered. However when I start the MM it comes back with ERROR ** No API key configured. Get an API key at https://openweathermap.org/api/one-call-api. I also created a new API key and tried that but with the same error.

    Has anyone run into this? Whats the fix? Any information would be greatly appreciated. Thank you.

    S 1 Reply Last reply May 4, 2023, 2:21 PM Reply Quote 0
    • S Away
      sdetweil @jclewis
      last edited by sdetweil May 4, 2023, 2:21 PM May 4, 2023, 2:21 PM

      @jclewis please show the module config in config.js
      you can xxx out the apikey value…

      all module specific parms go INSIDE the AND the system i case sensitive, so
      apikey and apiKey are different

        module:"modulename",
         config:{ 
      ...         <---- here 
      ...
      }
      

      section

      read the two topics in my signature… I didn’t write them,

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      J 1 Reply Last reply May 4, 2023, 2:28 PM Reply Quote 0
      • J Offline
        jclewis @sdetweil
        last edited by sdetweil May 4, 2023, 2:31 PM May 4, 2023, 2:28 PM

        @sdetweil

        {
        			module: "MMM-OpenWeatherMapForecast",
        			position: "top_right",
        			header: "House Weather",
        			config: {
        				apiKey: "###",
        				latitude: "###",
        				longitude: "###",
        				iconset: "6oa",
        				concise: "false",
        				forecastLayout: "table"
        			}
        		},
        
        S 1 Reply Last reply May 4, 2023, 2:33 PM Reply Quote 0
        • S Away
          sdetweil @jclewis
          last edited by May 4, 2023, 2:33 PM

          @jclewis said in MMM-OpenWeatherForecast No API Key:

          > apiKey: "###",
          

          yep

          doc says

           apikey: 
          

          as I said, case sensitive

          also, for future, posting of code or config , use the code wrapper

          post the text
          select the text you just posted
          and hit the button above the editor that looks like </>

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          J 1 Reply Last reply May 4, 2023, 3:23 PM Reply Quote 0
          • J Offline
            jclewis @sdetweil
            last edited by May 4, 2023, 3:23 PM

            @sdetweil

            Thanks for the catch. I appreciate it and the tips for future post. First time posting here.

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