How to use summaries?

45 views
Skip to first unread message

Green

unread,
May 12, 2019, 5:10:58 AM5/12/19
to weewx-development
Hello :)

I want to use SummaryByDay, ... , SummaryByYear in an external extension. But I'm not sure how to get this data.
Is there a event or something, I can hang on in an external service?

Best regards, Green

gjr80

unread,
May 12, 2019, 10:27:28 PM5/12/19
to weewx-development
Hi,

That's a little like asking 'how do I use WeeWX?'. SummaryByDay and SummaryByYear are provided to facilitate summary reports covering each day and each year respectively. They are used by creating a suitable report template using whatever tags you want (iteration is frequently used) and then including the template under a [[SummaryByXXXX]] stanza under [CheetahGenerator] in skin.conf. The best way to learn about how they are used is by having a look at the NOAA format templates and their usage in the Standard and Seasons skins.

Maybe if you could give us some more detail about exactly what it is you are trying to do you might get some more specific help.

Gary
Reply all
Reply to author
Forward
0 new messages