This is an automated archive made by the Lemmit Bot.
The original was posted on /r/homeassistant by /u/NRG1975 on 2024-11-03 12:34:36+00:00.
So, the dishwasher went out, and needed to replace it. I am cheap, and do not see the value in buying a brand new dishwasher. While some of the smart capabilities of the new washers are enticing, they are not so overwhelming, as I only need to know when the washer starts and ends, andthe door is open or closed. At $500USD for a new washer, a good old Maytag or GE with a Shelly PM Mini Gen3 16A will work just fine.
So, I bought a GE dishwasher off Facebook marketplace for $50 bucks nice unit, have one in another house and it has been a horse. Make sure to turn power off at the breaker before you do this! Then wired up the Shelly PM Mini in the junction box below the dishwasher, behind the kick panel. Wiring it in is straightforward, see image for instructions. Double checked wiring, and then turned the breaker back on. Excellent no smoke coming from the dishwasher! Logged into the Shelly’s UI by connecting to it’s wifi ap and then navigating to it’s webpage 192.168.33.1. Was able to get it connected to my Hidden IoT wifi network. Home Assistant saw it immediately. Named it GE Dishwasher. Then ran the dishwasher and watched it’s power usage through the “Light” cycle. Was able to see that power did not drop below 2.6 watts through a cycle and resting wattage was 1.8 watts, and with door cracked, it draws 0 watts. So, anything below 2.3 watts is considered Not Running, I added a little cushion. Created a Threshold Sensor to tell me when the dishwasher is running based on these numbers. We’ve got a functioning sensor to tell us when it is on and off.
From here, I created an automation to tell me when the dishes are clean and dirty. When the dishwasher runs(power is 2.3w and above) then finishes(power is below 2.3w), delay of 1 minute, then automation is triggered. When it triggers, Home Assistant fires off 2 phone notifications 1 to me and 1 to the wife. It sends a TTS notification to the Google Hub and Minis that the dishes are done. It makes the upper kitchen led accent lights breathe effect in green twice every 10 minutes till the optional Aqara Vibration sensor senses the door being fully opened past 75 degree angle for 1.5 minutes(emptying dishwasher). Then it will revert the dishwasher status to being dirty and stops the breathing lights in the kitchen. There is a few other items in there as well. I also created another threshold sensor, when the door tilt sensor reads that the door is below 15 degrees of angle, then the door is open, above that it is closed. It is unfortunately not precise enough to know if it is cracked or open, but that is irrelevant to my needs. The dishes status boolean also is tied to an automation. When the Dishes Status boolean is dirty, it monitors how many times someone is in the kitchen via kitchen motion sensor, this gets added to a counter, and once it hits a a randomly generated number between 1-100 it will send a TTS notification to the Kitchen Hub that says “While you are in here, please did a dish or two”. When they are clean, no notifications.
Code upon request.