weather icon indicating copy to clipboard operation
weather copied to clipboard

Add auto location

Open trlef19 opened this issue 1 year ago • 5 comments

It would be nice if the location updated automatically based on my current location

trlef19 avatar Dec 29 '24 18:12 trlef19

This is not possible due to the open-meteo weather api limitation.

Some providers have a button to detect location: https://github.com/rocksdanister/weather/issues/45

But not worth implementing automatic detection right now since it wont work with the default open-meteo provider.

rocksdanister avatar Dec 29 '24 18:12 rocksdanister

okay then

trlef19 avatar Dec 29 '24 18:12 trlef19

Keep it open, I'll get to it when open-meteo adds support.

rocksdanister avatar Dec 29 '24 18:12 rocksdanister

I think it's not necessary to get the city name from Open-Meteo? To display the city name you can probably use Nominatim (Open Street Maps).

AkazaRenn avatar Sep 12 '25 19:09 AkazaRenn

One reason I didn't do that is because open-meteo provides weather based on the closest available location to the coordinates and that may not be what open street maps provides.

rocksdanister avatar Sep 12 '25 20:09 rocksdanister