Don’t change ‘wu_strip’ to ‘owm_strip’.  It is a referring to an element on the 
page that has an id of wu_strip.  Perhaps that’s not the greatest id, but it is 
what it is.

So, that should read:
populate_strip(‘wu_strip’, ‘OWM’);

In addition, you need to change $strip_source in forecast_strip.inc:

## Which forecasts should be displayed?
#set $strip_source = 'WU'

Change to:
#set $strip_source = 'OWM'


> On Aug 5, 2020, at 4:19 AM, [email protected] <[email protected]> wrote:
> 
> Also .. 
> 
> [root@weather david]# pwd && grep OWM index.html.tmpl
> /home/weewx/skins/david
> populate_strip('owm_strip', 'OWM');
> 
> Yes, 'david' is the skin I have defined in weewx.conf so I could be sure that 
> I wouldn't overwrite stuff when upgrading. 
> 
>> Le mercredi 5 août 2020 à 12:16:07 UTC+1, [email protected] a écrit :
>> Yes, I thought I had defined that correctly ... 
>> 
>> [root@weather forecast]# pwd && grep "OWM" forecast_strip.inc
>> /home/weewx/skins/forecast
>> ## #set global $forecast_strip_settings['source'] = 'OWM'
>> ## <body onload="populate_strip('nws', 'NWS'); populate_strip('owm', 'OWM'">
>> #set $strip_source = 'OWM'
>> 
>> 
>> 
>>> Le mercredi 5 août 2020 à 11:36:56 UTC+1, [email protected] a écrit :
>>> the forecast skin’s .inc files have a flag you set to indicate which 
>>> forecast db data to display: ‘WU’, ‘OWN’, etc.
>>> this is in addition to setting similar value in .conf to indicate what to 
>>> put into forecast db.
>>> i haven’t looked any further into this extension, pending the ‘official’ 
>>> weewx4 one hopefully forthcoming
>>> 
>>>>> On 5 Aug 2020, at 7:19 pm, [email protected] <[email protected]> wrote:
>>>>> 
>>>> We seem to have crossed lines, and I apologise.  I didn't change my 
>>>> intentions, but no doubt expressed myself inaccurately. 
>>>> 
>>>> Let me try to clear up any confusion.   My weather station is pushing data 
>>>> perfectly, to the Wunderground servers.  That's not a problem.  
>>>> 
>>>> What I want is to have forecasts at the bottom of my weather screen.  I'm 
>>>> attaching a screenshot of the bottom half of my Weewx front end.  That is 
>>>> the 'WU' strip to the left, and as you can see, it has no data.   I would 
>>>> like it to have data.  It was working perfectly up until, well .. I don't 
>>>> know.  No doubt until they changed something at the Weather Underground. 
>>>> 
>>>> So what I have been trying to do in this thread is to pull data from WU 
>>>> (and latterly OWM) to have it displayed here at home. 
>>>> 
>>>> After learning that OWM forecasts can be pulled with the same syntax in 
>>>> the weewx.conf as WU, I entered my API key into that config file, and 
>>>> restarted.   This looks a bit more promising... 
>>>> 
>>>> Aug  5 10:10:14 weather journal: weewx[2680] INFO user.forecast: 
>>>> OWMThread: OWM: download forecast from 
>>>> 'http://api.openweathermap.org/data/2.5/forecast?APPID=XXXXXXXXXXXXXXXXXXXXXXXXXXXX112c&lat=XXXXX&lon=XXXXXX'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.cheetahgenerator: 
>>>> Generated 14 files for report StandardReport in 0.25 seconds
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO user.forecast: 
>>>> OWMThread: OWM: got 40 forecast records
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.manager: Added 
>>>> record 2020-08-05 10:10:15 BST (1596618615) to database 'forecast.sdb'
>>>> Aug  5 10:10:15 weather journal: weewx[2680] INFO weewx.imagegenerator: 
>>>> Generated 12 images for report StandardReport in 0.15 seconds
>>>> 
>>>> All right.  
>>>> 
>>>> So what I need now, is to get that forecast data displayed.  I set all of 
>>>> this up with WU back in January of 2020 when I first got my Oregon 
>>>> Scientific station, and aside from WU changing their API, everything was 
>>>> perfect.  But as I probably mentioned, we moved house back in November, 
>>>> and it is only this past weekend that I got the station out of the garage 
>>>> and set it up.  So I am very rusty as to how to get the forecasts to 
>>>> appear. 
>>>> 
>>>> Any help you could give, would be much appreciated.  
>>>> 
>>>> Le mardi 4 août 2020 à 16:57:06 UTC+1, [email protected] a écrit :
>>>>>> i think you have the wrong end of the stick there:
>>>>> 
>>>>> Yep, he did change the subject on us.
>>>>> 
>>>>> I just double checked.  I still have OWM running and my fork is 
>>>>> *fetching* forecasts just fine.
>>>>> 
>>>>>>> On Aug 4, 2020, at 7:57 AM, Graham Eddy <[email protected]> wrote:
>>>>>>> 
>>>>>> 
>>>>> 
>>>>>> i think you have the wrong end of the stick there: i thought you wanted 
>>>>>> to download forecasts, not upload your station data.
>>>>>> on my test server:
>>>>>> wxsys@dizzy:/opt/weewx $ wee_extension --list
>>>>>> Extension Name    Version   Description
>>>>>> forecast          3.4.0b5   Generate and display weather and tide 
>>>>>> forecasts.
>>>>>> GW1000            0.1.0b10  WeeWX driver for GW1000 WiFi gateway.
>>>>>> 
>>>>>>>>>>>>> On 4 Aug 2020, at 10:00 pm, Ron Gibson <[email protected]> wrote:
>>>>>>>>>>>>> 
>>>>>>>>>>>>> I'd be interested to hear if anyone has gotten the OWM forecast 
>>>>>>>>>>>>> working in 4.1. Worked fine when I was at 3.9.2.
>>>>>>>>>>>>> 
>>>>>>>>>>>>> Ron
>>>>>>> 
>>>>>>> On 5 Aug 2020, at 12:50 am, [email protected] <[email protected]> wrote:
>>>>>>> 
>>>>>>> So I have it installed: 
>>>>>>> 
>>>>>>> [root@weather bin]# ./wee_extension --list|grep owm
>>>>>>> 
>>>>>>> owm               0.9       Upload weather data to OpenWeatherMap.
>>>>>>> 
>>>>>>> Modified weewx.conf.. 
>>>>>>> 
>>>>>>>  [[OWM]]
>>>>>>> 
>>>>>>>         api_key = XXXXXXX
>>>>>>> 
>>>>>>> 
>>>>>>> 
>>>>>>> Restarted weewx and I wait ........ 
>>>>>>> 
>>>>>> 
>>>>>> 
>>>>> 
>>>>>> -- 
>>>>>> 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 on the web visit 
>>>>>> https://groups.google.com/d/msgid/weewx-user/7345C9B9-C06C-44D5-8A3A-B706AD8A69B9%40gmail.com.
>>>> 
>>>> 
>>>> -- 
>>>> 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 on the web visit 
>>>> https://groups.google.com/d/msgid/weewx-user/92a59366-8a65-4806-8003-4a4ffad8c5ffn%40googlegroups.com.
>>>> <dd.png>
>>> 
> 
> -- 
> 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 on the web visit 
> https://groups.google.com/d/msgid/weewx-user/71014682-4a1f-473f-83d6-24a3121ad807n%40googlegroups.com.

-- 
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 on the web visit 
https://groups.google.com/d/msgid/weewx-user/7C5F9AAA-49B9-42FA-867B-72395CB454AD%40johnkline.com.

Reply via email to