Read the statement by Michael Teeuw here.
Weather just won't show up...
-
Hi, sorry for getting back to you so late…
@sdetweil said in Weather just won't show up...:
@Stef >
That one is not showing up…
what dies that mean? ctrl-shift-i on the mirror keyboard , select the tab labeled ‘console’ and scroll up to see any errors,
usually red textAlright, i does not work on mobile… i am on my computer right now, in a vnc sessions on my pi and it worked!
Sadly, i got a bunch of errors… all stating the same thing
GET https://api.openweathermap.org/data/2.5/weather?id=2485160&units=metric&lang=en&APPID=%myappid% 404 (Not Found) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 currentweather.js:339 currentweather: Could not load weather. weatherRequest.onreadystatechange @ currentweather.js:339 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343 XMLHttpRequest.send (async) updateWeather @ currentweather.js:347 (anonymous) @ currentweather.js:515 setTimeout (async) scheduleUpdate @ currentweather.js:514 weatherRequest.onreadystatechange @ currentweather.js:343
If i try to resolve the url on my browser i get:
{"cod":"404","message":"city not found"}
Which is odd…
the wrong config means you didn’t put the right stuff in config.js
What do you mean by that? i did replaced “new york” with “rosbach”…
-
Ok… now i am confused as sh**…
I don’t get it…
First of all, it is working! The current weather is showing and the forecast (only for 2 days sadly).I went to the openweathermap site and searched for “Rosbach”.
I found it and copied the number from the url (2845162) and used it in both moudles.So far so good.
What i don’t understand is the value “location” in the module… I entered Rosbach and it was still displaying New York - i get it now, that i was still using the wrong location id (i am so sorry about that! i did not see that mistake!!) - but if the “location name” is coming from the website, why is there a value called “location”?? -
@Stef the doc https://docs.magicmirror.builders/modules/currentweather.html#configuration-options
says location or location id
location, city name is not enough -
@Stef weather for 2 days, see the post pinned to the top of the troubleshooting section about fixes available for version 2.12
-
I feel like fool…
I misred that… sorry…