Hi,
I'm after a steer as to where to look to fix/block this issue. I'm running
RTLDavis with a Vantage Vue and weewx 4.6.1. The indoor temperature and pressure (BMP280) is coming through as a data service over a serial link.
When I start up weewx and use
loopdata, syslog shows:
Feb 20 12:01:23 Weather-Centre weewx[12537] CRITICAL user.loopdata: **** Traceback (most recent call last):
Feb 20 12:01:23 Weather-Centre weewx[12537] CRITICAL user.loopdata: **** File "/usr/share/weewx/user/loopdata.py", line 810, in process_queue
Feb 20 12:01:23 Weather-Centre weewx[12537] CRITICAL user.loopdata: **** windrun_val = weewx.wxxtypes.WXXTypes.calc_windrun('windrun', pkt)
Feb 20 12:01:23 Weather-Centre weewx[12537] CRITICAL user.loopdata: **** File "/usr/share/weewx/weewx/wxxtypes.py", line 303, in calc_windrun
Feb 20 12:01:23 Weather-Centre weewx[12537] CRITICAL user.loopdata: **** raise weewx.CannotCalculate(key)
Feb 20 12:01:23 Weather-Centre weewx[12537] CRITICAL user.loopdata: **** weewx.CannotCalculate: windrun
1. Looking into the code it seems to be a lack of interval data. I can not find a way of sorting this in weewx.conf and close inspection of the RTLDavis DEBUG data in Syslog (attached) doesn't have any interval data in it.
2. In spite of it raining, the console reporting rain and after tipping a cup of water into the bucket I'm not reliably getting rain data from the ISS. the DEBUG (all three debug options set to 3) log records:
DEBUG user.rtldavis: data_pkt: {'channel': 1, 'bat_iss': 0, 'wind_speed_ec': 15, 'wind_speed_raw': 14, 'wind_dir': 273.9486166007905, 'wind_speed': 6.705583333333333, 'rain_count': 37, 'curr_cnt0': 2982, 'curr_cnt1': 0, 'curr_cnt2': 0, 'curr_cnt3': 0}
DEBUG user.rtldavis: rain=0.0 rain_count=0 last_rain_count=37
DEBUG user.rtldavis: pkt= {'windSpeed': 6.705583333333333, 'windDir': 273.9486166007905, 'txBatteryStatus': 0, 'rain': 0.0, 'dateTime': 1645353107, 'usUnits': 17}
Any suggestions as to next steps for me troubleshooting these would be welcome.
Andrew