My goal is to record instances where the value is 0 and the corresponding duration. At the end of the day, I want to report that "Controller A" was shut down five times for a total of two hours.
My goal is to record instances where the value is 0 and the corresponding duration. At the end of the day, I want to report that "Controller A" was shut down five times for a total of two hours.
Hello,
It sounds like a use case for the TimeEq function for finding the duration of the shutdown. The analysis would be run periodically e.g. every day at 6:00 with start time being *-24h and end time being *. For the number of shutdowns within a given period two options came to my mind first:
Hope it helps!