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

OpenWeatherMap only works on Hourly #114508

Open
b24home opened this issue Mar 31, 2024 · 13 comments
Open

OpenWeatherMap only works on Hourly #114508

b24home opened this issue Mar 31, 2024 · 13 comments

Comments

@b24home
Copy link

b24home commented Mar 31, 2024

The problem

Choosing any other option than 'hourly' causes the integration to fail.

What version of Home Assistant Core has the issue?

core-2024.3.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

OpenWeatherMap

Link to integration documentation on our website

https://www.home-assistant.io/integrations/openweathermap/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

Hey there @fabaff, @freekode, @nzapponi, mind taking a look at this issue as it has been labeled with an integration (openweathermap) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of openweathermap can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign openweathermap Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


openweathermap documentation
openweathermap source
(message by IssueLinks)

@bradlsi01
Copy link

I've just set this up and I'm getting the same results - I have signed up for a One Call API 3.0 subscription but only the "hourly" option works. The error appears to be "Invalid API Key", but if I call using the https://api.openweathermap.org/data/3.0/onecall method it returns data.
Is there any way I can see what is being sent?

@deryckhans
Copy link

FYI: I have the exact same problem.

@mzwanzi
Copy link

mzwanzi commented Apr 8, 2024

I have also the same problem, only hourly calls are working...

@hubmunkee
Copy link

What plan(s) show on the My Services page (https://home.openweathermap.org/myservices)? Does it show Free Plan or One Call API 3.0 or something else?

@mzwanzi
Copy link

mzwanzi commented Apr 9, 2024

in my case it shows the Free Plan, but in the Billing Plans menu i can see both - free plan & One Call API 3.0

@deryckhans
Copy link

Indeed, same here. Services page shows "free Plan", that must be the reason why the api key is giving an error, although the Onecall API 3.0 subscription is activated aswell.

image

image

@hubmunkee
Copy link

My "Services" section only shows "free Plan" as well, though my "Billing plans" section shows One Call API 3.0 Base Plan status as "activated." When I emailed tech support, here's the response I received:

Dear customer,

Thank you for reaching out. My name is Viacheslav. I will gladly assist with your request.

We wanted to inform you about a recent update regarding the display of your subscription within our platform.

Currently, your One Call 3.0 subscription information may not be visible in the "Services" section. However, we would like to assure you that it is now available in the "Billing Plans" section. You can locate it there, and it will be highlighted in green for easy identification.

If you encounter any difficulties or have further questions, please feel free to reach out to our support team.

Best regards,

Viacheslav Verbytskyi
Technical Support Specialist
OpenWeather
London, UK

Yes, I already told them it's available in the "billing plans" section on my initial inquiry. But I suspect the plan not showing in the "services" section may be why the "daily," "onecall_daily" and "onecall_hourly" options in the OpenWeatherMap integration of Home Assistant are failing (ONLY "hourly" works).

@amichaelwagner
Copy link

Looks like the same issue on my end as well!

@special-k-uk
Copy link

I'm also having the same issue. I've had the same support response as @hubmunkee , it must be a standard response as it's exactly the same.

I've also tested an api call using Postman, and full hourly and daily forecasts are returned

@arundalep
Copy link

I set up a "paid" OpenWeatherMap account recently and the API key only works with API 3.0 for hourly Onecall forecasts when tested with Postman.

I assume the integration is still using API 2.5.

@devopski
Copy link

devopski commented May 2, 2024

Same issue for me.
@fabaff @freekode @nzapponi Any ideas, plans to update integration for OneCall API 3.0?

@888Jay
Copy link

888Jay commented May 2, 2024

Same issue for me. @fabaff @freekode @nzapponi Any ideas, plans to update integration for OneCall API 3.0?

In progress. #116305

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