What's the easiest way to log the times a sensor's activated?

So I'm trying to monitor my pressure pump and I want to log the times it's activated...

I was thinking of using a power plug w/ energy meter, but I realized it's more simple to use a vibration sensor instead, setting it to trigger if vibration is detected continuously for more than 5 seconds... (since the pump runs around 10 secs per activation)

To log the date and time, I was going to program a simple web api and create a RULE to hit the URL when sensor is triggered.

But is there a simpler way? perhaps an existing hubitat App?

Rather than creating an external log, why not use the events generated by the sensor?

1 Like

hmm, true.. crude, but works.. :slight_smile: i think that's the simplest way! thanks