Likely a dumb question - but for the rtl_davis users out there did you need 
to do anything to get it to log the percent good packets to the db ?

The driver is logging pct_good ok to syslog but I'm not following the code 
to see what (if anything) I need to do to get it to log to rxCheckPercent 
in the db....

I 'thought' that it should go there automagically from the driver code but 
it isn't happening here....

(weewx-venv) pi@pi4jr:~/weewx-data/bin/user $ journalctl -u weewx -g 
"pct_good" -f -n 400
-- Journal begins at Tue 2023-05-02 17:36:11 PDT. --
Aug 10 13:12:17 pi4jr python3[2417]: weewx[2417] INFO user.rtldavis: sensor 
map is: {'pressure': 'pressure', 'inTemp': 'temp_in', 'windSpeed': 
'wind_speed', 'windDir': 'wind_dir', 'outTemp': 'temperature', 
'outHumidity': 'humidity', 'inHumidity': 'humidity_in', 'rainRate': 
'rain_rate', 'radiation': 'solar_radiation', 'UV': 'uv', 'soilTemp1': 
'soil_temp_1', 'soilTemp2': 'soil_temp_2', 'soilTemp3': 'soil_temp_3', 
'soilTemp4': 'soil_temp_4', 'leafTemp1': 'leaf_temp_1', 'extraHumid1': 
'humid_1', 'extraHumid2': 'humid_2', 'soilMoist1': 'soil_moisture_1', 
'soilMoist2': 'soil_moisture_2', 'soilMoist3': 'soil_moisture_3', 
'soilMoist4': 'soil_moisture_4', 'leafWet1': 'leaf_wetness_1', 'leafWet2': 
'leaf_wetness_2', 'rxCheckPercent': 'pct_good_all', 'txBatteryStatus': 
'bat_iss', 'supplyVoltage': 'supercap_volt', 'referenceVoltage': 
'solar_power', 'windBatteryStatus': 'bat_anemometer', 'rainBatteryStatus': 
'bat_leaf_soil', 'outTempBatteryStatus': 'bat_th_1', 'inTempBatteryStatus': 
'bat_th_2', 'extraTemp1': 'pct_good_0', 'extraTemp2': 'pct_good_1', 
'extraTemp3': 'pct_good_2', 'leafTemp2': 'pct_good_3', 
'consBatteryVoltage': 'freqError0', 'hail': 'freqError1', 'hailRate': 
'freqError2', 'heatingTemp': 'freqError3', 'heatingVoltage': 'freqError4'}
Aug 10 13:20:15 pi4jr python3[2417]: weewx[2417] DEBUG user.rtldavis: 
ARCHIVE_STATS: station 1: max_count=  117 count= 116 missed=   1 pct_good= 
99.15
Aug 10 13:25:15 pi4jr python3[2417]: weewx[2417] DEBUG user.rtldavis: 
ARCHIVE_STATS: station 1: max_count=  117 count= 116 missed=   1 pct_good= 
99.15
Aug 10 13:30:15 pi4jr python3[2417]: weewx[2417] DEBUG user.rtldavis: 
ARCHIVE_STATS: station 1: max_count=  117 count= 115 missed=   2 pct_good= 
98.29
Aug 10 13:35:15 pi4jr python3[2417]: weewx[2417] DEBUG user.rtldavis: 
ARCHIVE_STATS: station 1: max_count=  117 count= 117 missed=   0 
pct_good=100.00
Aug 10 13:40:14 pi4jr python3[2417]: weewx[2417] DEBUG user.rtldavis: 
ARCHIVE_STATS: station 1: max_count=  116 count= 116 missed=   0 
pct_good=100.00
Aug 10 13:45:14 pi4jr python3[2417]: weewx[2417] DEBUG user.rtldavis: 
ARCHIVE_STATS: station 1: max_count=  117 count= 111 missed=   6 pct_good= 
94.87
Aug 10 13:50:16 pi4jr python3[2417]: weewx[2417] DEBUG user.rtldavis: 
ARCHIVE_STATS: station 1: max_count=  117 count= 114 missed=   3 pct_good= 
97.44
Aug 10 13:55:16 pi4jr python3[2417]: weewx[2417] DEBUG user.rtldavis: 
ARCHIVE_STATS: station 1: max_count=  117 count= 112 missed=   5 pct_good= 
95.73
Aug 10 14:00:16 pi4jr python3[2417]: weewx[2417] DEBUG user.rtldavis: 
ARCHIVE_STATS: station 1: max_count=  117 count= 107 missed=  10 pct_good= 
91.45
Aug 10 14:05:16 pi4jr python3[2417]: weewx[2417] DEBUG user.rtldavis: 
ARCHIVE_STATS: station 1: max_count=  117 count= 112 missed=   5 pct_good= 
95.73

-- 
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/4d714dd3-2685-4504-a18f-571c69884ac3n%40googlegroups.com.

Reply via email to