Closed phinnay closed 5 years ago
There are a few items in the "parsed" stanza without sensor identifiers (usUnits, dateTime) I assume that since they do not have identifiers, I do not need to manually map them in the sensor_map?
that is correct.
what archive interval did you specify in your weewx configuration?
my archive interval is set to "30"
weewx supports archive interval of 60 or greater. also, archive interval must be a multiple of 60, otherwise you will get unexpected behavior at midnight crossings.
300 (5 minutes) is a standard archive interval. if you want to capture data at higher temporal resolution, then use weewx to feed your loop data into influx or some other timeseries database.
if you think this should be otherwise, please post to the weewx user group.
i fixed the lux-to-solarrad conversion by removing it. the driver should not be doing those conversions, especially lux-to-solarrad, since there is no correct way to convert from lux to solar radiation. commit cb40cea
I have weewx-sdr working with my Fine Offset WH65B. Everything looks good except for random crashes in weewx with "ZeroDivisionError" errors. example:
what stands out is the "self._new_accumulator(event.packet['dateTime'])" line.
When I run the weewx-sdr driver directly, I see output from my sensor array as follows:
my sensor map is:
There are a few items in the "parsed" stanza without sensor identifiers (usUnits, dateTime) I assume that since they do not have identifiers, I do not need to manually map them in the sensor_map? Did not see anything in the documentation to confirm or deny this, however the mention of dateTime in the error has me second guessing...
Any ideas?