I like how the default fuzzy-archer tables look, so I think I'll likely 
just stick with that, at least initially. I'll do some digging to see if I 
can figure out how to incorporate it within the other skin. If you have any 
advice, that would be appreciated!

On Monday, 23 June 2025 at 09:20:53 UTC+1 [email protected] wrote:

> If you are satisfied with what fuzzy-archer produces, you need to fin d a 
> way to integrate it into the existing pages from Belchertown. There are 
> probably many possible approaches.
>
> If you want to modify what fuzzy-archer produces, read it's customization 
> guide: https://github.com/brewster76/fuzzy-archer/wiki/Customization
>
> Jon B schrieb am Sonntag, 22. Juni 2025 um 16:14:37 UTC+2:
>
>> I've installed the latest version of the fuzzy-archer skin (v4.3, and 
>> removed the previous version, as suggested in the upgrade guide). What 
>> should I add to weewx.conf in order to generate the coloured tables inside 
>> the Belchertown skin?
>> On Thursday, 19 June 2025 at 22:04:07 UTC+1 Jon B wrote:
>>
>>> It's version 2.26 (I didn't realise it was so old!) - I'll try updating 
>>> it and see if that helps.
>>>
>>> Someone else suggested editing skin.conf but I'll change that as well!
>>> On Thursday, 19 June 2025 at 20:09:09 UTC+1 [email protected] wrote:
>>>
>>>> First and most important advice: do not modify any skin.conf. You can 
>>>> override any setting in your weewx.conf.
>>>>
>>>> Second: which version of the skin(s) are you using? [BootstrapLabels] 
>>>> is from a version that is outdated probably for years now.
>>>>
>>>> Jon B schrieb am Donnerstag, 19. Juni 2025 um 17:19:50 UTC+2:
>>>>
>>>>> I'm using part of the fuzzy-archer skin to generate history tables on 
>>>>> the records page, in conjunction with the Belchertown skin. I'm using 
>>>>> this 
>>>>> on two sites, both of which I set up myself. For one site, these tables 
>>>>> stopped updating at the end of last year. In the logs, I get this error:
>>>>>
>>>>> 2025-06-19T15:45:18.871571+01:00 weewxd[121035]: ERROR 
>>>>> weewx.cheetahgenerator: Evaluation of template 
>>>>> /etc/weewx/skins/Belchertown/records/index.html.tmpl failed.
>>>>> 2025-06-19T15:45:18.872969+01:00 weewxd[121035]: ERROR 
>>>>> weewx.cheetahgenerator: **** Ignoring template 
>>>>> /etc/weewx/skins/Belchertown/records/index.html.tmpl
>>>>> 2025-06-19T15:45:18.873193+01:00 weewxd[121035]: ERROR 
>>>>> weewx.cheetahgenerator: **** Reason: cannot find 'BootstrapLabels'
>>>>> 2025-06-19T15:45:18.873288+01:00 weewxd[121035]: ERROR 
>>>>> weewx.cheetahgenerator: **** To debug, try inserting '#errorCatcher Echo' 
>>>>> at top of template
>>>>>
>>>>> I have defined 'BootstrapLabels' in the Belchertown skin.conf as 
>>>>> follows:
>>>>>
>>>>> [BootstrapLabels]
>>>>>
>>>>>     #
>>>>>     # Labels specific to the Bootstrap template
>>>>>     #
>>>>>
>>>>>     [[headings]]
>>>>>         front_page  = The Weather
>>>>>         stats       = Stats
>>>>>         history     = History
>>>>>         news        = News
>>>>>         about       = About
>>>>>         last_update = Last updated
>>>>>
>>>>>     [[timespans]]
>>>>>         day      = Last 24 hours
>>>>>         today    = Today            # today = any time since midnight
>>>>>         week     = This week
>>>>>         month    = This Month
>>>>>         year     = This Year
>>>>>         ever     = Since ever
>>>>>
>>>>>     [[status]]
>>>>>         latitude       = Latitude:
>>>>>         longitude      = Longitude:
>>>>>         altitude       = Altitude:
>>>>>         station_uptime = Station uptime:
>>>>>         server_uptime  = Server uptime:
>>>>>
>>>>>     [[history_tables]]
>>>>>         min_temp  = Minimum Temperature
>>>>>         max_temp  = Maximum Temperature
>>>>>         avg_temp  = Average Temperature
>>>>>         rain      = Rainfall Accumulation
>>>>>         rain_days = Days with at least 1 mm rainfall
>>>>>         sunHours = Total sunshine hours
>>>>>         max_wind_gust = Maximum Wind Gust
>>>>>         NOAA      = Month-by-month Data
>>>>>
>>>>>     [[minmax]]
>>>>>         min = Low
>>>>>         max = High 
>>>>>
>>>>> In the Belchertown records.inc file I then have the following:
>>>>>
>>>>> #encoding UTF-8
>>>>> <div class="entry-content about-outer" itemprop="text">
>>>>>     <h3>$BootstrapLabels.history_tables.max_temp</h3> $max_temp_table
>>>>>     <h3>$BootstrapLabels.history_tables.min_temp</h3> $min_temp_table
>>>>>     <h3>$BootstrapLabels.history_tables.avg_temp</h3> $avg_temp_table
>>>>>     <h3>$BootstrapLabels.history_tables.rain</h3> $rain_table
>>>>>     <h3>$BootstrapLabels.history_tables.rain_days</h3> $rain_days_table
>>>>>     <h3>$BootstrapLabels.history_tables.sunHours</h3> $sunHours_table 
>>>>>     <h3>$BootstrapLabels.history_tables.max_wind_gust</h3> 
>>>>> $max_wind_gust_table
>>>>>     <h3>$BootstrapLabels.history_tables.NOAA</h3> $NOAA_table
>>>>> </div>
>>>>>
>>>>> As far as I can tell, everything relating to the history tables and 
>>>>> the fuzzy-archer skin is the same as in the working version that I have 
>>>>> for 
>>>>> the other site. I'm wondering if perhaps something updated which I'm not 
>>>>> aware of (the broken site is my Dad's, and he may have run some updates 
>>>>> without me realising). The broken site isn't publically available, but 
>>>>> the 
>>>>> other working one is here in case it's helpful to know what the setup 
>>>>> looks 
>>>>> like: https://empslocal.ex.ac.uk/uoeweather/records/
>>>>>
>>>>> Any advice would be much appreciated!
>>>>>
>>>>

-- 
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/91ac2e65-baa3-41be-9c1b-43eca0dc7e04n%40googlegroups.com.

Reply via email to