this post was submitted on 04 Nov 2025
105 points (100.0% liked)

homeassistant

16750 readers
236 users here now

Home Assistant is open source home automation that puts local control and privacy first.
Powered by a worldwide community of tinkerers and DIY enthusiasts.

Home Assistant can be self-installed on ProxMox, Raspberry Pi, or even purchased pre-installed: Home Assistant: Installation

Discussion of Home-Assistant adjacent topics is absolutely fine, within reason.
If you're not sure, DM @GreatAlbatross@feddit.uk

founded 2 years ago
MODERATORS
 

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
top 13 comments
sorted by: hot top controversial new old
[–] HiTekRedNek@lemmy.world 1 points 40 minutes ago

while $wife $at_sink; do $dishwasher_working; end

[–] MeThisGuy@feddit.nl 4 points 5 hours ago
[–] YiddishMcSquidish@lemmy.today 4 points 13 hours ago (1 children)

I love the esp32 revolution! Such a capable little chip.

[–] IphtashuFitz@lemmy.world 1 points 1 hour ago

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.

[–] I3lackshirts94@lemmy.world 3 points 12 hours ago

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.

[–] dan@upvote.au 9 points 17 hours ago* (last edited 17 hours ago)

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!

[–] JelleWho@lemmy.world 12 points 20 hours ago

Some more fotos of the new magnet placement

Magnet placement Aqara sensor placement

[–] ayyy@sh.itjust.works 4 points 19 hours ago

This is such a good idea, and good execution!

[–] dditty@lemmy.dbzer0.com 5 points 20 hours ago

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.

[–] Kirk@startrek.website 4 points 20 hours ago (1 children)

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.

[–] JelleWho@lemmy.world 3 points 18 hours ago (1 children)

Its that athom smart plug I mentioned. Its used to track "planned, running, and finisched " states

[–] Kirk@startrek.website 1 points 15 hours ago

Ah I missed that. That's great! I should look into it.

[–] ifGoingToCrashDont@lemmy.world 2 points 20 hours ago

Love this! Excellent work and great use case for Zigbee 👍