Perfect Vince .... Thank you for your translation :-) ... That's exactly what i am trying to achieve
''so what he's looking for (I think) is how to set weewx up so day-two's rain shows 5mm (new total of 25 - old total of 20)'' and not 0mm because of lost connection even if a power off or a system failure happens ..... On Friday, January 14, 2022 at 9:00:06 PM UTC+2 vince wrote: > (following up for others who might help) > > Stefanos told me via email that his rain sensor reports a rain_total value > that continually increments, so what he's looking to do is reflect whatever > the sensor detected during a power outage and have an accurate total rain > for the day. > > The example he gave was: > > - assume the total_rain counter started at 0 mm > - day-one 20mm of rain falls. The sensor reports total rain = 20mm > - day-two 5mm of rain falls but there was a power outage while the > rain was falling > - when the power goes back on SDR reads the sensor's new reading which > correctly shows 25mm accumulated in total over all days > - so what he's looking for (I think) is how to set weewx up so > day-two's rain shows 5mm (new total of 25 - old total of 20) > > Hope this helps. > > (Stefanos please correct me if I interpreted your email wrong) > > -- 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/69691b9d-0339-4177-87a4-80cb988cb6b0n%40googlegroups.com.
