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

Weather module doesn't load

Scheduled Pinned Locked Moved Solved Troubleshooting
11 Posts 4 Posters 894 Views 4 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.
  • K Offline
    Kelemvor
    last edited by Dec 2, 2023, 5:09 AM

    Hi,

    Just playing with MM for the first time. The starter page works, but the Weather doesn’t load. I looked in the config and it looks like I might have to provide an API key? Is that right? I went to the OpenWeather website and it looks like their API is free for a certain amount of usage, but I have to give payment information, so I’m not going to do that.

    Am I understanding that right? Is there a way to use this without having to provide payment info? Or is there a different module to use that is truly free? All I want is the current temp and the forecast for a week or so. Nothing fancy.

    Thanks!

    S A 2 Replies Last reply Dec 2, 2023, 11:06 AM Reply Quote 0
    • K Offline
      Kelemvor @sdetweil
      last edited by Dec 2, 2023, 11:01 PM

      @sdetweil
      Ah, it didn’t like units, but when I specified the Tempunits and Windunits, then it updated.

      S 1 Reply Last reply Dec 2, 2023, 11:35 PM Reply Quote 1
      • S Offline
        sdetweil @Kelemvor
        last edited by Dec 2, 2023, 11:06 AM

        @Kelemvor yes, sadly all the providers are moving to paid access.

        not all providers cover the world, so that’s an issue too.

        you might try the pirateweather provider, which replaced darksky

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        K 1 Reply Last reply Dec 2, 2023, 10:24 PM Reply Quote 0
        • K Offline
          Kelemvor @sdetweil
          last edited by Dec 2, 2023, 10:24 PM

          @sdetweil Well, I did end up finding a different sign-up page to get an API. After putting that in, and letting it sit for a bit, the weather info did start to show up. However, it’s in Celsius and I prefer Fahrenheit. I checked the specs and it looks like I should be able to put units: “imperial” to get it to switch. I tried it in both the config.js and the weather.js, but it didn’t seem to work. It’s still showing me the info in Celsius.

          Did I miss something with how to swap from one to the other?

          S 1 Reply Last reply Dec 2, 2023, 10:50 PM Reply Quote 0
          • S Offline
            sdetweil @Kelemvor
            last edited by sdetweil Dec 2, 2023, 10:52 PM Dec 2, 2023, 10:50 PM

            @Kelemvor which provider?

            units, right?

            Screenshot_20231202_165201_Chrome.jpg

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            K 2 Replies Last reply Dec 2, 2023, 10:59 PM Reply Quote 0
            • K Offline
              Kelemvor @sdetweil
              last edited by Dec 2, 2023, 10:59 PM

              @sdetweil Just the default provider.

              		config: {
              			units: "imperial",
              			weatherProvider: "openweathermap",
              			type: "current",
              
              1 Reply Last reply Reply Quote 0
              • K Offline
                Kelemvor @sdetweil
                last edited by Dec 2, 2023, 11:01 PM

                @sdetweil
                Ah, it didn’t like units, but when I specified the Tempunits and Windunits, then it updated.

                S 1 Reply Last reply Dec 2, 2023, 11:35 PM Reply Quote 1
                • S Offline
                  sdetweil @Kelemvor
                  last edited by Dec 2, 2023, 11:35 PM

                  @Kelemvor good find!!

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    Alannow @Kelemvor
                    last edited by Mar 28, 2025, 1:33 PM

                    @Kelemvor said in Weather module doesn't load:

                    Hi,

                    Just playing with MM for the first time. The starter page works, but the Weather doesn’t load. I looked in the config and it looks like I might have to provide an API key? Is that right? I went to the OpenWeather website and it looks like their API is free for a certain amount of usage, but I have to give payment information, so I’m not going to do that.

                    Am I understanding that right? Is there a way to use this without having to provide payment info? Or is there a different module to use that is truly free? All I want is the current temp and the forecast for a week or so. Nothing fancy.

                    Thanks!

                    By the way, this made me think about how payments shouldn’t be a hassle, whether it’s for APIs, subscriptions, or online purchases. That’s why platforms like PayKassma are such a game-changer. They offer a seamless, secure, and flexible payment solution for businesses worldwide, making transactions simple without unnecessary roadblocks. If you’re curious, here’s a cool read about how modern payment systems work: https://paykassma.com/blog/payments/what-is-upi-id-and-how-to-create-upi-id. Might save you, and a lot of us, from future headaches with unexpected payment issues!

                    Oh man, I totally get where you’re coming from! I remember setting up MM for the first time and running into the same issue with the weather module. It’s kind of annoying when something is advertised as free but still asks for payment details, right? I ended up going down a rabbit hole looking for alternatives and finally found a workaround with another provider that didn’t require a card. Hope you get it sorted out—once it’s up and running, it’s a great feature to have!

                    S 1 Reply Last reply Mar 28, 2025, 1:39 PM Reply Quote 0
                    • S Offline
                      sdetweil @Alannow
                      last edited by Mar 28, 2025, 1:39 PM

                      @Alannow its not something we have control of… providers are all going to firewalled content of some type, particularly as the traffic costs grow…

                      anyhow, in the next release we have switched to a provider that doesn’t require an api key (yet) as the default…

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      K 1 Reply Last reply Mar 28, 2025, 7:03 PM Reply Quote 0
                      • K Offline
                        karsten13 @sdetweil
                        last edited by Mar 28, 2025, 7:03 PM

                        @sdetweil

                        this was already done with release v2.28.0 (openmeteo as default weather provider in config.js.sample)

                        S 1 Reply Last reply Mar 28, 2025, 7:57 PM Reply Quote 0
                        • 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