Thank you for the answer. I'm not good enough at php to do a command line that would do this subtraction operation.
Where in HP1000.py it is. It would not be better to just tell it to stop adding the daily precipitation value. The weather station knows the value of the daily precipitation, it performs the calculation itself. If anyone knows where in weewx, "rain" is added (I use fileparse) ?????? Le jeudi 8 octobre 2020 à 03:47:46 UTC+2, [email protected] a écrit : > WeeWx expects the amount of rain since the last packet. Therefore you need > to remember the last 'rain' value you sent and then subtract that from the > current reading (and remember the new value for the next packet). > I know you are not using my driver but if you have a look at the HP1000 > driver python source you will see how I handle that for my weather station > which does the same thing - reports the current daily total each time. > There are probably many other drivers out there that do the same thing. > Susan > -- 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/ebd92e77-1c1f-4430-bb17-1c925557db8an%40googlegroups.com.
