RedditPP Mascot

RedditPP

r/homeassistant • … • u/NSMike

Any kind of sound recognition tech that can be used with HA?

I want to automate detection of the end of a cycle for both my washer and dryer. Dryer is easy - slap on a vibration sensor, when vibration starts and lasts longer than 30 seconds, notify me when it stops (with an obvious cushion for "oops I left a sock in the washer" incidents).

The washer is more complicated. A vibration sensor won't work properly when the cycle has many stops and starts, and one cycle has a "soak" option where there is a long stop where it does nothing. Consistently detecting that is going to be a nightmare. What the washer has that the dryer doesn't, however, is a sound that plays when it's finished.

Why not just listen for that sound? Well, the washer's in the basement, and I don't always hear it when it's done. The sound is easily consistent and recognizable - it's just a roughly 5 second long high-pitched tone. What I want to do is have some kind of mic that can detect and recognize when that tone goes off.

Does this kind of hardware exist? If not off-the-shelf, is there something someone has made with ESP32 hardware? I want it to specifically recognize the pitch and length of the tone so it doesn't give false-positives.

— 0