I’ve just pushed an update to better support the new and old Open Weather API keys.
This introduces a new ‘API Preference’ option which allows you to choose from:
- 2-5multi - the new default as it’s the most compatible with old and new API keys
- 2-5onecall - if you have an old OpenWeather API key, this gets you 2 more days of forecast
- 3-0onecall - if you’ve explicitly subscribed to the ‘One Call by Call’ subscription plan in Open Weather, this gets you 2 more days of forecast
You can use the steps here to update to the latest code to get the new API Preference option.
There’s also a significant difference in the current day’s High/Low value between multi
and onecall
API preferences. For the onecall
API, it’s the low and high for the day… whereas with the multi
it’s the regional high/low for that point in time. I’m tempted to drop the H/L value from the current day when not using the ‘OneCall’ endpoint as I think the indicator could be confusing – thoughts?
If today’s high/low value is significant to you, feel free to sign up for the OneCall subscription and use that it includes a ‘daily’ forecast value which is otherwise unavailable on the free tier.
OneCall API top, Multi API bottom
Another minor difference is the forecast icons - since the multi
API Preference aggregates data from the ‘every 3 hour’ forecast, it picks the icon that occurs most often in the 3 hour forecasts for that day. I’m open to suggestions for alternative logic if someone has a better idea.