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.

    MMM-OpenWeatherForecast - loading issue

    Scheduled Pinned Locked Moved Solved Troubleshooting
    23 Posts 7 Posters 4.6k 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.
    • Z Offline
      zauberclown
      last edited by

      I am facing the exact same challenge.
      Also followed the guidance as you did.

      So, you are not alone…which makes me think if there might be an issue on openweathermap since everbody is hammering their API with their tests this weekend?

      1 Reply Last reply Reply Quote 0
      • C Offline
        Como
        last edited by

        I am also having issues with the module being stuck on loading. In looking at the the debugging (ctrl+shift+i) when magic mirror is up I do get a 404 error for communicating to openweather. I have not changed any settings and do not have a line in my config file with the api base url. Other than that, I’m in the same boat as OP where I signed up to get the free API 3.0 and generated a new key… just can’t get anything working.

        S 3 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @Como
          last edited by

          @Como 3.0 apikey requires a credit card. today first 1000 api calls are not charged

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Como
            last edited by

            @Como 404 is not found, so the api url is incorrect

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Como
              last edited by

              @Como openweather changed their business model, only the 3.0 api is available. any 2.5 api requests will fail

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • C Offline
                Como
                last edited by

                I realize that the api 3.0 is required. I mentioned I signed up for it as seen below. f90f3419-0d5e-429b-818e-eea6b4d8fd20-image.png
                I also generated a new key which is showing as active. So unless I’m generating keys that are no longer allowed per openweather (which I wouldn’t think is possible), then I’m not sure what the problem is.

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @Como
                  last edited by

                  @Como yes, as i said, i will debug this when i get nack to my desk on monday

                  as for my reiteration of the v3.0 api, you said ‘free api’ , and there is no such thing anymore. just trying yo be precise

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    Como
                    last edited by

                    Got it. Just wanted to make sure I was understanding too as I feel the oneweathermap site could be a little more clear on their keys. Thanks for all your hard work on this!

                    KristjanESPERANTOK 1 Reply Last reply Reply Quote 0
                    • KristjanESPERANTOK Offline
                      KristjanESPERANTO Module Developer @Como
                      last edited by

                      Side note: If you are having problems with MMM-OpenWeatherForecast, make sure you are using Tom Hirschberger’s active fork. You can check this by running git remote -v in the module’s directory.

                      S 1 Reply Last reply Reply Quote 1
                      • S Offline
                        sdetweil @KristjanESPERANTO
                        last edited by

                        @KristjanESPERANTO @Como
                        rather than spend any time on this

                        rename your existing module out of the way and install
                        https://github.com/Tom-Hirschberger/MMM-OpenWeatherForecast

                        no config changes I don’t think… (maybe lat/lon for location/locationID)
                        Tom is very active in supporting his work…

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        S E 2 Replies Last reply Reply Quote 0
                        • S Offline
                          sdetweil @sdetweil
                          last edited by

                          @Como did you get this resolved?

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          C 1 Reply Last reply Reply Quote 0
                          • C Offline
                            Como @sdetweil
                            last edited by

                            @sdetweil life has been busy. Hopefully I can do it this weekend. I’ll report afterward.

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              jms3700 Project Sponsor
                              last edited by

                              I had to change the node_helper.js to call the right api moet in node_helper.js (3.0 instead of 2.5)
                              sudo nano node_helper.js

                                  //make request to OpenWeather One Call API
                              

                              // var url = “https://api.openweathermap.org/data/2.5/onecall?” +
                              var url = “https://api.openweathermap.org/data/3.0/onecall?” +

                              This solution works for me

                              S 1 Reply Last reply Reply Quote 0
                              • S Offline
                                sdetweil @jms3700
                                last edited by

                                @jms3700 never use sudo for MagicMirror things

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                J 1 Reply Last reply Reply Quote 0
                                • J Offline
                                  jms3700 Project Sponsor @sdetweil
                                  last edited by

                                  @sdetweil

                                  Hello Sam,

                                  Indeed, I was wrong to use sudo. Thanks for the reminder!

                                  Jean-Marie

                                  1 Reply Last reply Reply Quote 0
                                  • S sdetweil has marked this topic as solved on
                                  • zdenekZ Offline
                                    zdenek
                                    last edited by

                                    Hi all
                                    maybe I’ve missed something, but did someone find the solution? If so, can describe setp-by-step how to do it?

                                    thanks

                                    S 1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      sdetweil @zdenek
                                      last edited by

                                      @zdenek see https://forum.magicmirror.builders/post/121026

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      1 Reply Last reply Reply Quote 1
                                      • E Offline
                                        el_georgie @sdetweil
                                        last edited by

                                        @sdetweil I tried that and the module just keep loading…I even tried the default weather and other modules and same, keeps loading. I was using it for years and no issue. Perhaps something with the API?

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          sdetweil @el_georgie
                                          last edited by

                                          @el_georgie did you get a new api key?? 3.0 requires a credit card, only 3.0 available now

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          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
                                          • 2
                                          • 1 / 2
                                          • 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