I am trying to display windrun using WeeWX ver. 3.9.2 and a Davis VP2 station. Currently on my web page, I'm seeing the literal tag "$day.windrun.sum" vice a value.
I did some digging around and discovered in Issue #250 that "StdWXCalculate can optionally (it is disabled by default) augment each archive record with a calculated windrun field." So I added windrun to StdWXCalculate (although I'm not sure that this is still required):
[StdWXCalculate]
[[Calculations]]
# Derived quantities are calculated by this service. Possible values are:
# hardware - use the value provided by hardware
# software - use the value calculated by weewx
# prefer_hardware - use value provide by hardware if available,
# otherwise use value calculated by weewx
pressure = prefer_hardware
barometer = prefer_hardware
altimeter = prefer_hardware
windchill = prefer_hardware
heatindex = prefer_hardware
dewpoint = prefer_hardware
inDewpoint = prefer_hardware
rainRate = prefer_hardware
# Added windrun 8-24-2019
windrun = software
Also in that Issue, Tom mentioned "It should be possible to sum the archive records and get the total for the day. However, this is only possible if
windrun appears in the database."
This make me think that I need to add a new observation type (windrun) to the WeeWx database.
Am I on the right track here?
Log file is attached.