Is it possible to log "on" time within IDE?

Hello!

I have a nice outdoor misting pump hooked up to a SmartThings switch. The pump itself recommends changing the oil every 50 hours but it’s hard to keep track of how long it’s been running and ideally I would like to avoid wiring in an old-school hour timer to the 120v circuit.

Is it possible to use IDE to track the “on” state of the switch in hours and dump the date into Google Drive or something like that? If it is, how do I go about that?

Any help is greatly appreciated!

try looking at iftt

You could use one of the Google sheets reporting tools. Then filter by that device. If you know spreadsheet formulas it would be easy to create a cell which aggregated the data for you.