Acoustically detecting smoke detector

I have zigbee smoke detectors in the house. However I have a separate small building without zigbee coverage. This is my ‘man cave’ full of electronics and what have you. I want a notification if the smoke detector goes off. I have a raspberry running controlling the lights.

I bought a cheap USB soundcard and small microphone, into the raspberry they went.

Wrote a program that senses the frequency and volume. It also makes sure that it’s there for a duration as to not trigger on loud music etc. Sends over mqtt and triggers a mqtt smoke sensor in home assistant. I call it beep2mqtt. If it works it’s not stupid…

Yet unlike the category of this post you haven’t actually shared it. :thinking:

Oh, sorry about that. I will place it on github tomorrow.

Here it is: https://github.com/Flurkmark/beep2mqtt.git

Could use a KY-038 and an esp. I had used one to detect doorbell, but also picked up if someone slammed a door. Could be part of a burglar alarm , but they don’t tend to slam doors. Perhaps a teenager presence alarm. :grin: