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

Weather not Loading

Scheduled Pinned Locked Moved Solved Troubleshooting
4 Posts 2 Posters 1.6k 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.
  • C Offline
    Cyric
    last edited by Apr 2, 2022, 2:54 PM

    Hi,

    I upgraded to 2.19, and saw that the weather forecast and current weather both depreciated. I read the migration and made the changes, and now both get stuck at loading.

    cd040132-1637-4cf1-8436-b2bf5900a13e-image.png

    Everything else updated fine, and both modules were working before the change. I tried to specify which provider to use instead of the default. i removed the location id and tried to just use location and vice versa. Neither worked.

    Here’s my code, I removed the api key and location data, but it was all fine before the change.

    {
    			module: "weather",
    			position: "top_right",
    			config: {
    				type: "current",
    				location: "XXXXXXX",
    				locationID: "XXXXXXX", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
    				appid: "XXXXXXX"
    			}
    		},
    		{
    			module: "weather",
    			position: "top_right",
    			header: "Weather Forecast",
    			config: {
    				type: "forecast",
    				location: "XXXXXX,
    				locationID: "XXXXXXX", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
    				appid: "XXXXXXX"
    			}
    

    Thanks!

    D 1 Reply Last reply Apr 2, 2022, 2:59 PM Reply Quote 0
    • D Offline
      DarrenHill @Cyric
      last edited by Apr 2, 2022, 2:59 PM

      @Cyric The new module uses apiKey rather than appid in the config. Try changing that in each entry.

      C 1 Reply Last reply Apr 2, 2022, 3:02 PM Reply Quote 0
      • C Offline
        Cyric @DarrenHill
        last edited by Apr 2, 2022, 3:02 PM

        @DarrenHill

        I’m dumb, that fixed it.

        Thanks!

        D 1 Reply Last reply Apr 2, 2022, 3:05 PM Reply Quote 0
        • D Offline
          DarrenHill @Cyric
          last edited by DarrenHill Apr 2, 2022, 3:47 PM Apr 2, 2022, 3:05 PM

          @Cyric - You’re welcome.

          I did the same update myself this morning, so know what needed to be changed…

          Don’t forget to mark the issue as solved.

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