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/c706000d-fa62-4205-92b8-0d5539935accn%40googlegroups.com.

Reply via email to