Chart Belchertown

152 views
Skip to first unread message

Silvio Schömann

unread,
May 17, 2023, 11:08:20 AM5/17/23
to weewx-user
Hello everyone,
I am using the GTS extension and would like to display it in a chart with absolute and relative humidity.

My code shows it like this:
[[humidity]]
        title = "Luftfeuchte"
        time_length = today
        aggregate_type = max
        aggregate_interval = 300 # 1 hour
        [[[outHumidity]]]
color = purple
            name = "relativ"
        [[[outHumAbs]]]
            name = "absolut"
            yAxis = 1
            unit = gram_per_meter_cubed
            [[[[numberFormat]]]]
                decimals = 1
image01.png
it should look like this, where is my mistake?
image02.png

Thanks greetings

Werner Krenn

unread,
May 18, 2023, 2:14:19 PM5/18/23
to weewx-user
    [[humidity]]
        title = Luftfeuchte
        time_length = today
        [[[outHumidity]]]
           zIndex = 1
           #yAxis_min = 0
           #yAxis_max = 100
           name = "rel. Feuchte"
           yAxis_label = "rel Feuchte (%)"
           color = "#82dbf2"
        [[[outHumAbs]]]
           yAxis = 1
           zIndex = 2
           #yAxis_min = 0
           #yAxis_max = 12
           unit = gram_per_meter_cubed
           name = "abs. Feuchte"
           yAxis_label = "abs. Feuchte (g/m³)"
           color = "#0e25f2"
        [[[[numberFormat]]]]
           decimals = 1

luftfeuchte.png

Silvio Schömann

unread,
May 19, 2023, 5:54:32 AM5/19/23
to weewx-user
Hallo Werner,
ich antworte mal in 2 Sprachen, deine Lösung funktioniert, habe ich aber nich gemeint.
Die Lösung habe ich von Manfred bekommen.
Vielen dank dir
Gruß Silvio

Hello Werner, I'll answer in 2 languages, your solution works, but that's not what I meant. I got the solution from Manfred: solution But thank you all again Greetings Silvio

Reply all
Reply to author
Forward
0 new messages