Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If Location is set manually (using Zip code) then "See Full Weather" doesn't work #58

Closed
luckman212 opened this issue Dec 27, 2021 · 2 comments

Comments

@luckman212
Copy link

I noticed that if I configure DatWeatherDoe with my zipcode e.g. 10021,us then it successfully retreives the conditions for the menubar, but choosing See Full Weather results in a browser URL of https://openweathermap.org/city/0 which is invalid.

I don't really see anything in the openweather API to map zip codes to city IDs or names, so maybe in lieu of that, adding a config field for manually inputting cityId and then using that here would be a workaround?

@inderdhir
Copy link
Owner

It appears that the OpenWeatherMap API returns a city code of 0 every time we get current weather data using zip code. I have filed a support ticket with them. I will post an update here if and when I hear back from them.

@inderdhir
Copy link
Owner

Closing this for now as this is a limitation of the OpenWeatherMap API and I haven't heard from them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants