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 40.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.
    • 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
                        • 1
                        • 2
                        • 3
                        • 4
                        • 3 / 4
                        • 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