I use the responsive 
skin: https://github.com/dcapslock/weewx-responsive-skin

Here is my weather site. https://weather.ubeaut.work/

It gets the rain from 9 a.m to 9 a.m. I think it comes installed like that. 
It may not as I have modified the website so much.

If it doesn't then you copy the since.py to /usr/share/weewx/user/

Then in the responsive skin.conf you add: user.since.Since like below:
search_list_extensions = 
user.aussearch.ausutils,user.historygenerator.MyXSearch*,user.since.Since*
,user.xstats.ExtendedStatistics

In the /etc/weewx/skins/Responsive/index.html.tmpl

Add:
                      <tr>
                        <td>Today's Rain since 9am</td>
                        <td>$since($hour=9).rain.sum</td>
                      </tr>

I put it under this section:
<div class="panel-collapse collapse in" id="collapseAccTwoOne">
                <div class="panel-body">
                  <table class="table table-condensed table-responsive" 
style="">
                    <tbody>
                      <tr>
Then you let it run a report generation and then hopefully it will be there.

I have just noticed another person has answered as well....similar to what 
I have written.

Good luck....





On Monday, 1 March 2021 at 15:59:50 UTC+11 Robert D wrote:

> Thanks Graham - looking at it with a text editor...it looks like it has 
> been written to do what want. 
> But being a bit of a newby - I am not sure what to do with it..!!  My 
> guess is something similar to the BigTempPanel..???
>
> *"copy wfpiconsole.include.kv to the /home/pi/wfpiconsole directory copy 
> bigtempinclude.py to the /home/pi/wfpiconsole/lib directory*
> * cp wfpiconsole.include.kv /home/pi/wfpiconsole/ cp bigtempinclude.py 
> /home/pi/wfpiconsole/lib/ *
>
> *Change ownership on both files to pi*
> * chown pi:pi /home/pi/wfpiconsole/lib/bigtempinclude.py chown pi:pi 
> /home/pi/wfpiconsole/wfpiconsole.include.kv *
>
> *Modify /home/pi/wfpiconsole/wfpiconsole.kv*
>
> *Insert the following line on line 27: #:include wfpiconsole.include.kv*
>
> *Modify /home/pi/wfpiconsole/main.py*
>
> *Insert the following lines starting at line 226 from lib.bigtempinclude 
> import BigTempPanel from lib.bigtempinclude import BigTempButton*
>
> *Modify /home/pi/wfpiconsole/wfpiconsole.ini Beginning around line 50, 
> modify the PrimaryPanel or SecondaryPanel section to enable the BigTemp 
> panel in whichever position you like."*
>
>
> Rob.
>
>
> On Monday, 1 March 2021 at 15:08:47 UTC+10:30 [email protected] wrote:
>
>> i have been using this for a while
>>
>> #evilbunny2008 attributed this in 2018 to Gary in australia
>>
>

-- 
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/26770a17-2837-4d25-ac14-419a90ffdb43n%40googlegroups.com.

Reply via email to