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

Default weather module stuck loading after latest MM update

Scheduled Pinned Locked Moved Solved Troubleshooting
35 Posts 8 Posters 6.3k Views 8 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
    JMac @karsten13
    last edited by Oct 7, 2024, 2:35 PM

    @karsten13 how do I update this specifically.

    Everything was working fine prior to the latest MM update.

    S 1 Reply Last reply Oct 7, 2024, 3:13 PM Reply Quote 0
    • J Offline
      JMac @butchkemper
      last edited by Oct 7, 2024, 2:44 PM

      @butchkemper Is this the default weather module or an additional one?

      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @JMac
        last edited by Oct 7, 2024, 3:13 PM

        @JMac if you had used my upgrade script, it would have upgraded node as well

        see https://github.com/sdetweil/MagicMirror_scripts

        you can use the upgrade again with the parameter of

        force
        

        instead of

        apply
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        J 1 Reply Last reply Oct 7, 2024, 3:41 PM Reply Quote 0
        • J Offline
          JMac @sdetweil
          last edited by JMac Oct 7, 2024, 4:03 PM Oct 7, 2024, 3:41 PM

          So I’ve run your update, and the weather still doesn’t load.

          Seems odd that the API issue would only arise following the update.
          Is this likely?

          S 1 Reply Last reply Oct 7, 2024, 4:14 PM Reply Quote 0
          • S Offline
            sdetweil @JMac
            last edited by Oct 7, 2024, 4:14 PM

            @JMac the provider announced that the old 2.5 API would be sunset in June of this year… we didn’t get that update into the last version…

            v3.0 is the ONLY one we provide default for…

            starting with MM version 2.29

            you MUST get a new v3 api key , which requires a credit card.
            the 1st 1000 calls to the new api are currently not charged

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            J 1 Reply Last reply Oct 7, 2024, 5:05 PM Reply Quote 1
            • J Offline
              JMac @sdetweil
              last edited by JMac Oct 7, 2024, 5:21 PM Oct 7, 2024, 5:05 PM

              @sdetweil So I’ve upgraded to my account on OpenWeather (and added payment details.
              Generated a new APIkey and added this to the config of the weather module but it is still stuck on loading.

              S 1 Reply Last reply Oct 7, 2024, 5:27 PM Reply Quote 0
              • S Offline
                sdetweil @JMac
                last edited by Oct 7, 2024, 5:27 PM

                @JMac can you look at the messages from npm start

                the ‘loading…’ message is just to have something on the screen until data arrives

                and as such it didn’t arrive.

                can u post the module config (xxx out your apiKey)

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                P 1 Reply Last reply Oct 7, 2024, 5:44 PM Reply Quote 0
                • P Offline
                  Peter @sdetweil
                  last edited by Oct 7, 2024, 5:44 PM

                  @sdetweil same problem here.
                  Upgraded my Openweather account, added paymentdetails (seemed to worked well), generated a new API key (how can I see it is a 3.0 key?)
                  Used your upgrade script, Sam.
                  Entered the new key in my config.
                  Everything works fine except the default weathermodule.
                  Peter

                  P 1 Reply Last reply Oct 7, 2024, 6:15 PM Reply Quote 0
                  • P Offline
                    Peter @Peter
                    last edited by sdetweil Oct 7, 2024, 7:07 PM Oct 7, 2024, 6:15 PM

                    This is my config, maybe somebody can tell me what is wrong?

                    {
                    module: "weather",
                    position: "top_right",
                    config: {
                    weatherProvider: "openweathermap",
                    type: "current",
                    location: "Apeldoorn",
                    locationID: "2759705", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
                    apiKey: "xxxxxxxxxxxxxxxxxxxxxx"
                    }
                    },
                    {
                    module: "weather",
                    position: "top_right",
                    header: "Weersverwachting",
                    config: {
                    colored: true,
                    weatherProvider: "openweathermap",
                    type: "forecast",
                    location: "Apeldoorn",
                    locationID: "2759705", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
                    apiKey: "xxxxxxxxxxxxxxxxxx"
                    }
                    },
                    
                    S 1 Reply Last reply Oct 7, 2024, 7:10 PM Reply Quote 0
                    • S Offline
                      sdetweil @Peter
                      last edited by Oct 7, 2024, 7:10 PM

                      @Peter ok, two things…

                      you ALSO have to add

                      weatherEndpoint: "/onecall",
                      

                      to each config, as this is required for the 3.0 api

                      this makes it work with my 3.0 apikey

                      Screenshot at 2024-10-08 06-09-51.png

                      second,
                      in the forum, when you post config, or log info, please use the code block wrapper… else the quotes get changed to workd processing type which JS doesn’t understand

                      to do
                      paste the text into the editor, blank line above and below
                      select the text just pasted
                      hit the </> button above the editor

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      P J 2 Replies Last reply Oct 8, 2024, 1:33 AM Reply Quote 2
                      • 1
                      • 2
                      • 3
                      • 4
                      • 1 / 4
                      1 / 4
                      • First post
                        8/35
                        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