Detect level drop over time

Hi all,

I have a situation I could use some help with. I need to detect when the level of water in a tank drops constantly over, let’s say, more than one hour. As I cannot explain it very well in words, a graph will help:

graph

I want to detect the drop that started happening at approx 04:00. As you can see, the level of water was somewhat static before 04:00. After 04:00 it started dropping and it continued to drop, more or less linearly, over several hours. I will set thresholds (like only detect a drop if it’s over 20cm in one hour, or something similar), but I need help setting it up.

Any ideas?

Thanks!

Set up a trend sensor to detect your minimum slope level.

Trigger on that binary sensor being active for 1 hour.

1 Like

Thank you for the quick response, I will try it!