I store energy data from my PV and smartmeter in [wh] in the database of weewx (one value just before midnight). Now i tried to generate a chart in my Belchertown skin over all years in kWh:
[etotal]
title = "Gesamter Zeitraum"
show_button = true
button_text = "Gesamt"
time_length = all
tooltip_date_format = "LLLL"
gapsize = 31536000000 # 1 Jahr in [ms]
yAxis_label = "Energie"
start_at_midnight = true
start_at_beginning_of_month = true
xAxis_groupby = year
[[energy_plt]]
title = "Energie"
[[[pv_day_wh]]]
name = PV
color = "#ffc83f"
type = column
unit = kilowatt_hour
[[[netzbezug_day]]]
name = Netzbezug
color = red
unit = kilowatt_hour
[[[[marker]]]]
enabled = true
radius = 4
[[[netzlieferung_day]]]
name = Einspeisung
color = green
unit = kilowatt_hour
[[[[marker]]]]
enabled = true
radius = 4
[[[eigenverbrauch_day]]]
name = Verbrauch
color = blue
unit = kilowatt_hour
[[[[marker]]]]
enabled = true
radius = 4
The chart shows the values in [wh] and not in [kWh]. Any idea how to fix this ?
WeeWX-Version: 4.9.1
Belchertown: 1.3 (last version from github)
Regards Matthias