Live data from Hacker News

Fire alarm audio detection, using FFTs and Go

github.com

1–10 of 51 posts

Re: Fire alarm audio detection, using FFTs and Go

#2
Funny, I was just thinking about building something like this since I bought a z-wave smoke alarm listener and it does not work with my first alert system and it really annoys me. It can't be that hard, right? Even something that just detects extremely loud sounds would be useful despite false positives

Re: Fire alarm audio detection, using FFTs and Go

#4
post #3

Just solder a wire in there somewhere. Even if you knew absolutely nothing about electronics, 50 trial and error solder points sounds like less work.

These projects exist because modding life-critical safety equipment is usually not the best idea. You invalidate the testing originally put into the product, and it may fail when you most need it.

Re: Fire alarm audio detection, using FFTs and Go

#5
post #3

Just solder a wire in there somewhere. Even if you knew absolutely nothing about electronics, 50 trial and error solder points sounds like less work.

I agree ! But I have a few fire alarms, and 2 water leak alarms, that would be a lot of wires lying around, and this solution is wireless :)

Re: Fire alarm audio detection, using FFTs and Go

#6

Funny, I was just thinking about building something like this since I bought a z-wave smoke alarm listener and it does not work with my first alert system and it really annoys me. It can't be that hard, right? Even something that just detects extremely loud sounds would be useful despite false positives

I was in a similar situation, and it turns out that setting up new zigbee devices with zigbee2mqtt and a frontend was more work than just detecting the sound pattern with a few lines of Go ! Plus the fire-alarms are compulsory and already installed and managed by my building...

Re: Fire alarm audio detection, using FFTs and Go

#7
bandpass filtering in the time domain seems like it may be more efficient for this use case to me. if i'm reading the code correctly, it seems it's computing a 512 point window and fft on every non-overlapping window.

i guess it depends on what vector/matrix instructions are being used in the underlying implementations.

Re: Fire alarm audio detection, using FFTs and Go

#10

Funny, I was just thinking about building something like this since I bought a z-wave smoke alarm listener and it does not work with my first alert system and it really annoys me. It can't be that hard, right? Even something that just detects extremely loud sounds would be useful despite false positives

I was in a similar situation, and it turns out that setting up new zigbee devices with zigbee2mqtt and a frontend was more work than just detecting the sound pattern with a few lines of Go ! Plus the fire-alarms are compulsory and already installed and managed by my building...

After a few years using Z2M I moved to the native ZHA. It detects devices better in my case.

Device detection is a nightmare in Zigbee, I wish they made it more robust, predictable, ...

Post reply on HN