The problem you are experiencing is that the Ecowitt Gateway driver 
(formerly the GW1000 driver) emits the WS90 haptic rainfall data in fields 
with a p_ prefix (eg p_rain instead of the default WeeWX field rain). The 
reason for this is so as to not break support for existing tipping rain 
gauges such as the WH40.

You have two courses of action. If you have no plans to add a tipping rain 
gauge, such as the WH40, you can simply map the required internal Ecowitt 
Gateway driver haptic rainfall fields to the traditional WeeWX rain fields. 
Alternatively, if you may add a tipping rain gauge in the future you may 
wish to modify the WeeWX database to store the haptic rainfall data. You 
would then need to modify the Seasons skin to display the haptic rainfall 
data.

Mapping the haptic rain fields to the traditional WeeWX rainfall fields can 
be achieved with an alteration to the Ecowitt Gateway driver field map. To 
do this:
1. edit weewx.conf and locate the [GW1000] stanza
2. at the end of the [GW1000] stanza contents (and before the next [] 
stanza starts) add the following:
    [[field_map_extensions]]
        rain = p_rain
        rainRate = p_rainrate
3. save weewx.conf

Restart WeeWX and the WeeWX rain and rainRate fields should now be 
populated with haptic rainfall data (when it rains of course). The Seasons 
skin should now display rain data/plots without alteration.

If you wish to use the second approach you need to:
1. stop WeeWX if it is running
2. use the wee_database utility 
<http://weewx.com/docs/utilities.htm#wee_database_utility> with the 
--add-column action to add the columns (fields) p_rain and p_rainRate to 
the database
3. edit the Seasons skin config file skin.conf (it should be located in 
/home/weewx/skins/Seasons or /etc/weewx/skins/Seasons depending on your 
WeeWX install type) and locate the [DisplayOptions] stanza
4. add p_rain and p_rainRate to the observations_current settings, it 
should now look something like:
    observations_current = outTemp, heatindex, windchill, dewpoint, 
outHumidity, barometer, windSpeed, rain, rainRate, p_rain, p_rainRate, UV, 
radiation, lightning_strike_count, inTemp, inHumidity, extraTemp1, 
extraHumid1, extraTemp2, extraHumid2, pm1_0, pm2_5, pm10_0
    note that obs will be displayed (if they exist) in the order they 
appear in the list
5. repeat step 4 for the observations_stats, obs_type_sum and obs_type_max (
p_rainRate only) settings
6. locate the [ImageGenerator] [[dayimages]] [[[dayrain]]] stanza and 
replace [[[[rain]]]] with [[[[p_rain]]]], eg: 

        [[[dayrain]]]
            # Make sure the y-axis increment is at least 0.02 for the rain 
plot
            yscale = None, None, 0.02
            plot_type = bar
            [[[[p_rain]]]]
                aggregate_type = sum
                aggregate_interval = hour
                label = Rain (hourly total)
7. repeat step 6 for [weekimages], [monthimages] and [yearimages]
8. save skin.conf

Restart WeeWX and you should find the p_rain and p_rainRate fields now 
exist in the database and are populated (when it rains) and the Seasons 
skin should display the haptic rain data. Note the Seasons skin will also 
display the tradition rain data without modification if you ever add a 
tipping rain gauge, but there will need to be some modification to the 
image plot definitions to include both rain and p_rain data in order for 
both rain and p_rain to be plotted.

Gary

On Saturday, 17 September 2022 at 16:12:17 UTC+10 [email protected] 
wrote:

> Hello all,
>
> I installed my WS90 some days ago and was surprised how easy this was 
> going.  The captured temperatures seem reasonable.
>
> Now we had some rain, but the rain is not showing up in Weewx. I am using 
> the WDC skin.
> I have now checked the MysSQL database. The columns with rain/rain rate 
> are Null or 0.
>
> But the WS90 is for sure working. I am sending data to the Ecowitt.net 
> cloud, and this one shows me the rain data.
>
> What would be the next thing that I should check? 
> The skin is probably not the culprit when the DB is empty.  Is this now 
> the driver? -- Does this require any special configuration?
>
> Thanks a lot and best regards,
>    Marcus
>  
>

-- 
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/acfccb73-9928-462f-be67-82885df31888n%40googlegroups.com.

Reply via email to