[weewx-development] Re: How to implement rain and rainRate fields in a new driver?

2020-03-08 Thread Bill Burton
Hello Gary, Thank you so much for the thorough reply with all the tips on how to implement rain field functionality! Just to be clear, the interval the driver receives a loop packet is controlled by the driver's polling interval, not by the station as the driver is polling the station's

[weewx-development] Re: How to implement rain and rainRate fields in a new driver?

2020-03-07 Thread gjr80
Bill, My two cents. This is a very common situation, many stations provide one (or more) cumulative rainfall values. Since WeeWX requires a per-interval or delta value all you do is pick one of the cumulative rain values (in your case Rain Today is the obvious choice) and calculate the