๐งบ Laundry Done Notification
๐ Overviewโ
This automation notifies you when your laundry is done using an Aqara Vibration Sensor. It ensures:
โ
The washing machine has been running for at least 10 minutes before monitoring.
โ
The machine has stopped vibrating for 5 minutes before triggering the notification.
๐ ๏ธ Automation YAMLโ
alias: "Laundry Done Notification"
mode: single
trigger:
- platform: numeric_state
entity_id: sensor.aqara_vibration_sensor_strength
above: 10
for:
minutes: 10 # Ensures the machine was running for at least 10 minutes
action:
- wait_for_trigger:
- platform: numeric_state
entity_id: sensor.aqara_vibration_sensor_strength
below: 10
for:
minutes: 5
continue_on_timeout: false
- service: notify.mobile_app_your_device
data:
title: "๐งบ Laundry Done"
message: "โ
Your laundry is finished! Don't forget to take it out."
๐ Explanationโ
1๏ธโฃ The automation triggers only if the vibration strength stays above 10 for 10 minutes (machine is running). 2๏ธโฃ It waits for the vibration strength to stay below 10 for 5 minutes (machine is stopped). 3๏ธโฃ Once the waiting condition is met, it sends a notification to your mobile device.
๐ข Notification Previewโ
- ๐ฒ Title: ๐งบ Laundry Done
- ๐ฉ Message: โ Your laundry is finished! Don't forget to take it out.
๐จ Customizationsโ
๐น Adjust Sensitivity: Modify the above: 10 or below: 10 values to fine-tune detection. ๐น Change Waiting Time: Modify for: minutes: 5 if you need a longer confirmation period. ๐น Add More Actions: Flash smart lights or play a sound when laundry is done!
๐ Future Enhancementsโ
๐ก Add a reminder notification if laundry isnโt picked up after 30 minutes. ๐ก Integrate with voice assistants like Alexa or Google Assistant for spoken alerts.