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

Changes with new openweathermap accounts #9

Open
drewsed opened this issue Dec 4, 2022 · 1 comment
Open

Changes with new openweathermap accounts #9

drewsed opened this issue Dec 4, 2022 · 1 comment

Comments

@drewsed
Copy link

drewsed commented Dec 4, 2022

Vers nice work, thanks for that. unfortunately my display is full of errors and weather is not properly displayed.

I found that

uri += "/data/2.5/onecall";

onecall is not free anymore with new accounts.
We need two requests now and only get the current weather and a 5d forecast with 3h timestamps.

uri += "/data/2.5/weather";
uri += "/data/2.5/forecast";

Do you consider an update on this?

@jdbaluch
Copy link

I was able to get this working by creating a OneCall 3.0 subscription. As long as you keep the requests under 1000 per day you won't incur any billing charges. I modified the uri in the data.h file to:

uri += "/data/3.0/onecall";

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