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.

    Weather module not loading

    Scheduled Pinned Locked Moved Solved Troubleshooting
    9 Posts 4 Posters 4.6k Views 4 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.
    • A Offline
      aunrea
      last edited by

      I have added the load delay but it still isn’t loading.

      S 1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @aunrea
        last edited by

        @aunrea can u show that part of the module config?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        A 1 Reply Last reply Reply Quote 0
        • J Offline
          joey
          last edited by

          I am not sure this is the problem, but why are you using “apikKey”? My working OpenWeather module uses “appid”. Also, should it be “apiKey” (with only one “K”)?

          I am using a config based off an old version, so I looked at the latest config.js.sample from the repo (https://github.com/MichMich/MagicMirror/blob/master/config/config.js.sample ), and it uses apiKey (with only one “K”).

          {
          			module: "weather",
          			position: "top_right",
          			config: {
          				weatherProvider: "openweathermap",
          				type: "current",
          				location: "New York",
          				locationID: "5128581", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
          				apiKey: "YOUR_OPENWEATHER_API_KEY"
          			}
          		},
          

          Lastly, if you have just generated your OpenWeather api key, it takes some amount of time (24 hours?) before it will start working. Hope this helps.

          1 Reply Last reply Reply Quote 0
          • S Away
            sdetweil
            last edited by

            note that if u want forecast you need to set the endpoint

            https://docs.magicmirror.builders/modules/weather.html#configuration-options, else it defaults to ‘/weather’

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • A Offline
              aunrea @sdetweil
              last edited by

              @sdetweil I did not notice the 2 ks. That was the problem!

              1 Reply Last reply Reply Quote 1
              • 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
                OSZAR »