Read the statement by Michael Teeuw here.
Weather module does not work (Please set the correct openweather appid in the...)
-
Hi,
I am a complete newbie to raspberry pi. I installed the MagicMirror and now I have problems with the weather module.When I start the MagicMirror I get the following error
Please set the correct openweather appid in the…
I have searched here in the forum, but I did not find a solution to my concrete problem.
The code in my config.js
module: 'currentweather', position: 'top_right', config: { location: 'New York', appid: '5128581' } }, { module: 'weatherforecast', position: 'top_right', header: 'Wettervorhersage', config: { location: 'New York', locationID: '5128581', //ID from http://www.openweathermap.org appid: '5128581' } },
Is it interesting, that I start the MagicMirror in Germany?
Thanks for helping me.
-
As the config file suggests you need to go to http://www.openweathermap.org and request an appid from there.
-
Thanks for your answer.
But I did it. In my example is the correct New York appid.
-
Not really.
There is a locationID to identify your location if you don’t use the location name field.
In addition you need an appid. Therefore you go to http://www.openweathermap.org, click on “Sign up” on the top and create an account. Afterwards you can generate a unique appid which should not be shown to anyone and is tight to your useraccount. -
Ah, ok! I misunderstood the logic of appid. Now it works!
Thanks for your help!