Where can I get a parameter list from Weewx?

120 views
Skip to first unread message

uweheid...@googlemail.com

unread,
Aug 29, 2024, 4:02:06 PM8/29/24
to weewx-user

Hallo,

I would like to create a template for Weewx. To do this I need a template for how the data can be read out. For example:

$current.outTemp.format(add_label=False) for the value of the current temperature.

Can you help me?

Sincelery Uwe


vince

unread,
Aug 29, 2024, 6:07:25 PM8/29/24
to weewx-user
You asked this in https://groups.google.com/g/weewx-user/c/DnOHlkh_tWw a few days ago and Karen answered you there with what aggregation types exist and how to use them.  Please see the Cheetah documentation referenced at https://weewx.com/docs/5.1/custom/cheetah-generator/ for more details.

If you want a complete list of data elements you could look at the schema for the default list but not all elements are emitted by every driver.  I've attached the list of what is in the default v4 and later wview_extended schema.
elements.txt

Tom Keffer

unread,
Aug 29, 2024, 6:58:54 PM8/29/24
to weewx...@googlegroups.com
Vince's advice is good.

Let me add, I know you have experience with wview, which had a large, flat (and fixed) collection of tags. WeeWX works quite differently. Tags are composed of 3 parts: a time period, a data type, and an aggregation type, such as $month.outTemp.max. All 3 are expandable and customizable, so there is no fixed, definitive set of tags that can be used in templates.

It's all explained in the Customization Guide

-tk

--
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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/f17426a9-7d01-4dca-b3a9-c801b9673821n%40googlegroups.com.

uweheid...@googlemail.com

unread,
Aug 30, 2024, 3:03:51 PM8/30/24
to weewx-user
Thank you very much for your answers. Thank you for the list of Variables. She is a great help to me for the project with theTemplates.
Sincelery Uwe
Reply all
Reply to author
Forward
0 new messages