Read the statement by Michael Teeuw here.
one call api open weather
-
@sdetweil – Hi Sam. I guess maybe my central point got lost in transit - which is I just want[ed] to know from openweathermap.org whether they can tell me if the API key they issued last year (around the time it became apparent ver 2 would be deprecated) is a ver 3 or ver 2 key. FWIW, I did try one final time and explicitly asked only whether they can tell me the version of key I have. They did respond to the email, but did not address the question.
Yes, I’m sure you are correct and it probably is simple from their point of view. However, the issue is that they are [apparently] currently servicing both the old and the new APIs, so from the user’s side it is not possible to do what they and you are suggesting and just see if calling with the old key generates an error.
If I run my MagicMirror and the API that openweathermap.org issued me last year is the old API the module will still work, so there is no diagnostic value there. Yes, I do see that when the point in future time comes that they shut down responding to calls using the ver 2 API and only respond to ver 3 - then all our modules that are calling with ver 2 APis and modules using old endpoints will fail.
My goal was to get ahead of this and avoid having the modules fail, or in the alternative having to replace the API keys in every module in every MagicMIrror where it is used - just in case they issued me a ver 2 API key last year.
Thanks again to you and Krisjan for all the help and support!
-
@JohnGalt not lost… we don’t have the answer either.
I have an app I need to change too . and I just edited the source to change the api version from 2.5 to 3.0 and it worked just like before with the
api key that failed on MagicMirror… SO…"https://api.openweathermap.org/data/3.0/onecall?..."
note that this is using the onecall interface already
-
@sdetweil - Sam, I know you don’t have the answer either. I guess I was partly venting, and partly trying to be complete so that others who are having issues or questions can see that various of you and us have tried to work this through.
-
I’m trying to convert from MMM-OpenWeatherForecast to something else, but Openweather is confusing me with the API subscription.
at one point, it’s saying 1000 free, then others, it says every call is $.15 – what’s really going on and how to sign up the right way to get the free?
-
@BKeyport 1000 calls per day, no faster than 1.44 minutes between , then something extra over that.
I think the onecall api and key is the only thing. requires a credit card.
-
@sdetweil I understand that.
clicking that link sends me to a page that details out a payment plan of:
0-1 used
$0.15 per unit
2+ used
$0.15 per unit -
@BKeyport I click subscribe and see
per 100 calls 0.15 (0.0015/call × 100 calls)
-
I’m trying to convert from MMM-OpenWeatherForecast to something else, but Openweather is confusing me with the API subscription.
same situation here. I like the above module but I don’t want to subscribe to the new openweather api.
First alternative was the mm weather module because it has several providers so you can switch easily. But the design is so far away from MMM-OpenWeatherForecast …
So next approach was to use the data from mm weather for an own module with better UI.
Thats the current output:
It is still a beta version and not published yet.
Another approach could be to extend the mm weather module with configurable njk templates and the cool skycons (which can be animated) …