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.9k 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

      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 Offline
        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 Offline
          Cyric @DarrenHill
          last edited by

          @DarrenHill

          I’m dumb, that fixed it.

          Thanks!

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 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