Belchertown Graph rainmonthtotals

117 views
Skip to first unread message

Joachim Puttkammer

unread,
Apr 13, 2022, 3:38:38 PM4/13/22
to weewx-user
I set the time period of the year graphs in graph.conf to the last 365 days (time_length = year_ago_to_now time_ago = 1).
Except for the rainmonthtotals graph, it works wonderfully.

rain.png

I would like to display the last 12 months, i.e. from May to April.

rain1.png
Is that possible at all?

Karen K

unread,
Apr 13, 2022, 4:18:35 PM4/13/22
to weewx-user

...

    gapsize = 90000 # 1 day in seconds

    [[Regen]]

        title = Regen

        yAxis_label = "Niederschlag, monatlich"

        type = column

        aggregate_type = sum

        aggregate_interval = 2629800 # month int(365.25/12*86400)

        time_length = month_ago_to_now

        time_ago = 12

        start_at_midnight = true

        start_at_beginning_of_month = true

        tooltip_date_format = "MMM YYYY"

        [[[rain]]]

Joachim Puttkammer

unread,
Apr 14, 2022, 3:33:47 PM4/14/22
to weewx-user
Danke für die Antwort. Aber ich suche nicht die Aufsummierung über die Monate.
Es sollten immer die letzten 12 Monate mit den entsprechenden Monatswerten angezeigt werden
und nicht immer mit Januar beginnen.
Ich vermute, dass diese Möglichkeit nicht existiert. 

Karen K

unread,
Apr 15, 2022, 2:14:28 AM4/15/22
to weewx-user
Reply all
Reply to author
Forward
0 new messages