Perfect, thanks Gary!
rich

On Tuesday, 13 July 2021 at 03:39:37 UTC-4 gjr80 wrote:

> You need to define a tag to cover the period for which you want the stats 
> and then add the newly defined tag to the search list. The stats example 
> <https://github.com/weewx/weewx/blob/master/examples/stats.py> gives some 
> example code for doing exactly that for $alltime and $seven_day  tags.
>
> Gary
>
> On Tuesday, 13 July 2021 at 10:21:54 UTC+10 [email protected] wrote:
>
>> I’ve started experimenting with the series and json tags.  Not 
>> surprising,  ‘ $week.outTemp.series(time_series='start', 
>> aggregate_type='avg', aggregate_interval='hour')’  returns data for the 
>> current week. So, this being Monday, I get Sunday and Monday data. What I 
>> really want is the last 7 days of data like is graphed in the seasons skin. 
>> Or possibly even a random series in the past… 
>> Thanks for any help/ideas. rich
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" 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-development/7cfb6e54-69f4-420b-ab0a-231cbb9bafcan%40googlegroups.com.

Reply via email to