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 not loading and no error showing.

    Scheduled Pinned Locked Moved Troubleshooting
    31 Posts 9 Posters 42.7k 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.
    • yawnsY Offline
      yawns Moderator @Preve
      last edited by

      @Preve said in Default Weather module not loading and no error showing.:

      @broberg But when the API-key is wrong or maybe too soon used, wouldn’t you get any kind of loading error? In my case there was nothing showing on my screen.

      Yes, it does show this alert. As I said … Press F12, change to console and look for errors. I removed one character in my appid, and this is what happens:

      0_1489738672860_incorrect appid.png

      P 1 Reply Last reply Reply Quote 0
      • P Offline
        Preve @yawns
        last edited by

        @yawns Finally found a way to get in the browser. I’m quite happy with the new weather module. So I stop this thread and mark it as solved in some kind of.
        Thank you all for all efforts.
        Now the search begins to have a good MP3/radio station player. I would like to build in some speakers I have in my garage and give them a new function in this project.

        G 1 Reply Last reply Reply Quote 0
        • P Offline
          Pran
          last edited by

          Hi,
          I am having the same problem right now. I was previously using the default weather module and it was working perfectly fine. However, due to some reasons, I had to uninstall everything on my Pi and start working with a fresh install of OS to everything else.
          I installed MM2 again, made necessary changes in config but somehow the weather module is not showing up.
          I even tried looking at logs but there is no error there. Even in the browser console.
          It would be really appreciated if someone could help me with this.

          1 Reply Last reply Reply Quote 0
          • G Offline
            gznoble @Preve
            last edited by

            @Preve Could you post the solution you found?

            Mykle1M 1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @gznoble
              last edited by

              @gznoble said in Default Weather module not loading and no error showing.:

              Could you post the solution you found?

              Your default weather is not working? Post your config entry for weather here using this guide. We’ll try to get you sorted.

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • B Offline
                BlackTalon
                last edited by BlackTalon

                My config for weatherforecast is not working. The odd thing is that current weather is. I can not see the console with F12. I thought this was a keyboard config issue but I have tried several settings and F12 is not bringing up the console.

                My config for weatherforecast is

                B 1 Reply Last reply Reply Quote 0
                • B Offline
                  BlackTalon @BlackTalon
                  last edited by

                  This post is deleted!
                  Mykle1M 1 Reply Last reply Reply Quote 0
                  • B Offline
                    BlackTalon
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      BlackTalon
                      last edited by

                      {
                      module: "weatherforecast",
                      position: "top_center",
                      header: "Weather Forecast",
                      config: {
                      location: "Saint Peters",
                      locationID: "4407237", //ID from http://www.openweathermap.org/help/city_list.txt
                      appid: "################################"
                      }
                      },

                      1 Reply Last reply Reply Quote 0
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @BlackTalon
                        last edited by

                        @BlackTalon

                        It’s not your config that is the problem.

                        Here is a quote from MichMich just this morning from a similar topic.

                        “It seems new API keys from open weather no longer are allowed to request the forecast. We are looking into a solution.”

                        So, for now, you can disable the forecast module. Also, you could try another weather module that IS working. There are quite a few under the Weather heading here.
                        https://github.com/MichMich/MagicMirror/wiki/MagicMirror²-Modules#3rd-party-modules

                        Create a working config
                        How to add modules

                        1 Reply Last reply Reply Quote 0
                        • B Offline
                          BlackTalon
                          last edited by

                          Thank You for your quick response. This was really bugging me that one worked but not the other.

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            muaystan
                            last edited by

                            I know this is old but…my weather wasnt loading. I was trying to use the “forecast” option. Figured out (despite what @Mykle1 said above) that it does work with API keys but I needed to changed weatherEndpoint: in the weather.js file

                                            apiKey: "YOUR-API-KEY",
                                            apiSecret: "",
                                            apiVersion: "2.5",
                                            apiBase: "https://api.openweathermap.org/data/", // TODO: this should not be part of the weather.js $
                                            weatherEndpoint: "/forecast",
                            

                            I had it set to forecast in the config/config.js (below) but that wasnt enough. After I changed the weatherEndpoint, it worked. The

                                            {
                                                    module: "weather",
                                                    position: "bottom_right",
                                                    config: {
                                                            type: "forecast"
                                                    }
                                            },
                            
                            

                            Hope this helps someone.
                            ddc1edca-508f-483c-840f-9b12c4ac13a6-image.png

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