Thank you gjr80... Ups was my plan B ... I think if the power outage extends to the next day probably the amount of rain will passed to the next day too ... You will have one wrong saved record but your total will be correct... Anyway i thought that will be easier to do this but as you said other approach is going to be messy
On Saturday, January 15, 2022 at 12:16:31 AM UTC+2 gjr80 wrote: > My vote is put the necessary equipment on UPS. Any other approach is going > to be messy to handle no matter how you do it, what do you do if the power > outage extends over a midnight boundary? How do you apportion rainfall > across the outage period? > > Gary > On Saturday, 15 January 2022 at 05:00:06 UTC+10 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/f192faaa-e788-4a98-9da3-a56916f8d47an%40googlegroups.com.
