RingOV / gis-weather

Customizable weather widget
58 stars 18 forks source link

Using openweather. #42

Closed frankzen closed 4 years ago

frankzen commented 4 years ago

Configuration asks for city code, but there is no city code. You have to use geo co-ordinates but that is not clear in the instriuctions.

RingOV commented 4 years ago

If you open your city url, then you find city code

frankzen commented 4 years ago

Sorry I don't see any city code other than geo-cordinates. Screenshot at 2019-08-27 13-29-53 Screenshot at 2019-08-27 13-28-47

frankzen commented 4 years ago

Found the solution on the openweather site.

list of city IDs http://bulk.openweathermap.org/sample/city.list.json.gz

RingOV commented 4 years ago

https://openweathermap.org/city/5895650 Is it your city?

frankzen commented 4 years ago

Yes, I noticed the city number as part of the URL after I had gone through a lot of other stuff. including downloading the city list. Maybe I am dumb, but the city number is not in an obvious location. All in all a nice app, too bad there is not an option for the time/date or is that something I also missed.