How To: Wait A Certain Time After Accelerometer Inactive State

I am using a Fibaro Motion Sensor to sense vibrations while dryer is running. It has an selectable Vibration Retrigger, the default being 15 sec., which is fine. Retrigger is selectable from 1 sec to 9 hrs. I can't pick a set time because the dryer times vary.

What I am trying to do is have a rule that since the vibration sensor retriggers every 15 sec. and if you have a rule that says if the sensor is inactive then speak something, but because of the retrigger it speaks every 15 sec. for example.

So what I need is a way to ignore the retrigger time and have the rule look for a longer inactive time, which is greater than the retrigger time, which basically would be that the dryer had finished.

Any help appreciated. Thanks

This might be easier if you show what you have to start, but something like this may be the general pattern you're looking for in a rule:

Trigger: Sensor active

Actions:

Wait for event: sensor inactive
Wait for event: elapsed time --> 0:01:00
Notify: "Washer done"

This will wait one minute after the last "inactive" report, which your device should send after "active" (if it doesn't, that's another story...). Receiving another "active" event any time before the notification will restart everything from the beginning because that matches a trigger event for your rule, and any trigger event cancels an in-progress "Wait" (and everything after it).

@bertabcd1234 Fantastic, that worked great! Thank you very much. I was trying to use wait for condition and after a dozen different tries it still announced every 15 sec. This announced right away. Got to go read up on the wait for events.

Condition should have worked too, at least for the first thing, but event is generally preferred if you don't have a reason for anything else. You can't do the second thing with a condition; you could use a delay instead, but then you need a way to cancel it (delays do not automatically cancel) when the sensor becomes active again, so I think this is the easiest way....in case you were curious about other options.

Glad you got something figured out!