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

[Suggestion] Report different weather #35

Open
adem4ik opened this issue Jul 15, 2021 · 3 comments
Open

[Suggestion] Report different weather #35

adem4ik opened this issue Jul 15, 2021 · 3 comments

Comments

@adem4ik
Copy link
Contributor

adem4ik commented Jul 15, 2021

Since the end of the spring TrayWeather shows me incorrect weather sometimes, and I usually report it via https://openweathermap.org/ site.
image

I think that would be quite useful to have a menu entry like «Report different weather» in TW. That entry should redirect to the weather provider site - https://openweathermap.org/
image

@FelixdelasPozas
Copy link
Owner

FelixdelasPozas commented Jul 15, 2021

Hi.

Since the end of the spring TrayWeather shows me incorrect weather sometimes (...)

If the weather is incorrect or just different to what the web shows its because a miss in geo-location. OpenWeatherMap uses latitude and longitude in the data request and if the geo-location is incorrect it will show the weather from an incorrect location. I added the "Use DNS" option in the configuration dialog because one time the geo-location was reporting that I was in another city (about 400 km away) maybe because my ISP was re-routing all traffic and giving IPs from that other city. Using the DNS IP for geo-location may correct that.

Another option is to locate where you are (in maps.google.es for example, using "show my location") and get the longitude and latitude (appears in the web address after you use "show my location") and use that information in the configuration dialog (and not use automatic geo-location). OpenWeatherMap should return the weather data from the closest weather station.

In the screenshot you show I get that TrayWeather and OpenWeatherMap are reporting 23º, but the correct temperature is 27º? Is that correct?

Try the "Use DNS" option or use the longitude and latitude from Google maps.

I think that would be quite useful to have a menu entry like «Report different weather» in TW. That entry should redirect to the weather provider site - https://openweathermap.org/

About adding a link to OpenWeatherMap, that would be easy but I think that will invalidate the purpose of the application, as the reason I made TrayWeather is precisely to have that weather information and forecast one-click-away instead of going to the web. If TrayWeather is correctly configured and the geo-location reports your location accurately you shouldn't need to do it.

I will leave the issue open if someone wants to discuss it, but for now I think a link to the weather provider is not necessary, only in the "About" and "Configuration" dialogs, but not in the menu.

Regards,
Félix.

@adem4ik
Copy link
Contributor Author

adem4ik commented Jul 19, 2021

I don't think it was a miss in geolocation. As screenshot shows both TrayWeather and OpenWeather had the same temperature value - 23º. But other weather provider (actually many of them) had different value - about 27º. So the problem comes from OpenWeather data, not from TrayWeather configuration nor anything alse. And that's why I suggest such feature.

@FelixdelasPozas
Copy link
Owner

Recently I've seen this, a list of public weather api. Maybe with a little time I can implement an alternative to OpenWeatherMap, also free. I must look at it. If the failure is in OpenWeatherMap data, that is something I cannot correct.

Regards,
Félix.

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

No branches or pull requests

2 participants