AnsweredAssumed Answered

Current pump working time

Question asked by igreguri Champion on Mar 21, 2018
Latest reply on Mar 29, 2018 by igreguri

How to find current pump working time in seconds (from start to now)?

I try sometning like this, but I think problem is in PrevEvent...

IF (('Status' = "ON") AND (PrevVal('Status','*') = "OFF")) THEN Int(TimeEq('Status',PrevEvent('Status','*')="OFF",'*',"ON"))  ELSE 0


Where I'm wrong?