Some comments below.

Gary

On Wednesday 11 September 2024 at 17:25:25 UTC+10 [email protected] wrote:

Thanks Gary, 

sorry to bother you yet again with the same problem......having read back 
through our correspondence in 2019...(i can't believe I was clever enough 
to do this back then....I certainly didn't  lean not much from it...coz I 
don't feel so clever now!) I think that the steps I need to follow to get 
back to there are to 
1. install xstats.py in the correct place and 
2. put the two files above (index.html.tmpl and alltime.html.tmpl) into the 
skins folder and all should work fine.....have I missed anything?


That's about it, but you will also need to tell WeeWX to generate 
alltime.html, I alluded to this further down my 2019 post but did not give 
any specifics. All you need do is edit the skin config file for your 
Standard skin and add a couple of lines to the [CheetahGenerator] [[ToDate]] 
stanza. Where that file is will depend on how you installed WeeWX. You've 
found weewx.conf, have a look in the directory containing weewx.conf and 
you should find a skins/Standard directory, that is where skin.conf should 
be. Edit skin.conf and insert the highlighted lines as follows:

[CheetahGenerator]
    ....
    [[ToDate]]
        ....        
        [[[year]]]
            template = year.html.tmpl

        [[[alltime]]]
            template = alltime.html.tmpl
            
Once you have installed xstats, created alltime.tmpl.html and modified 
skin.conf WeeWX will automatically start generating alltime.tmpl - no need 
for a restart. 
 


I should be able to find xstats.py in 
/user/share/doc/weewx/examples.....but as you will see from the attached 
screenshot.....that folder does not exist.....what am I missing?


Another v5 change I'm afraid. Again the location of the examples (and 
xstats) depends on how you installed WeeWX. Have a look in the directory 
containing weewx.conf, you should see a directory named examples; that is 
where you should find the xstats directory. Read the readme.txt, it has 
been updated for v5, and (again) I expect you will want to follow the 
manual install instructions.
 

-- 
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/96af7092-723c-45a3-9d70-8af19cc9b547n%40googlegroups.com.

Reply via email to