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

Weather unreliable / weather without location service #179

Closed
maskyad opened this issue Sep 11, 2018 · 26 comments
Closed

Weather unreliable / weather without location service #179

maskyad opened this issue Sep 11, 2018 · 26 comments
Labels
pro feature An enhancement that is only available in the Pro version

Comments

@maskyad
Copy link

maskyad commented Sep 11, 2018

I hope the weather app could work without the location activate. Something like "favourite list is places" and u choose one for show the weather.

@8bitPit
Copy link
Owner

8bitPit commented Sep 11, 2018

I am using Google's Awareness API and it doesn't let you choose a manual location. I would have to use another weather provider for that, so it's not that easy.

@jakcharvat
Copy link
Collaborator

Wouldn't it be possible to somehow trick awareness API into thinking you're here/there? Or would that require mock location access?

@Scorpionk1
Copy link

Dark Sky fornece uma API gratuitamente.

@jakcharvat
Copy link
Collaborator

@Scorpionk1 Sorry, I am Czech, the developer is German, the common language is English. Please stick to that

@Scorpionk1
Copy link

Dark Sky has free APIs. I do not know if you can disable the location.

@Shinra04
Copy link

Is there any way to fix your location to a place, requiring you to only temporarily switch on location when you're going to a different place. It would be a neat fix, as I too don't like leaving my location on.

@8bitPit
Copy link
Owner

8bitPit commented Sep 15, 2018

@Scorpionk1 it's not completely free:
The first 1,000 API requests you make every day are free of charge.
Every API request over the free daily limit costs $0.0001.

@8bitPit
Copy link
Owner

8bitPit commented Sep 15, 2018

@Shinra04 that's not possible with Google Awareness, sry

@8bitPit 8bitPit added low priority Unlikely to be implemented in the near future options labels Sep 15, 2018
@Nik-Sch
Copy link

Nik-Sch commented Oct 8, 2018

So, I don't really know whether this is helpful or not. My i3bar uses "the" yahoo weather api and this works with no problems and also without any api key; at least as far as I can tell. It just requires a woeid (where on earth identifier) and then calls this url: https://query.yahooapis.com/v1/public/yql?q=select * from weather.forecast where woeid="26821871" and u="C"&format=json&env=store://datatables.org/alltableswithkeys (here woeid is set to Berlin, Germany).
If you want to look further into the code, here is the github link: github:ultrabug/py3status.

However, my problem is that I couldn't quickly find any decent documentation on Yahoos website about this and I am kind of bothered by the env=store://datatables.org/alltableswithkeys thingy at the end of the url as it suggests being a pirated keystore or something?!
Just wanted to share this with you, in case this is a good alternative to the google awareness api :)

@8bitPit
Copy link
Owner

8bitPit commented Oct 9, 2018

Thanks @Nik-Sch. Unfortunately Yahoo will shut down the service, they wrote:

The weather.yahooapis.com and fallback endpoints are being retired. We will no longer be providing free Weather API services for public users.
Please contact yahoo-weather-ydn-api@oath.com if you have any questions, comments, or interest in supported paid services.

(source)

@8bitPit 8bitPit mentioned this issue Nov 16, 2018
@Rod911 Rod911 mentioned this issue Nov 17, 2018
@deadcombo
Copy link

You can always use OpenWeatherMap, for example.

@8bitPit
Copy link
Owner

8bitPit commented Dec 11, 2018

@deadcombo OpenWeatherMap is not free, unless you have less than 60 calls per minute: https://openweathermap.org/price Unfortunately that's not enough for Niagara, it would cost 40$/month

@ghost
Copy link

ghost commented Jan 16, 2019

And when it is not showing whether information on the home screen with telling me the information is "currently unreliable" in the setting, it keep requesting the location information.
Sticking to a place is needed, and I want to see the weather information no matter it's reliable or not. Because when it disappears, I feel like I paid for something but didn't get anything back…

@DoggoOfSpeed
Copy link

DoggoOfSpeed commented Jan 16, 2019

Is it not possible to fetch the info from a preinstalled weather app? Most phones have some sort of a weather map preinstalled.

@8bitPit
Copy link
Owner

8bitPit commented Jan 16, 2019

@Vv2233Bb It's not possible by default, those apps would have to provide an API, so Niagara can request/receive data.

@8bitPit
Copy link
Owner

8bitPit commented Jan 16, 2019

@CircleYuanX If the launcher has weather data, it will show it to you, whether it's reliable or not.

@DoggoOfSpeed
Copy link

@8bitPit what about widgets?

@8bitPit
Copy link
Owner

8bitPit commented Jan 17, 2019

@Vv2233Bb yeah, that would work. Widget support is planned: #117

@8bitPit 8bitPit pinned this issue Feb 24, 2019
@8bitPit 8bitPit added pro feature An enhancement that is only available in the Pro version and removed enhancement labels Mar 6, 2019
@8bitPit 8bitPit removed low priority Unlikely to be implemented in the near future problematic labels Mar 6, 2019
@8bitPit 8bitPit changed the title Weather support without location ativation Weather unreliable /without location service Apr 12, 2019
@8bitPit 8bitPit changed the title Weather unreliable /without location service Weather unreliable / weather without location service Apr 16, 2019
@sauces1313
Copy link

A suggestion: if you could classify weather apps like you have music players (I think) for the favorites/home screen persistent notification, everyone could just continue using whatever weather app they have, basically all of them have persistent notifications. On-screen location would be virtually the same also.

@OceTech
Copy link

OceTech commented Apr 20, 2019

Weather works great in my location.

@debdipta-h
Copy link

Weather working great in my location. Thanks a lot for this awesome launcher @8bitPit.

@8bitPit
Copy link
Owner

8bitPit commented Jun 18, 2019

@debdipta-h Great to hear that it's working, thank you :)

@8bitPit
Copy link
Owner

8bitPit commented Sep 2, 2019

Some of you suggest to let the user provide his own API key, but personally I'm against it because of two reasons:

  1. My goal with Niagara is to create a very simple and clean launcher. Providing weather data without having the user to go through to the hassle of setting up an account and generating an id is way easier.

  2. An API key is a unique identifier to track how many calls a service, e.g. an app already has requested. Having the user generate her own id is a shady practice, because as a result one app would have multiple API keys to circumvent the free calls limit deliberately. Dark Sky’s terms of service for example, explicitly mentions and prohibits this “hack”.

@8bitPit
Copy link
Owner

8bitPit commented Oct 31, 2019

See #1016

@8bitPit 8bitPit closed this as completed Oct 31, 2019
@8bitPit 8bitPit unpinned this issue Jan 21, 2020
@adguardgirl
Copy link

Would it be possible to implement weather through the name of the city you are located in? For example some launchers allow you to enter the city name (and postal code if needed).

@8bitPit
Copy link
Owner

8bitPit commented Jan 30, 2021

Hey @adguardgirl, sure! You can already type in your city when choosing the location for weather forecast.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pro feature An enhancement that is only available in the Pro version
Projects
None yet
Development

No branches or pull requests