Read the statement by Michael Teeuw here.
Problem with Weather forecast
-
@Sp4M said in Problem with Weather forecast:
how could it be a problem of MM version
Well, I just moved to the develop branch, and although the unauthorized appid error is gone, weatherforecast still won’t work, and a new error is reported. The module simply stays on “Loading . . .”
-
@Mykle1 I dont know about rhis module, but youd better to see
scale
field in config. I guess it is missed or invalid. -
@Mykle1 I read dev codes now,
scale
is not documented yet.(and it has also defined wrongly in defaults.)
Maybescale:"c"
orscale:"f"
may work. -
Same personal problem.
Mm2 does not display the Weatherforecast on the screen. -
There’s a problem with Openweather’s api not accepting certain api keys. In the meantime, you could try another weather module. There are many.
Scroll down to the weather category
https://github.com/MichMich/MagicMirror/wiki/MagicMirror²-Modules#3rd-party-modules
-
Well… Yesterday I submitted a patch to hack the situation with the new accounts in OpenWeather.
If you can test it will be great!
https://github.com/roramirez/MagicMirror/commit/e8438d37d78acc7a9e29e694a6987ce068324bcd -
Hi Roramirez, brother, it worked! but the day of the week, which should show “Monday” “Tuesday” “Wednesday” … shows everyone how “Sunday” to solve?
Thank you so much… -
@roramirez
Hello Ramirez, I had the same problem. But with your patch I can see the weatherforeast now
Thanks Frank -
Hello, I have exactly the same problem and I am trying to use your patch Ramirez. However, I am coming from the “mechanical world” and I’m new to Linux and GitHub. Could any of you write me how to apply such a patch?
-
@Azrael said in Problem with Weather forecast:
Could any of you write me how to apply such a patch?
You have to edit your weatherforecast.js file. Go to the link for the fix. The line you see highlighted in RED has to be removed (or commented out) of your weatherforecast.js file. The lines you see highlighted in GREEN have to be added in your weatherforecast.js file. The line numbers on the left make it easy for you to find exactly where the edits belong.