Q: Our application is monitoring rainfall.
Is it possible to calculate if it was raining in the last 30 minutes prior to the last measurement?
A: This can be done by using a Rolling Aggregation.
Setup:
Rainfall is detected by a tipping bucket.
The tipping bucket is connected to a digital input port.
Data Log interval set to 10 min.
Aggregation channel is fed by digital counter value.
Aggregation period is 30 min.
Detection output:
Use “Average” [4] or ”Rate Change” [A] for detection.
Rain in last 30 minutes is True if (one of these values) not equals to “0”.