Cheers Vince
I did read the readme file, but it wasn't clear (to me)  if the installer 
would insert the new section to which I should add the new API key  or I 
had to replace the original UKMO section with the new one and add the API 
key.
 I'll give it a try and see how it goes 
Regards
Jimi

On Saturday, 18 October 2025 at 17:45:01 UTC+1 vince wrote:

> Updating skins/extensions does not tend to modify a pre-existing 
> weewx.conf configuration section for that item.  You probably need to do a 
> little hand editing per the readme file at 
> https://github.com/chaunceygardiner/weewx-forecast 
>
>
> On Saturday, October 18, 2025 at 9:25:58 AM UTC-7 Jimi Lawson wrote:
>
>> I'm struggling to upgrade weewx-forecast from V3.4.0 to  V4.0  on weewx  
>> 4.10.2 (Rpi 3B) . 
>> It appears to install OK
>>
>> "sudo wee_extension --install /etc/weewx/scripts/weewx-forecast-4.0.zip
>> Request to install '/etc/weewx/scripts/weewx-forecast-4.0.zip'
>> Extracting from zip archive /etc/weewx/scripts/weewx-forecast-4.0.zip
>> Saving installer file to /usr/share/weewx/user/installer/forecast
>> Saved configuration dictionary. Backup copy at 
>> /etc/weewx/weewx.conf.20251018155320
>> Finished installing extension '/etc/weewx/scripts/weewx-forecast-4.0.zip'
>>
>> A  backup weewx.conf + a new version is created in etc/weewx, but the new 
>> version is the same as the backed up one, ie the UKMO section is still the 
>> one for datapoint not the new one for datahub. 
>>
>> I'm no doubt doing/missing something obvious, but it's been that long 
>> since I've had to mess with the installation that anything I did know has 
>> been relegated to some obscure corner of my mind. Any help/pointers would 
>> be greatly appreciated 
>> Regards
>> Jimi
>>
>> On Friday, 17 October 2025 at 13:25:44 UTC+1 [email protected] wrote:
>>
>>> No Issue just a comment
>>>
>>> On Wednesday, October 15, 2025 at 4:27:33 PM UTC+1 John Kline wrote:
>>>
>>>> Of course, not all API keys are this long.  I take it you have an issue 
>>>> with the length?
>>>>
>>>> On Oct 15, 2025, at 8:07 AM, [email protected] <[email protected]> 
>>>> wrote:
>>>>
>>>> Thanks John
>>>>
>>>> Are all api_keys this length or is it just UKMO ?
>>>>
>>>> On Wednesday, October 15, 2025 at 1:57:07 AM UTC+1 John Smith wrote:
>>>>
>>>>> How good is their global forecast model?
>>>>>
>>>>> On Wed, 15 Oct 2025 at 10:50, 'John Kline' via weewx-user <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Hi Phil,
>>>>>>
>>>>>> I just pushed an v4.0 update to weewx-forecast that adds support for 
>>>>>> UK Met Office Datahub forecasts.
>>>>>>
>>>>>> You’ll need to sign up for a Global Spot API key.  It’s in the Site 
>>>>>> Specific section.  The free plan should work for you as 360 is plenty of 
>>>>>> calls.
>>>>>>
>>>>>> Global Spot        Free plan should- 360 calls/day
>>>>>>
>>>>>> The location parameter in the UKMO section is no longer used.  
>>>>>> Rather, a forecast is returned for the latitude and longitude of the 
>>>>>> station.  If you want a forecast of something other than that, you can 
>>>>>> specify latitude and longitude in the UKMO section.
>>>>>>
>>>>>> The new forecasts support more data than the old, so more items will 
>>>>>> show up in the sample forecast reports.
>>>>>>
>>>>>> John
>>>>>>
>>>>>> On Aug 5, 2025, at 5:56 AM, [email protected] <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>> Sorry to ask and its probably a question for either Mathew H or John 
>>>>>> K but could UKMO datahub be added to the forecast software
>>>>>> Thanks Phil
>>>>>>
>>>>>> On Monday, August 4, 2025 at 2:17:31 PM UTC+1 steepleian wrote:
>>>>>>
>>>>>>> Met Office have or in the process of changing data hubs so that may 
>>>>>>> be the reason.
>>>>>>>
>>>>>>> https://claydonsweather.org.uk
>>>>>>>
>>>>>>> On 4 Aug 2025, at 13:21, [email protected] <[email protected]> 
>>>>>>> wrote:
>>>>>>>
>>>>>>> 
>>>>>>>
>>>>>>> weewx V 5.1.0
>>>>>>> Been having problems getting downloads from UKMO for a while now but 
>>>>>>> only started to look into it.
>>>>>>> It downloads 4/5 cycles Ok and then fails
>>>>>>>
>>>>>>> 025-08-04T12:50:17.090123+01:00 raspberrypi weewxd[1790]: ERROR 
>>>>>>> user.forecast: UKMOThread: UKMO: missing field 'Location'
>>>>>>> 2025-08-04T12:50:17.090187+01:00 raspberrypi weewxd[1790]: INFO 
>>>>>>> user.forecast: UKMOThread: UKMO: got 0 forecast records
>>>>>>>
>>>>>>> If I then, shortly after the failure, delete forecast.sdb and reboot 
>>>>>>> it downloads OK.
>>>>>>>
>>>>>>> 2025-08-04T13:02:14.535656+01:00 raspberrypi weewxd[2113]: INFO 
>>>>>>> user.forecast: MainThread: UKMO: forecast version 3.4.0b2
>>>>>>> 2025-08-04T13:02:14.537368+01:00 raspberrypi weewxd[2113]: INFO 
>>>>>>> user.forecast: MainThread: UKMO: interval=10800 max_age=604800 
>>>>>>> api_key=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXf051 location=354731
>>>>>>>
>>>>>>> 2025-08-04T13:05:17.618878+01:00 raspberrypi weewxd[1787]: INFO 
>>>>>>> user.forecast: UKMOThread: UKMO: got 38 forecast records
>>>>>>>
>>>>>>> It looks like a UKMO problem but why does it download OK if I delete 
>>>>>>> the database shortly afterwards.
>>>>>>> Thanks Phil
>>>>>>>
>>>>>>> -- 
>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>> Groups "weewx-user" group.
>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>> send an email to [email protected].
>>>>>>> To view this discussion visit 
>>>>>>> https://groups.google.com/d/msgid/weewx-user/f5592072-441e-4227-a84d-d401967a4517n%40googlegroups.com
>>>>>>>  
>>>>>>> <https://groups.google.com/d/msgid/weewx-user/f5592072-441e-4227-a84d-d401967a4517n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>> .
>>>>>>>
>>>>>>> -- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "weewx-user" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>> send an email to [email protected].
>>>>>> To view this discussion visit 
>>>>>> https://groups.google.com/d/msgid/weewx-user/88f324e0-a543-490b-9cb8-b1a35e605d0fn%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/weewx-user/88f324e0-a543-490b-9cb8-b1a35e605d0fn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>>> -- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "weewx-user" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>> send an email to [email protected].
>>>>>>
>>>>> To view this discussion visit 
>>>>>> https://groups.google.com/d/msgid/weewx-user/CABB87EF-2FE9-4DA1-B2F3-06BED3C36652%40johnkline.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/weewx-user/CABB87EF-2FE9-4DA1-B2F3-06BED3C36652%40johnkline.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "weewx-user" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>>
>>>> To view this discussion visit 
>>>> https://groups.google.com/d/msgid/weewx-user/6465c342-738a-4b9b-b71a-cc85245717bbn%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/weewx-user/6465c342-738a-4b9b-b71a-cc85245717bbn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/5f4e61b5-c3e4-4537-bb8c-68652c11ea48n%40googlegroups.com.

Reply via email to