Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Weather module forecast not working with openweathermap #1504
Is this change applicable, as this is a change in the API? I will open a PR, if this change is desired, the implementation should then be postponed to the next major release.
Have a nice day!
Thanks for your hint!
Just one more question: I can not make the forecast work, can you provide a working example or give me a hint, where my error might be? Thank you and have a nice day!
This is my code, it works with
The problem is that you need to specify another weatherendpoint for openweathermap forecast like
If is set the initial load delay to 30 seconds it is delayed by 30 seconds. Be aware of that you need to specify th timeframe in milliseconds like:
More informations here: https://github.com/MichMich/MagicMirror/tree/master/modules/default/weather#general-options
Thanks for your help, still does not work. I dug into the code and found the following:
Excerpt of a single set of data in the .json-file from openweather weather forecast (at least for me) looks like this:
Thus, this part needs to be changed
Another issue with the data is, they are provided in a set for three hours. I will make a PR with the adjusted code.
referenced this issue
Jan 4, 2019
thanks so much, I will have to configure my setup to the develop branch one day to assist in testing this new stuff. Here's a snip of 1 day of my forecast. It's contained inside a