Multipurpose Vibration Detection for x Amount of Time

I’ve got a SmartThings multi attached to my front door in my apartment. The buildings fire alarm speaker/klaxon is very close by and when it goes off, it sets off the vibration sensor in the multi (going both active and inactive as the alarm goes off).

I’m trying to figure out a way to have a smartapp assess that “if vibration is active x times in x seconds, send alert.”

The best thing I can find is @tslagle13 and his sump pump monitor here: https://community.smartthings.com/t/sump-pump-monitor/6245. Unfortunately, this only allows one iteration of the vibration active/inactive, which pretty much happens every time I open the door.

I’ve tried to figure out a way to do this with Rule Machine, but still haven’t been able to get it. Any thoughts?

I’m sure you can get some help here.