Hello,
I admit I fell from my chair when trying your above sample, and seeing the
results. :).
The sample interestingly shows has_data = false, but pm2_5.avg gets
calculated. (you can check output, plus the ones I actually need there :
http://meteobron.ddns.net).
However, when I add :
<snip>
##
#set $Avg1hPM25 = $hour.pm2_5.max
#set $Avg1hPM10 = $hour.pm10_0.max
{
</snip>
to the gauge-data.txt.tmpl of my steal series template, the resulting data
is :
{ "timeUTC":"2021,04,14,05,24,00", "date":"2021.04.14 07:24",
"dateFormat":"y.m.d h:m", "SensorContactLost":"0", "tempunit":"C",
"windunit":"km/h", "pressunit":"mb", "rainunit":"mm", "cloudbaseunit":"ft",
"temp":"2.0", "tempTL":"1.9", "tempTH":"6.2", "TtempTL":"07:11:34 AM",
"TtempTH":"12:00:44 AM", "temptrend":"-0.5", "intemp":"20.2",
"intempTL":"18.4", "intempTH":"20.7", "TintempTL":"06:37:35 AM",
"TintempTH":"12:03:07 AM", "hum":"58", "humTL":"43", "humTH":"59",
"ThumTL":"12:00:44 AM", "ThumTH":"07:23:22 AM", "inhum":"40", "dew":"-5.3",
"dewpointTL":"-5.9", "dewpointTH":"-5.1", "TdewpointTL":"04:54:51 AM",
"TdewpointTH":"01:38:07 AM", "wchill":"2.0", "wchillTL":"1.9",
"TwchillTL":"07:12:00 AM", "heatindex":"2.0", "heatindexTH":"4.4",
"TheatindexTH":"02:27:18 AM", "apptemp":"-0.6", "apptempTL":"0",
"apptempTH":"0", "TapptempTL":"", "TapptempTH":"", "humidex":"2.0",
"press":"1026.3", "pressL":"863.5", "pressH":"1181.0", "pressTL":"1025.8",
"pressTH":"1026.7", "TpressTL":"03:45:59 AM", "TpressTH":"12:55:49 AM",
"presstrendval":"0.4", "rfall":"0.0", "rrate":"0.0", "rrateTM":"0.0",
"TrrateTM":"12:00:12 AM", "hourlyrainTH":"0.0", "ThourlyrainTH":"",
"LastRainTipISO":"2000-01-01 00:00", "wlatest":"0", "wspeed":"0",
"windTM":"4", "wgust":"0", "wgustTM":"9", "TwgustTM":"03:34:00 AM",
"bearing":" N/A", "avgbearing":"345", "bearingTM":" N/A",
"BearingRangeFrom10":"000", "BearingRangeTo10":"000", "domwinddir":"NNW",
"WindRoseData":[], "windrun":"1.4", "Tbeaufort":"F1", "UV":"0.0",
"UVTH":"0.0", "SolarRad":"9", "SolarTM":"10", "CurrentSolarMax":"7",
"cloudbasevalue":"3603", "forecast":"14-Apr-2021 19:00 0.6°C Fair /
Mostly Clear 15-Apr-2021 07:00 13.3°C Fair / Mostly Sunny 15-Apr-2021
19:00 1.1°C Partly Cloudy 16-Apr-2021 07:00 13.9°C Partly Cloudy
16-Apr-2021 19:00 1.7°C Partly Cloudy 17-Apr-2021 07:00 14.4°C
Partly Cloudy 17-Apr-2021 19:00 3.9°C Partly Cloudy 18-Apr-2021 07:00
15.6°C Partly Cloudy 18-Apr-2021 19:00 3.9°C Partly Cloudy
19-Apr-2021 07:00 17.8°C Partly Cloudy 19-Apr-2021 19:00 5.0°C
Partly Cloudy ", "version":"4.3.0", "build":"", "pm2_5":"1.233",
"pm10":"2.200", "Avg1hPM25":" N/A", "Avg1hPM10":" N/A", "ver":"15" }
with my 2 PM measures showing as N/A.
Many thanks again.
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/211f79fc-30f7-4ec2-8b66-c96ab87479a8n%40googlegroups.com.