I have an openweather account and have selected one call apu 3.0. All went well and I now have both a default api key on my account plus one I created for Homeassistant.
I realise the suggestion is it takes up to 2 hours for the api key to be available in HA.
However, 12 hours on, when I add the openweathermap integration in HA, and enter either of the api keys I mentioned above (not changing the name or lat/long values - the default name is OpenWeatherMap), I always get Invalid API Key.
Update: if I run the suggested full api call outside of HA, it works. The format for that is
Quick check which one you are using? I remember there being issues (which may have been fixed) if you tried to use One Call hourly, but One Call daily should work.
I have exactly the same problem. API is valid when I make the call directly (as per the OP) but not through Home Assistant. Would love to know how to solve.
Add me to the list of the frustrated and confused too…
Created an account (at OpenWeather) generated an API. wait over night, copied API.
tried to add a new OpenWeather integration in HA. Copy and paste the API and HA responds with an “empty” dialog box that just says “Open Weather Map” with no message and the only option is “close”
Click close and nothing happens, no integration, no logs, nothing. Tried with every polling “mode”
Looks like for Home Assistant OpenWeather is Closed…
There was a note in the changelog for 2022.09.1 that would seem to indicate that this is fixed. I haven’t been having the problem (I have an older API key that seems to work fine), but if you’re having this issue you might want to upgrade to 2022.09.1 and see if that helps.
It might be worth submitting a Github issue for that then. I’m kind of shooting in the dark here because my older API key seems to mean I can still use some of the older calls, so this has never been broken for me.
Same here, same problem, same setup. New API 3.0 key will become invalid in HomeAssistand after a few hours. Wors great outside HomeAssistant, so it’s not an OpenWeatherMap problem. Would be great to see a fix as OpenWeathermap is a nice choice. Any updates from anyone following this?
FWIW: I signed up and my key was active immediately.
Still I couldn’t finish the configuration of this integration, tried all 4 interval options.
It was only after when I signed out of the account in my browser that I succeeded.
Has anyone else had trouble with the API key being invalid? I registered a week ago and it still does not work. Login/logout, all the tricks mentioned in this thread have not helped. Curious if this is just me or larger?