Im using the default " Season Skin", not finding a html.tmpl file with that 
structure.

On Monday, September 18, 2023 at 11:57:43 AM UTC-4 Geoff Cusick wrote:

> In the skins folder (something like /etc/weewx/skins), you’ll find a 
> number of files called <xxxx>.html.tmpl. These are template files for the 
> html pages that weewx generates.   Edit the file for the page where you 
> want to place the 24h rain figure.  You’ll need to understand its structure 
> to decide where you need to add some lines.  My site uses the Bootstrap 
> skin, which uses a file gauges.html.tmpl to create a page containing some 
> gauges and some text, including a table of values where I’ve put the 24h 
> rain figure.  The relevant section of the file looks like this:
>
>
> <!-- Station info -->
>           <div class="row">
>             <table class="table table-hover">
>               <tbody>
>                       <tr>
>                         <td>$Labels.Generic.rainRate</td>
>                         <td>$current.rainRate</td>
>                       </tr>
>                       <tr>
>                         <td>24h Max Rate </td>
>                         <td>$span($day_delta=1).rainRate.max</td>
>                       </tr>
>                       <tr>
>                         <td>$Labels.Generic.dayrain</td>
>                         <td>$span($day_delta=1).rain.sum</td>
>                       </tr>
>                       <tr>
>                         <td>$Labels.Generic.windchill</td>
>                         <td>$current.windchill</td>
>                       </tr>
>             </tbody>
>             </table>  
>           </div>
>
> Take a look at weather.cusick.org.uk to see how it looks in practice.
>
> Hth
> Geoff
>
> Web: http://www.cusick.org.uk
>
> On 18 Sep 2023, at 16:40, kufuu <[email protected]> wrote:
>
> Thanks geoff, I like that, just where do I put the  
> "$span($day_delta=1).rain.sum" , sorry but Ive only been messing with weewx 
> for only about 6months.
>
>
>
> On Monday, September 18, 2023 at 7:58:29 AM UTC-4 [email protected] 
> wrote:
>
>>
>> No need for an addon.  Just use
>>
>> $span($day_delta=1).rain.sum
>>
>> to return the last 24h rainfall total.
>>
>> You can see it on my weather site at weather.cusick.org.uk
>>
>> Hth
>>
>> Geoff 
>> On Monday, 18 September 2023 at 12:02:06 UTC+1 gjr80 wrote:
>>
>> You might have to help us out here, what or where is the 'weewx-rain24h 
>> add on'. My quick google failed to find such an extension.
>>
>> Gary
>>
>> On Monday, 18 September 2023 at 02:06:12 UTC+10 …. wrote:
>>
>> I installed the weewx-rain24h add on and was wondering how to get he 24hr 
>> rain totals to display on the season skin desktop ?
>>
>> -- 
>
> You received this message because you are subscribed to a topic in the 
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/weewx-user/RHdDkdSTN68/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
>
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/0fde4aa9-f0a7-4c1b-bb9d-d7079b913a9an%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/weewx-user/0fde4aa9-f0a7-4c1b-bb9d-d7079b913a9an%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 on the web visit 
https://groups.google.com/d/msgid/weewx-user/0b67351d-b862-41c6-9143-c0a9c9e44cacn%40googlegroups.com.

Reply via email to