Read the statement by Michael Teeuw here.
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!
-
@sdetweil
Ah, it didn’t like units, but when I specified the Tempunits and Windunits, then it updated. -
@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
-
@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?
-
@Kelemvor which provider?
units, right?
-
@sdetweil Just the default provider.
config: { units: "imperial", weatherProvider: "openweathermap", type: "current",
-
@sdetweil
Ah, it didn’t like units, but when I specified the Tempunits and Windunits, then it updated. -
@Kelemvor good find!!