@sdetweil as long as it keeps working with 2.5, I’ll keep it. Once it won’t work, I’ll subscribe for 3.0.
Read the statement by Michael Teeuw here.
Latest posts made by canlio
-
RE: Weather module does not load
-
RE: Weather module does not load
@sdetweil that’s really weird, as I have proof it’s working.
-
RE: Weather module does not load
@sdetweil thanks a lot for your reply!
I can see in the console log:
GET https://api.openweathermap.org/data/3.0/forecast?id=2516479&units=metric&lang=de&APPID=%my_api_key_here%
Status code: 404 not found
When I call the URL with my browser I get
{"cod":"404","message":"Method not supported"}
AAH!
So, I see that the weather module does not call “2.5” per default, as written in the documentation, but it’s the 3.0 API being called, where the construct of the URL won’t help. So, I’ll addapiVersion:"2.5",
to my configuration of the weather module!
Once changed, it worked out!
Thanks a lot for that hint! I spent about 6 hours of my day on this without applying troubeshooting 101 by not looking in the browser console log … -
Weather module does not load
Hi,
I used to have a working environment with a working weather module. For a couple of weeks, the weather module shows only “loading …”.
During the startup I see the entry:
No helper found for module: weather.
but I did not see anywhere a missing file nor a config option for a helper file for weather.
I simplified my configuration to track down the issue, I was reading through threads and asked AI engines, but no luck at all. When calling
curl “https://api.openweathermap.org/data/2.5/weather?q=Berlin&appid=MY_API_KEY” I get a perfect result.The current simple configuration is like follows:
{ module: "weather", position: "top_right", config: { weatherProvider: "openweathermap", type: "current", location: "Berlin", apiKey: "xxxx" } }
Do you have any idea how I can debug the issue further down?
Thanks for your help!