WS90 Piezo rain

101 views
Skip to first unread message

ian...@kinnon.org

unread,
Jun 24, 2025, 5:33:47 AM6/24/25
to weewx-user
Hi all,
I have a new WS90 and HP2560 successfully sending data to weewx, but I am struggling with rain

I have read loads of posts and have
[[sensor_map_extensions]]
        rain = drain_piezo
        rainRate = rrain_piezo
configured under 
[Interceptor]

I can see rain being added to the db, but in weewx I am seeing the rain as accumulating, ie every report of "'drain_piezo': 0.024" add another 0.024 so after a few hours it thinks there has been a massive amount of rain

Debug gives

Jun 24 10:33:16 weather weewxd[1156]: DEBUG user.interceptor: raw packet: {'dateTime': 1750757595, 'usUnits': 1, 'stationtype': 'EasyWeatherPro_V5.2.2', 'model': 'HP2564AE_Pro_V1.9.8', 'yrain_piezo': 0.028, 'runtime': 146104.0, 'temperature_in': 67.5, 'humidity_in': 59.0, 'barometer': 29.208, 'pressure': 29.208, 'temperature_out': 56.5, 'humidity_out': 93.0, 'wind_dir': 155.0, 'wind_speed': 1.79, 'wind_gust': 4.47, 'maxdailygust': 11.41, 'solar_radiation': 213.81, 'uv': 1.0, 'temperature_5': 61.9, 'humidity_5': 76.0, 'rrain_piezo': 0.0, 'erain_piezo': 0.0, 'hrain_piezo': 0.0, 'drain_piezo': 0.024, 'wrain_piezo': 0.028, 'mrain_piezo': 0.028, 'rain_total_piezo': 0.028, 'ws90cap_volt': 4.3, 'ws90_ver': 150.0, 'gain0': 1.0, 'gain1': 1.0, 'gain2': 1.0, 'gain3': 1.0, 'gain4': 1.0, 'battery_5': 0.0, 'wh90batt': 2.94, 'interval': 60.0, 'rain_piezo': 0.0}
Jun 24 10:33:16 weather weewxd[1156]: DEBUG user.interceptor: mapped packet: {'dateTime': 1750757595, 'usUnits': 1, 'pressure': 29.208, 'barometer': 29.208, 'outHumidity': 93.0, 'inHumidity': 59.0, 'outTemp': 56.5, 'inTemp': 67.5, 'windSpeed': 1.79, 'windGust': 4.47, 'windDir': 155.0, 'radiation': 213.81, 'rain': 0.024, 'rainRate': 0.0, 'UV': 1.0, 'extraTemp5': 61.9, 'extraHumid5': 76.0, 'bat_wind': 2.94, 'bat_rain': 4.3}


Rainer Lang

unread,
Jun 24, 2025, 8:08:48 AM6/24/25
to weewx...@googlegroups.com

weewx is not different from the weewx database 😉 - the database is part of weewx.
I think what you are talking about is the depiction of the database (and current) data in a skin,n the weewx word for a web page, by default the Seansons skin.

How database data are depicted there depends on the definitions made in skin.conf - and usually that's what you want to see - the daily accumulation of rain broken down into 
timeslots and the accumulated rain in that period. Nothing wrong with it.

However, if you want to see something else, you have to change the depiction in your skin.conf
I suggest you read the weewx documentation and make yourself familiar with what options exist in the different stanzas (the [] [[]] etc. sections) and choose the one you like.
https://www.weewx.com/docs/5.1/custom/custom-reports/

by the way 0.024 inches are 0.06 mm or 6 ml/m2 - not really much ....

--
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 weewx-user+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/a6fe41c6-1626-43d5-a75e-8191bb77e471n%40googlegroups.com.

michael.k...@gmx.at

unread,
Jun 24, 2025, 8:33:39 AM6/24/25
to weewx-user
Make that 6cl/m² :)

ian...@kinnon.org

unread,
Jun 24, 2025, 9:06:56 AM6/24/25
to weewx-user
yes, I understand that the db is a fundamental part of the system :-)
I can see in the logs that every <interval> drain_piezo has a value, and this get added to the db in the rain field.
In the seasons skin for example, I am seeing the figure for Rain Today is actually the sum of all those drain_piezo for today
This was working fine with a previous weather station with traditional tipping bucket, so I guess I am mapping the wrong option in the interceptor section
logs show
'rrain_piezo': 0.0
 'erain_piezo': 0.008
 'hrain_piezo': 0.0
 'drain_piezo': 0.031
 'wrain_piezo': 0.035
 'mrain_piezo': 0.035
 'rain_total_piezo': 0.035

as available fields, so not sure if
     [[sensor_map_extensions]]
       rain = drain_piezo
        rainRate = rrain_piezo

needs to be mapping a different option, or if its the skin that needs changing

vince

unread,
Jun 24, 2025, 1:37:11 PM6/24/25
to weewx-user
I would guess erain rrain hrain drain wrain mrain are event rate hour day week month rain.

That leaves rain_piezo

Give https://www.wxforum.net/index.php?topic=39625.260;wap a read for details, which seem to agree.

On Tuesday, June 24, 2025 at 6:06:56 AM UTC-7 ian...@kinnon.org wrote: 
'rrain_piezo': 0.0, 'erain_piezo': 0.0, 'hrain_piezo': 0.0, 'drain_piezo': 0.024, 'wrain_piezo': 0.028, 'mrain_piezo': 0.028, 'rain_total_piezo': 0.028,, 'rain_piezo': 0.0}

ian...@kinnon.org

unread,
Jun 25, 2025, 12:47:02 PM6/25/25
to weewx-user
I have tried 
        rain = rain_piezo

and so far it is showing the same as the console, but we have only had a very small amount of rain today.
Thanks all
Reply all
Reply to author
Forward
0 new messages