Need piston to execute based on device on duration

I’m new to Webcore, and not a coder, and I need help making a piston for a special application. I want to send a notification if my Smartthings multi sensor acceleration is active for 1 minute or less. If active for more than 1 minute, no notification should be sent. I know its probably simple for an experienced Webcore user, but I can’t figure out how to structure this piston that needs to monitor device active time and then respond to a less- than -1 minute time on period only, then reset itself for the next occurrence of acceleration activity. Any assistance would be greatly appreciated.