>
> On Saturday, 8 June 2019 03:00:34 UTC+10, Geni wrote:
>
>     now everything is even more difficult! I just wanted to extend the 
> previous standard.
>

Don't worry, we will get there. 

I just wanted to add an additional template in the smartphone (with lower 
> case s) standard skin.
> What do I have to do to process this?
>

Now your setup is clearer and I know what you are talking about. First up a 
little clarification. Based on the directory tree you provided you have six 
skins: Ftp, Mobile, Rsync, Seasons, Smartphone and Standard. These 
correspond to the six directories directly under the directory named skins. 
The directory smartphone that sits under the Standard skin is just a 
directory with some templates in it - it is not another skin. The skin 
config file, skin.conf, sitting in each of the skin directories is used to 
control that skin and that skin only (ie skins/Standard/skin.conf can 
control everything in the Standard skin - including the templates in 
skins/Standard/smartphone). Andrew is correct in that you can control what 
happens in any of your skins from weewx.conf, but let's just keep it simple 
and work only in skin.conf for now. When you have things as you want you 
can look at working from weewx.conf later.

You indicate that you want to add you additional template to 'the 
smartphone (with lower case s) standard skin'. When I look at the log 
extract you provided the Standard skin is being run:

Jun 7 09:40:21 raspberrypi weewx[16403]: reportengine: Running report 
'StandardReport' 
Jun 7 09:40:22 raspberrypi weewx[16403]: reportengine: Found configuration 
file /etc/weewx/skins/Standard/skin.conf for report 'StandardReport' 
Jun 7 09:40:23 raspberrypi weewx[16403]: cheetahgenerator: using search 
list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']

The Seasons skin is not being run. But the skin.conf extract your original 
post is from the Seasons skin.conf - it looks like you have modified the 
wrong skin.conf. Try making your skin.conf changes to 
skins/Standard/skin.conf. Note that because the Standard skin smartphone 
templates are in the smartphone sub-directory you will need to change the 
path to your templates, something like:

        [[[Mobile Sun Moon]]]

            template = smartphone/sun_mond.html.tmpl

You will also need to make sure that that the template sun_mond.html.tmpl 
is in the skins/Standard/smartphone directory (if it is not already).
      
Make those changes and see how that goes. There should need no need to 
restart WeeWX.

One other thing I noticed in your log extract. Your station does not appear 
to be storing any archive records in your database. The log is also missing 
entries as to what archive period is being used as well as a few other 
things. Does your system work correctly and does the data on your WeeWX 
generated pages agree with that on your station? If not then something else 
is amiss and needs to be looked at. Judging by your log extract this won't 
affect your new template, but it may well affect the quality/currency of 
your displayed data.

Gary

-- 
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/4283c366-b860-4db6-b5be-a34359774361%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to