Hey there!
I wanted to have a simple alarm clock on my nightstand that still can trigger certain automations like blinds, lights and so on.
Therefore, I fitted an ESP into this neat alarm (Lexon Flip with RTC) clock to trigger automations as soon as the alarm goes off.
Essentially, the Beeper runs through a low pass filter to detect a running alarm.
The ESP lives in Deep Sleep until the alarm runs to allow battery operation from the two AAA batteries of the clock itself.
All code lives here: GitHub - chriopter/lcd-alarm-clock-smart: Making a normal LCD alarm clock connected