Rain Gauge convert the Bucket Tips to mm per hour I was trying to implement it myself into the support.cfg but I have to admit I have failed... Since 1 tip equals to 0.2794mm the equation should be something like: Total of the tips times 0.2794mm in 3600 seconds and reset, but since I am an absolute Python I have no idea whatsoever on how to implement it...
The rain gauge gives the number of tips since the last reading, so if you set it to read once per hour and just multiply by 0.2794 then that should be fine. The calibration function might look something like:
Alternatively you may want to read every five minutes and then multiply by 12 to get an hourly rate every five minutes.
This only works if you're also happy reading other metrics at the same frequency as rainfall, since the software only allows you to specify a single sample frequency for all sensors. There is currently no facility to aggregate values across multiple sensor readings, and it's not something I have any plans to implement. You could probably put a variable in raingauge.py to hold a running sum of bucket tips and then amend getval() to only return a value if it's more than an hour since the last one was returned.