openweather map, invalid api key ?
Same thing happen with accuweather. api is invalid ?!? should be network related ? i search for every log throught ssh / in front end configuration. Nothing related to this api call.
Temporarly, i setup an openweather request though node-red module and work like a charm.
I really dont understand what happened with this 2 modules since i have no log to eat :D
Any help to get some log ?
More on reddit.comOpenWeatherMap not accepting API keys
Openweathermap intergration invalid key
flutter - Invalid API Key in OpenWeatherMap (Error 401) - Stack Overflow
Videos
Hey,
I'm in trouble with openweathermap integration. Cant validate my api key against this integration in HA.
first, my api key seems valid, i can grab data with it with wget/http call in browser. (key was created 5 days ago)
I tried all i can modifiing input data in this form, change long/lat value, all mode : onecall_* etc.. i cleared my browser cache, restarted HA.
Cant get it to work, my api key still "invalid" for openweathermap integration. any help ?
Same thing happen with accuweather. api is invalid ?!? should be network related ? i search for every log throught ssh / in front end configuration. Nothing related to this api call.
Temporarly, i setup an openweather request though node-red module and work like a charm.
I really dont understand what happened with this 2 modules since i have no log to eat :D
Any help to get some log ?
I have the same issue. My key is over 12 hours old and still not working. Same error.
checkout Using OpenWeatherMap API gives 401 error here you will find some reasons why your apikey is not working. also, it takes 2 hours for key activation.
Might be a bit late to reply, but the URL you are using is no longer part of the free plan and that's why you get that error. Try using the following URL, it requires the user to input a city name and there is no need of using latitude and longitude.
https://api.openweathermap.org/data/2.5/weather?q=${*cityName*}&appid=${*API_key*}&units=metric
So, if you have a text field that takes the input for a city name, then the above fetch call would work.
Here cityName is the location entered by the user and API_key is the API key you are assigned. By having &units=metric, you will get the temperature in degree Celcius. If you want the temperature in Farenheit, use &units=imperial or if you want the temperature in Kelvin, just get rid of the &units=metric part.
So for example if you paste the following in your browser, you will get the weather in London.
api.openweathermap.org/data/2.5/weather?q=London&APPID=YOUR_API_KEY
Hope my first answer on this platform helps somebody.
How can i solve?
I tried to regenerate API Key but i obtain again the same issue. Thank you.