matthewwall / weewx-interceptor

weewx driver that intercepts web traffic from internet 'bridge' devices such as Acurite Access, ObserverIP, OS LW30x, LaCross GW1000U, FineOffset GW1000
GNU General Public License v3.0
105 stars 46 forks source link

Rain Rate is wrong lw30x #21

Closed cryptooth closed 6 years ago

cryptooth commented 7 years ago

I'm running latest version of weewx and interceptor. My sensor is lw301.

Real rain rate is 2.1mm/hr on OSAnywhere SW, but weewx is reporting 0.08 mm/hr.

full mqtt report:

havadurumu/heatindex_C 14.5 havadurumu/dayRain_cm 0.0083 havadurumu/outHumidity 80.0 havadurumu/humidex_C 16.2981777343 havadurumu/rainRate_cm_per_hour 0.0 havadurumu/rain24_cm 0.0166 havadurumu/dateTime 1509228015.0 havadurumu/dewpoint_C 11.0893303654 havadurumu/hourRain_cm 0.0083 havadurumu/outTemp_C 14.5 havadurumu/usUnits 16.0 havadurumu/cloudbase_meter 525.278440325

Any advice?

matthewwall commented 7 years ago

does the value for rainRate bounce around, or is it pretty consistent?

you might want to do this in weewx.conf:

[StdWXCalculate]
    ...
    rainRate = software

the lw30x reports rain rate, but not in every packet. so weewx will calculate a rainRate for every packet that does not contain a rainRate. setting rainRate=software will make weewx calculate the rainRate for every package.

the weewx algorithm for rainRate is probably not the same as the algorithm used by the lw30x, so you probably will never get an exact match.

finally, it is possible that the weewx-interceptor driver is interpreting the lw30x output incorrectly. the driver interprets 'rr' as the rain rate. if you could capture some of the raw output from the lw30x we could verify this. set debug=1 then restart weewx. then wait for a rain event.

cryptooth commented 7 years ago

Thank you for quick reply. Istanbul is quite rainy these days. I will try to capture data and send to you.

Belek

matthewwall commented 6 years ago

i think this has been fixed. please create a new issue if there is still a problem.