MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.20.0 is available! For more information about this release, check out this topic.

    SOLVED Weather not Loading

    Troubleshooting
    2
    4
    185
    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
      Cyric last edited by

      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 Reply Quote 0
      • D
        DarrenHill @Cyric last edited by

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

        C 1 Reply Last reply Reply Quote 0
        • D
          DarrenHill @Cyric last edited by

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

          C 1 Reply Last reply Reply Quote 0
          • C
            Cyric @DarrenHill last edited by

            @DarrenHill

            I’m dumb, that fixed it.

            Thanks!

            D 1 Reply Last reply Reply Quote 0
            • D
              DarrenHill @Cyric last edited by DarrenHill

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