I’ve already added a LED strip below the kitchen to give some ambient and status lighting (ESP32 with WS2812B). And I also already had a power plug that measured the power (Athom smart plug V2). I’ve now also a simple door sensor (aqara zigbee). I drilled a hole in the neighbourinf cabinet and embedded some magnet, and placed the door sensor on the dishwasher door. Our dishwasher has the feature to auto open the door when it’s done to air dry it.
This all I now have put into a automation to calculate when the dishwasher is; Planned, Running, Finisched, and now emthied too!
No more asking if the dishwasher is going to run tonight, or if its clean. It will tell you with the LED strip!
description: ""
triggers:
- type: power
device_id: c1ec0c6f63d1ecd5d3db78555bcdc1b0
entity_id: ff1351d92d6d4c744974dfbe0a5ad055
domain: sensor
trigger: device
above: 1
id: sence
- type: power
device_id: c1ec0c6f63d1ecd5d3db78555bcdc1b0
entity_id: ff1351d92d6d4c744974dfbe0a5ad055
domain: sensor
trigger: device
above: 10
for:
hours: 0
minutes: 1
seconds: 0
id: running
- type: power
device_id: c1ec0c6f63d1ecd5d3db78555bcdc1b0
entity_id: ff1351d92d6d4c744974dfbe0a5ad055
domain: sensor
trigger: device
below: 1
for:
hours: 0
minutes: 1
seconds: 0
enabled: true
id: done
- type: not_opened
device_id: 7e88b779bd6eb8ca35bf872479867fca
entity_id: 4dbe83576f52026e60073aea8ea105b0
domain: binary_sensor
trigger: device
for:
hours: 0
minutes: 0
seconds: 10
conditions:
- alias: from_state != unavailable
condition: template
value_template: "{{ trigger.from_state.state != 'unavailable' }}"
actions:
- alias: Change state
choose:
- conditions:
- condition: state
entity_id: input_text.vaatwasser_state
state: "off"
- condition: numeric_state
entity_id: sensor.smart_plug_23_power
below: 10
above: 1
sequence:
- data:
value: sensing
action: input_text.set_value
target:
entity_id: input_text.vaatwasser_state
- conditions:
- condition: numeric_state
entity_id: sensor.smart_plug_23_power
above: 10
sequence:
- data:
value: running
action: input_text.set_value
target:
entity_id: input_text.vaatwasser_state
- conditions:
- condition: state
entity_id: input_text.vaatwasser_state
state: running
- condition: numeric_state
entity_id: sensor.smart_plug_23_power
below: 1
sequence:
- data:
entity_id: input_text.vaatwasser_state
value: done
action: input_text.set_value
default:
- data:
entity_id: input_text.vaatwasser_state
value: "off"
action: input_text.set_value
- action: script.update_and_shown_led_strip_status
metadata: {}
data: {}
mode: queued
max: 3
Awesome idea! Thanks for sharing
while $wife $at_sink; do $dishwasher_working; end
vaatwasser
I love the esp32 revolution! Such a capable little chip.
I’ve hardly scratched the surface with them, but I did create on/off sensors for my ancient washer & dryer with them. I’m sure I’ll come up with more ideas soon enough.
I actually have been doing the same thing for a year or so now! Works great!
I tried the magnetic door sensor but ended up switching over to an accelerometer sensor because I got it to work more consistently. I can power the sensor from my LED controller and just ran the wire alongside the LED strip and used a command strip to mount it inside the door. Plus I don’t need batteries!
I benefited from that also because I can tell if my door is cracked vs open with the tilt. I used the open status to help reset the status to empty if the door is open fully for 3minutes.
I could share some of my automation if you’re curious but I also upgraded it to start/stop/reset home assistant timer entities. I can use those timers to have the LED strip fill halfway if it’s in the middle of its drying cycle as an example. When it’s done it’s lit all the way across.
Good idea.
My dishwasher has a built-in red LED at the bottom that shines onto the ground. It turns on when it starts, and turns off when it’s done. That’s been good enough for me. Yours is definitely fancier though!
Some more fotos of the new magnet placement

This is such a good idea, and good execution!
Damn this is awesome! Nice work! When I own a home someday I would love to do something like this. Sometimes I find it difficult to remember to check appliances like dishwashers, washers, and dryers bc I get distracted.
So the automation is triggered if the power draw is above a certain amount? I assume there is a smart plug? Or is it a dishwasher with Wifi? Forgive me still learning how these things work.
Its that athom smart plug I mentioned. Its used to track "planned, running, and finisched " states
Ah I missed that. That’s great! I should look into it.
Love this! Excellent work and great use case for Zigbee 👍




