Display average tempetarure in [avgclimatethisyear] - Belchertown skin 1.1

80 views
Skip to first unread message

stelli...@gmail.com

unread,
Aug 6, 2020, 4:28:37 AM8/6/20
to weewx-user
My weewx installation with the Belchertown skin 1.1 is running fine and stable for months now, really happy...

One thing I want to implement if possible is the average monthly tempetarure in the [avgclimatethisyear] graph. As of now with the standard view, it only shows min and max monthly temperature:

avgclimatethisyear.png

I did not find our how to add the average temperature to the graph. Is this even possible?

Cheers
Jan


stelli...@gmail.com

unread,
Aug 21, 2020, 7:24:42 AM8/21/20
to weewx-user
Just came back from vacation and wanted to start working on my Belchertown graphs.
Any idea how to get the average temperature displayed in the [avgclimatethisyear] graph?
Still did not find how this might work....

stelli...@gmail.com

unread,
Oct 21, 2020, 5:40:04 AM10/21/20
to weewx-user
After finding some time, I finally managed to solve this. I just needed to read the chart wiki a bit more careful. The result is now like this:

The snippet from the graphs.conf as follows:

        [[[outTemp_avg]]]
            zIndex = 3
            name = Mittl. Temperatur
            color = orange
            observation_type = outTemp
            aggregate_type = avg
            [[[[marker]]]]
                enabled = true
                radius = 4

What was needed, was only the definition of the observation_type and aggregate_type.

However, one issue is remaining. I tried to scale the the yaxis for the temparture by:
            yAxis_min = -5
            yAxis_max = 40
This leads to the graph above. I think that yAxis_min does not accept negative values. Correct?
If I change to:
            yAxis_min = 0
            yAxis_max = 40
Then everything works as expected.

Any idea how to solve my remaining issue (if possible)?
Reply all
Reply to author
Forward
0 new messages