Everybody convinced me to add a tipping rain gauge to my piezo WS85 
station...arrives today...

I'd like to figure out a reasonable way to have both piezo and tipping 
gauge sets of data saved in weewx so I can display them overlaid on graphs 
etc. for comparison and to help me 'try' to tune the piezo settings.

Since weewx only supports one rain sensor without doing hacks like reusing 
things like hail in the schema, I'm strongly leaning toward extending my 
ecowitt station schema with more rain-related fields to be able to support 
two rain sensors.

Looking for suggestions on what db elements might make sensor to add....

Currently the default weewx schema includes:

   - rain
   - rainRate
   - rainBatteryStatus

So I'm thinking of simply adding matching piezo elements:

   - p_rain
   - p_rainRate
   - p_rainBatteryStatus

That seem reasonable ?

Assuming so, I'd add columns to the db and assign them to the appropriate 
unit groups to match per the docs too (?)

Now to set the tipping sensor as the primary....

Since I only have the piezo sensor currently,  I have the following mapping 
to set the piezo sensor items from the driver as primary:
   [[field_map_extensions]]
        # use WS85 as primary wind/rain sensor
        rain = p_rain
        stormRain = p_rainevent
        rainRate = p_rainrate
        dayRain = p_rainday
        weekRain = p_rainweek
        monthRain = p_rainmonth
        yearRain = p_rainyear
        windBatteryStatus = ws85_batt

The driver seems to internally use t_xyz elements which I'm guessing is 
tipping_xyz notionally, so to change the map to set the WH40BH as the 
primary sensor, would I want to do something like the following ?

   [[field_map_extensions]]
        # use WH40BH as primary rain sensor
        rain = t_rain
        stormRain = t_rainevent
        rainRate = t_rainrate
        dayRain = t_rainday
        weekRain = t_rainweek
        monthRain = t_rainmonth
        yearRain = t_rainyear
        rainBatteryStatus = wh40_batt

        # use WS85 as secondary rain sensor
        p_rain = p_rain
        p_stormRain = p_rainevent
        p_rainRate = p_rainrate
        p_dayRain = p_rainday
        p_weekRain = p_rainweek
        p_monthRain = p_rainmonth
        p_yearRain = p_rainyear

        # still use WS85 for wind sensor battery status
        windBatteryStatus = ws85_batt

Does that seem like a reasonable approach ? 

I know the ecowitt gear has more signal status type elements available in 
the driver, but for the moment I'd just like to save and compare the two 
sensors rain and rain rate.

Make sense ?  Any suggestions ?

-- 
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 visit 
https://groups.google.com/d/msgid/weewx-user/157e7b38-bd0b-418e-8c17-c77492ac419cn%40googlegroups.com.

Reply via email to