It can be tricky to maintain identical readings at all destinations for 
stations that post to multiple sources, ran in particular can be tricky due 
to it being a (typically) cumulative value whereas other observations are 
typically averages. Small changes or the loss of a single reading usually 
have little effect of weather obs average values but loss of a mm or two of 
rain is noticeable. Timing differences can also cause discrepancies.

You say that 'it underreads rain by a few millimeters everytime' - what 
does that mean, is every packet received by WeeWX under or is every day, 
week or month under? How often is your station posting to ecowitt.net and 
WeeWX? It would be good to see a startup log extract with debug = 1 so we 
can see your station config. If using your station custom posting/upload 
you should be seeing regular intercepts from your station in the WeeWX log, 
are you seeing all posts from your station or are some missing, do all have 
a rain value or are some missing? Sorry but there is likely going to be a 
lot of log analysis to track this down.

In terms of wee_import what does your csv file contain, does it contain 
cumulative rain value or per-archive period values? What does you import 
config file contain? There is a 'rain' config option in the CSV import 
config file <http://weewx.com/docs/4.10/utilities.htm#csv_rain> that 
determines how rain values are handled - it needs to be set correctly. if 
the source data is correct tracking down CSV import issues should be very 
straightforward once we have the data and the config being used. Feel free 
to post your CSV source data and import config file here or email to me at 
gjroderick at gmail dot com and I will run through them. 

Gary
On Tuesday, 31 October 2023 at 17:34:53 UTC+10 [email protected] wrote:

> I nuked the DB, extracted all the data from ecowitt using @comes 
> https://github.com/comes/ecowitt2weewx
> I then imported it all back in. The data from ecowitt seems correct, 
> still. My yearly rain so far is 824.1mm as per my station 
> https://www.ecowitt.net/home/index?id=68712
>
> After all of this, I still get about half the rainfall in weewx. (490.3mm) 
> https://weewx.simple-earth.org/reports/?yr=2023
>
> It's likely there is a weird field mapping, or table that I just don't 
> understand. Looking at the amount of rain related issues, I'm not alone. 
> Would like to beat this. 
> Please help me save my brain. It's breaking.
>
> On Monday, 30 October 2023 at 13:12:46 UTC+2 Marlon wrote:
>
>> Oct 30 13:08:42 goatbox weewx[116207] DEBUG weewx.reportengine: Report 
>> 'FTP' not enabled. Skipping.
>> Oct 30 13:08:42 goatbox weewx[116207] DEBUG weewx.reportengine: Report 
>> 'RSYNC' not enabled. Skipping.
>> Oct 30 13:08:49 goatbox weewx[116207] DEBUG user.interceptor: empty queue
>> Oct 30 13:08:59 goatbox weewx[116207] DEBUG user.interceptor: empty queue
>> Oct 30 13:09:01 goatbox weewx[116207] DEBUG user.interceptor: POST: 
>> b'PASSKEY=XXXX&stationtype=EasyWeatherV1.6.6&dateutc=2023-10-30+11:08:59&tempinf=76.6&humidityin=46&baromrelin=29.661&baromabsin=29.723&tempf=71.6&humidity=44&winddir=72&windspeedmph=3.1&windgustmph=4.5&maxdailygust=15.9&rainratein=0.000&eventrainin=0.000&hourlyrainin=0.000&dailyrainin=0.000&weeklyrainin=0.008&monthlyrainin=1.118&yearlyrainin=32.445&totalrainin=32.445&solarradiation=831.15&uv=8&wh65batt=0&freq=868M&model=WS2900_V2.01.08'
>> Oct 30 13:09:01 goatbox weewx[116207] DEBUG user.interceptor: raw data: 
>> b'PASSKEY=660D031A3A77C1332DFA76B2C975573C&stationtype=EasyWeatherV1.6.6&dateutc=2023-10-30+11:08:59&tempinf=76.6&humidityin=46&baromrelin=29.661&baromabsin=29.723&tempf=71.6&humidity=44&winddir=72&windspeedmph=3.1&windgustmph=4.5&maxdailygust=15.9&rainratein=0.000&eventrainin=0.000&hourlyrainin=0.000&dailyrainin=0.000&weeklyrainin=0.008&monthlyrainin=1.118&yearlyrainin=32.445&totalrainin=32.445&solarradiation=831.15&uv=8&wh65batt=0&freq=868M&model=WS2900_V2.01.08'
>> Oct 30 13:09:01 goatbox weewx[116207] DEBUG user.interceptor: using 
>> rain_total 32.445 from yearlyrainin
>> Oct 30 13:09:01 goatbox weewx[116207] INFO user.interceptor: unrecognized 
>> parameter b'PASSKEY=660D031A3A77C1332DFA76B2C975573C
>> Oct 30 13:09:01 goatbox weewx[116207] INFO user.interceptor: unrecognized 
>> parameter stationtype=EasyWeatherV1.6.6
>> Oct 30 13:09:01 goatbox weewx[116207] INFO user.interceptor: unrecognized 
>> parameter baromrelin=29.661
>> Oct 30 13:09:01 goatbox weewx[116207] INFO user.interceptor: unrecognized 
>> parameter maxdailygust=15.9
>> Oct 30 13:09:01 goatbox weewx[116207] INFO user.interceptor: unrecognized 
>> parameter rainratein=0.000
>> Oct 30 13:09:01 goatbox weewx[116207] INFO user.interceptor: unrecognized 
>> parameter eventrainin=0.000
>> Oct 30 13:09:01 goatbox weewx[116207] INFO user.interceptor: unrecognized 
>> parameter hourlyrainin=0.000
>> Oct 30 13:09:01 goatbox weewx[116207] DEBUG user.interceptor: ignored 
>> parameter weeklyrainin=0.008
>> Oct 30 13:09:01 goatbox weewx[116207] DEBUG user.interceptor: ignored 
>> parameter monthlyrainin=1.118
>> Oct 30 13:09:01 goatbox weewx[116207] INFO user.interceptor: unrecognized 
>> parameter totalrainin=32.445
>> Oct 30 13:09:01 goatbox weewx[116207] INFO user.interceptor: unrecognized 
>> parameter wh65batt=0
>> Oct 30 13:09:01 goatbox weewx[116207] INFO user.interceptor: unrecognized 
>> parameter freq=868M
>> Oct 30 13:09:01 goatbox weewx[116207] INFO user.interceptor: unrecognized 
>> parameter model=WS2900_V2.01.08'
>> Oct 30 13:09:01 goatbox weewx[116207] DEBUG user.interceptor: raw packet: 
>> {'dateTime': 1698664139, 'usUnits': 1, 'rain_total': 32.445, 
>> 'temperature_in': 76.6, 'humidity_in': 46.0, 'pressure': 29.723, 
>> 'temperature_out': 71.6, 'humidity_out': 44.0, 'wind_dir': 72.0, 
>> 'wind_speed': 3.1, 'wind_gust': 4.5, 'solar_radiation': 831.15, 'uv': 8.0, 
>> 'rain': 0.0}
>> Oct 30 13:09:01 goatbox weewx[116207] DEBUG user.interceptor: mapped 
>> packet: {'dateTime': 1698664139, 'usUnits': 1, 'pressure': 29.723, 
>> 'outHumidity': 44.0, 'inHumidity': 46.0, 'outTemp': 71.6, 'inTemp': 76.6, 
>> 'windSpeed': 3.1, 'windGust': 4.5, 'windDir': 72.0, 'radiation': 831.15, 
>> 'rain': 0.0, 'UV': 8.0}
>> Oct 30 13:09:01 goatbox weewx[116207] INFO weewx.manager: Added record 
>> 2023-10-30 13:08:30 SAST (1698664110) to database 'weewx'
>> Oct 30 13:09:01 goatbox weewx[116207] INFO weewx.manager: Added record 
>> 2023-10-30 13:08:30 SAST (1698664110) to daily summary in 'weewx'
>>
>> On Monday, 30 October 2023 at 12:53:37 UTC+2 Marlon wrote:
>>
>>> Hello
>>> I recently started using weewx to collect my own weather data (instead 
>>> of relying on external sites). The problem is strange. I tried for days, 
>>> exhaustively, to fix this - wanted to avoid another support issue here that 
>>> wastes your time, but alas.
>>>
>>> My station is a froggit WH3000 and has always (still does), accurately 
>>> posted to ecowitt, WU and WeatherCloud. 
>>>
>>> I added weewx on my vps now, and it uses interceptor to get the data 
>>> using my stations 'custom' posting (it has a choice of ecowitt vs wu 
>>> protocol).
>>>
>>> The data on weewx is all fine, accurate, except it underreads rain by a 
>>> few millimeters everytime. All the data on the station console, WU and 
>>> ecowitt matches, but weewx underreads.
>>>
>>> For october for instance: 28.4mm is the correct value. Weewx has 23.7mm
>>> I can see it happen on daily rainfall as well. Yesterday we had 0.2mm 
>>> drizzle, but weewx still thinks we had 0.0
>>>
>>> On a sidenote, I tried to import historic data from ecowitt (csv) to 
>>> weewx, and I see the same thing happening.  
>>>
>>> I feel bested. It got the better of me. Advice or ideas could go a long 
>>> way.
>>> Thanks in advance
>>> Marlon
>>>
>>>

-- 
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/a3aa52c7-f52d-4509-8b54-b36e98c36844n%40googlegroups.com.

Reply via email to