@theDaithiMac: I apologize that I somehow missed your posting here for so long. That is really unacceptable on my part. Please see below.
All UK Met Office Users
All, please do not use the migrated UK Met Office API yet if possible. While I am working on it and it is possible to add your API Key into the code there are some issues I am reaching out to Hubitat about (first and foremost that device Preference fields appear to have a 255 character limit and the API Key I got is >1600).
That said... if you cannot wait and really need this... Here is a link to a... let's call it "Alpha" version that will replace the driver on your system. I am NOT going to replace the main published version at this time with it until this can be worked out better than having you hard code your API Key into the driver (as is currently necessary). The instructions you need to follow are:
- Open the driver code on your Hubitat (Drivers Code - WSM4Hubitat).
- Go to line 404 within the driver code window.
- Replace the ENTER_UK_API_KEY_HERE with the API Key you have for your Met Office account.
- Save the drivers code.
- Go to the device.
- Make sure the "Service to Query" Preference is set to "United Kingdom Met Office" (if you change it, you should Save Preferences).
This should now allow it to query the new API. The received data structure has not appeared to have changed, it worked just fine on my system (faking my location as being in Uxbridge).
I apologize for the hassle here. I am trying to figure out a method to make the driver work properly and be convenient again before I replace the main version.