Blue print to work with Aqara vibration sensor for automation to trigger notification or other action when Dishwasher or washing Machine is done

Blue print to work with Aqara vibration sensor for automation to trigger notification or other action when Dishwasher or washing Machine is done.
modified from @ Sbyx power sensor blueprint.

11

blueprint:
  name: Appliance has finished shaking
  description: Do something when an appliance (like a washing machine or dishwasher)
    has finished as detected by a vibration sensor.
  domain: automation
  input:
    vibration_sensor:
      name: Vibration Sensor
      description: 'Vibration sensor entity (e.g.  Aqara lumi.vibration.aq1
by LUMI vibration sensor). Needs to have device_class:
        vibration'
      selector:
        entity:
          domain: binary_sensor
          device_class: vibration
    starting_hysteresis:
      name: Starting hysteresis
      description: Time duration the sensor has to stay on.
      default: 5
      selector:
        number:
          min: 1.0
          max: 60.0
          unit_of_measurement: min
          mode: slider
          step: 1.0
    finishing_hysteresis:
      name: Finishing hysteresis
      description: Time duration the sensor has to stay off.
      default: 5
      selector:
        number:
          min: 1.0
          max: 60.0
          unit_of_measurement: min
          mode: slider
          step: 1.0
    actions:
      name: Actions
      description: Actions (e.g. pushing a notification, TTS announcement, ...)
      selector:
        action: {}
trigger:
- platform: state
  entity_id: !input 'vibration_sensor'
  to: 'on'
  for:
    minutes: !input 'starting_hysteresis'
condition: []
action:
- wait_for_trigger:
  - platform: state
    entity_id: !input 'vibration_sensor'
    to: 'off'
    for:
      minutes: !input 'finishing_hysteresis'
- choose: []
  default: !input 'actions'
mode: single
max_exceeded: silent
9 Likes

I was wondering what people use this blueprint for.
Having attached a vibration sensor to a washing machine maybe? Will it work in terms of sensitivity?

I placed one on the drum itself worked great

Same here. Placed one on the drum, it work like a charm :

Before, I tried to put it on the washing machine (outside) but the vibrations were not “recognized”.

Thanks Rod_Poplarchick for this blue print !

3 Likes

I have one on the flap of the litterboxes so I get a notification when one of them went and I have to clean. But also to keep track of the times they went.

1 Like

I’m new to HA and I spent a ton of time trying to figure out this automation. Between the blue print and the idea to attach the sensor to the drum, I have a working automation. Thank you ! ! ! Washing machine was so much easier with a zigbee power plug but the Dryer is electric and uses a 30amp connection.

Hi Florius,
Can you share your configuration? I’m interested to this application too.
Thanks

Would like to know that as well!