Skip to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

OpenWeatherMap with One Call API 4.0

Featured Replies

Anyone having success using OpenWeatherApp plugin with OpenWeather One Call API 4.0. I see the release notes call for One Call 3.0 - but that service is no longer available. I set up an account 3 days ago and still receive the dreaded Query Failed: 401 Message. and yes, I read the information on 401 errors at the OpenWeahter site. Ihave valid license and the latest APIkey.

Any help would be appreciated - thank yoi

I believe that the One Call subscriptions are only valid for the specific API.

The plug-in is using the One Call 3.0 API and does work with a One Call 3.0 subscription. I just verified that. I would not expect a 4.0 API key to work with the 3.0 API given all the issues I've seen and the 401 response you are seeing matches that.

OpenWeatherMap has been a bit of pain for the past couple of years. I switched the plugin over to use the 3.0 API when they said the previous (2.5) API was going away. But it looks like you can still use the 2.5 API.

Now they have the 4.0 API which is incompatible with the 3.0 API which means I have no good options yet again.

If I leave the plugin alone and working with only the 3.0 API, anyone that gets a 4.0 subscriptions can't use it as it doesn't look like you can get a subscription to the 3.0 API anymore

If I switch the plugin to use the 4.0 API, all existing users setup will fail until they get a new subscription and key for the 4.0 API.

I'll have to give this some thought.

Hi @bpwwer ,

I enjoy using your plugins and am grateful you are willing to share your talents!

Is it not possible to have 2 plugins? OWM-3.0 and OWM-4.0?

I remember you did something similar to two different Davis Weatherlinks a while back (I had an older version).

Thanks,

Ross

I'm looking at making the API version a configuration option.

Two versions would be another option, but it has some disadvantages as it could result in someone having to buy both. There's also a good chance that they'll change things again given that they've now changed API's about every 2 years since I wrote the plugin.

I used my existing account (that has a 3.0 subscription) to subscribe to the 4.0 API. Even though both subscriptions are active, apparently I can now only generate API keys for 4.0.

And the really nice thing about their API keys is that you have no way of knowing what key is for what version unless you put something in the name of the key. Sorry, I'm only a little frustrated with OpenWeatherMaps.

  • Author

FYII The Weather App is now working and recording data. And (as I originally posted) I am using Call 4.0. Just took several days for the subscription and key to mesh.

SO - Call 4.0 is compatible with the current version of the plugin. so - great!

Thank for information

So maybe the API keys are compatible? That certainly wasn't the case in the past when they updated the API.

The plugin (current version) is not making calls to the 4.0 API, it's simply able to use the API key you generated with the 3.0 API calls.

I had assumed that wouldn't work (base on the previous update) so I didn't test that. I do have it partially working with a newly generated key and the 4.0 API.

Thanks for the update!

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.