I think you can run wee_reports manually or via cron with a different .conf 
(and therefore different skin(s)) specified.  this would permit just doing 
the report(s) you wanted, at time you desire.



On Thursday, 10 October 2019 14:45:53 UTC+3, Pila wrote:
>
> Yes, using span delta means I am using now as the starting point. That was 
> I wanted to acheve.
>
> minmax: $span(day_delta=7).outTemp.minmax
> maxmin: $span(day_delta=7).outTemp.maxmin
>
> I tried running a report with a midnight time, and it creates desired 
> minmax spans, as you correctly stated. Any other time, it skips generating 
> the page with no interactive display of the fault, only in the log.
>
> But now, my problem is how to create minmax lines on the midnight and 
> reuse them entire day? report_timing option in weewx.conf is for enitre 
> reports. That does not fit the bill. 
>
> I need a weekly and monthtly minmax / maxmin lines under the week and 
> month OutTemp graphs. Closest to the usable idea I have:
>
> 1) in skin.conf, create two templates (for the two maxmin+minmax lines, 
> one for week one for month)
>
> 2) include them to temp.html.tmpl
>
> But, I am unable to find a solution to create these two files at midnight 
> only and reuse them the rest of the day? Can I, in a skin.conf, do somethng 
> like:
>
> [ $(date +"%H:%M") == "00:00" ] && create_templates || skip
>
> I could try initially generating them manually at midnight, and then use 
> stale_age in skin.conf to keep them for 24 hours. Not elegant and touchy, 
> but it may work. I am open to any better suggestions.
>
>

-- 
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/69783572-d8bc-4e38-87b3-8c0d25bec04b%40googlegroups.com.

Reply via email to