I have a client that would like to see elapsed time in hours for the life of a switch for when that switch is in the ON state.
example: A pump motor. How many hours has the pump been on for it’s lifetime.
Digital input is switched ON start counter. Off Pause counter. ON resume… etc.
Any idea’s how to accomplish this? I assume something with timestamp manipulation, but it would be cool if I can have the graph updating regularly while the switch is in the on state, instead of updating after a device state toggle.