
Flashing Your Home with WLED When Your Dreame Vacuum Finishes Cleaning (and More Fun Automations)
Smart homes are at their best when they don’t just automate tasks—they communicate. One of the most satisfying “tiny joy” automations you can build is visual feedback: your lights reacting to events in your home.
A perfect example is using WLED to flash a specific color when your Dreame robot vacuum finishes cleaning. It’s simple, surprisingly useful, and easy to expand into a full “home status lighting system”.
But don’t stop at “cleaning finished”. Once you start thinking in events, your vacuum becomes just one of many triggers for a more expressive home.
The Core Idea: Turning Cleaning Status into Light Signals
Most Dreame robot vacuums exposed to Home Assistant provide state changes like:
cleaningreturningdockedidleerror
The idea is simple:
When the vacuum changes from
cleaning→docked, trigger a WLED effect (e.g. green flash).
This creates an immediate visual confirmation that doesn’t require checking an app.
Components You Need
1. Dreame Vacuum Integration
Your vacuum (for example a Dreame L10s Ultra or similar model) should be integrated into Home Assistant. Once connected, you typically get an entity like:
vacuum.dreame_bot
This entity exposes state changes and sometimes attributes like battery level or cleaning history.
2. Home Assistant
Home Assistant acts as the brain that listens for state changes and triggers actions.
We’ll use:
- State triggers
- Conditional logic
- Service calls
3. WLED Device
WLED runs on ESP8266/ESP32 devices and controls addressable LED strips.
You can configure:
- Static colors
- Effects (rainbow, blink, wipe, etc.)
- Segments (different zones of LEDs)
Example hardware:
- ESP32
- WS2812B LED strip behind TV, hallway, or kitchen cabinet
4. Optional: Smart Lighting Context
To make things more interesting, you can combine WLED with:
- Philips Hue or IKEA Tradfri
- Motion sensors
- Energy monitoring (kWh usage of vacuum charging dock)
Basic Automation: Flash Green When Cleaning is Done
Let’s start with the core idea: when cleaning ends, flash green for 10 seconds.
Home Assistant YAML
alias: Vacuum finished cleaning - WLED notification
description: Flash green WLED when Dreame vacuum finishes cleaning
trigger:
- platform: state
entity_id: vacuum.dreame_bot
from: "cleaning"
to: "docked"
condition: []
action:
- service: light.turn_on
target:
entity_id: light.wled_strip
data:
rgb_color: [0, 255, 0]
brightness: 255
effect: "Blink"
- delay: "00:00:10"
- service: light.turn_off
target:
entity_id: light.wled_strip
mode: single
What this does:
- Detects when vacuum finishes and returns to dock
- Turns WLED strip green
- Activates blink effect
- Resets after 10 seconds
Why This Works So Well
This type of automation is powerful because it:
- Removes the need to check apps
- Provides ambient awareness
- Feels “alive” without being noisy
- Is easily extensible
Instead of your vacuum being a silent robot, it becomes part of your home’s communication system.
Going Beyond “Cleaning Finished”
Now the fun part: turning your vacuum into a status broadcaster for your entire home.
1. Cleaning Start = Calm Blue Pulse
When cleaning begins, you can signal “work in progress”.
alias: Vacuum started cleaning - WLED blue pulse
trigger:
- platform: state
entity_id: vacuum.dreame_bot
to: "cleaning"
action:
- service: light.turn_on
target:
entity_id: light.wled_strip
data:
rgb_color: [0, 120, 255]
brightness: 180
effect: "Pulse"
Meaning:
- Blue = active cleaning
- Pulse = ongoing activity
2. Error State = Red Flash Alert
If the vacuum gets stuck, you want immediate visibility.
alias: Vacuum error - WLED alert
trigger:
- platform: state
entity_id: vacuum.dreame_bot
to: "error"
action:
- repeat:
count: 5
sequence:
- service: light.turn_on
target:
entity_id: light.wled_strip
data:
rgb_color: [255, 0, 0]
brightness: 255
- delay: "00:00:01"
- service: light.turn_off
target:
entity_id: light.wled_strip
- delay: "00:00:01"
Meaning:
- Red blinking = immediate attention required
3. Battery Awareness (Energy Thinking in kWh)
Even though robot vacuum batteries are small, you can still treat energy usage in a “smart home energy” mindset.
For example:
- If battery < 20%, flash yellow
- If charging starts, show slow green breathing effect
alias: Vacuum low battery warning
trigger:
- platform: numeric_state
entity_id: vacuum.dreame_bot
attribute: battery_level
below: 20
action:
- service: light.turn_on
target:
entity_id: light.wled_strip
data:
rgb_color: [255, 180, 0]
effect: "Breathe"
This pairs well with broader home energy tracking in kWh (washing machines, EV chargers, etc.), creating a consistent “energy awareness language” across your home.
4. Night Mode: Silent Visual Feedback
At night, you don’t want flashing lights. Instead:
- Dim warm white glow when vacuum finishes
- No blinking
alias: Vacuum finished - night mode indicator
trigger:
- platform: state
entity_id: vacuum.dreame_bot
from: "cleaning"
to: "docked"
condition:
- condition: time
after: "22:00:00"
before: "07:00:00"
action:
- service: light.turn_on
target:
entity_id: light.wled_strip
data:
rgb_color: [255, 160, 80]
brightness: 40
5. Room-Based Cleaning Feedback (Advanced Idea)
If your vacuum supports room tracking, you can map colors per room:
- Kitchen → warm white
- Living room → soft green
- Bathroom → blue
Then flash the last cleaned room color when finished.
This requires parsing cleaning history attributes, but it creates a “spatial memory” effect in your lighting.
6. Energy + Cleaning Dashboard Combo
If you combine:
- Vacuum runtime
- Battery cycles
- Charging energy (in kWh via smart plug)
You can build automations like:
If total weekly vacuum energy > 0.05 kWh, show amber warning on WLED once per week.
This is more advanced, but it connects cleaning automation with broader home efficiency thinking.
Why WLED Is Perfect for This
WLED is ideal for this kind of automation because:
- Fast response time
- Highly customizable effects
- Works locally (no cloud delay)
- Easily integrated with Home Assistant
- Supports complex animations without heavy scripting
It turns LEDs into a real-time notification layer for your home.
Final Thoughts
A robot vacuum is already one of the most satisfying smart home devices. But when you connect it to a visual feedback system like WLED, it becomes part of a larger language in your home:
- Green = done
- Blue = working
- Red = problem
- Yellow = attention
- Warm white = quiet mode
Once you build this for your vacuum, it becomes natural to extend it to other systems:
- Washing machine status
- EV charging (kWh-based thresholds)
- Dishwasher completion
- Door locks or security alerts
The result is a home that doesn’t just automate—it communicates.
Some of the links in this article are "affiliate links", a link with a special tracking code. This means if you click on an affiliate link and purchase the item, we will receive an affiliate commission. The price of the item is the same whether it is an affiliate link or not. Regardless, we only recommend products or services we believe will add value to our readers. By using the affiliate links, you are helping support our Website, and we genuinely appreciate your support.