Tuya vibration sensor/Better Laundry Monitor

If you set 30 seconds as an example, the acceleration will switch to 'inactive' after 30 seconds without a new vibration detected. If there is a permanent vibration, the 30 seconds timeout will be restarted again and again every 2 seconds, because 2 seconds is the device detection (or retrigger) period.

If you need to filter vibrations whose duration is less than 10 seconds as an example, you'll need to use a RM5 rule for now. Or I can think of adding such a 'minimum active time' filter in the driver. This filter will delay the 'acceleration active' event with the time of the filtering period, however for the needs of detecting a laundry machine working or idle state could be what we need?


Update May 2024: now there is a dedicated thread for the Tuya Vibration sensors :

1 Like