Hey everyone! I wanted to share my journey with integrating a smart home security system and automating my living space. It’s been quite the adventure, and I hope my experience can inspire or help others looking to dive into the world of smart homes.
The Challenge
A few months ago, my neighbor’s house unfortunately caught fire, and it really made me realize how important it is to have a reliable smart home system. Despite having various smart devices, I slept right through the incident, which was a wake-up call for me. I knew I needed to improve my setup to be better prepared and a better neighbor.
The Solution
I decided to adapt the “Smart Baby Monitor” guide to listen for loud noises during the night using my security camera’s audio feed. I tweaked the configuration to better suit my needs, focusing on detecting significant noise while ignoring normal sounds like passing cars. Here’s what I added to my configuration.yaml:
yaml
binary_sensor:
- platform: ffmpeg_noise
name: “Front Noise Sensor”
input: -rtsp_transport tcp -i rtsp://IP_ADDRESS_OF_CAMERA_USING_LOWEST_QUALITY_FEED
extra_arguments: -filter:a highpass=f=300,lowpass=f=2500,volume=volume=2 -codec:a libmp3lame -ar 16000 -nostats
initial_state: true
duration: 1
reset: 15
peak: -15
I also set up an automation to trigger a light and send notifications if the noise persists. Right now, I’m testing it 24/7 to see how often it triggers, and so far, I’m really happy with the results!
Key Learnings
- Noise Detection: Adjusting the
peakvalue was crucial to ensure it only detects significant noise. This helps in ignoring background noises while catching actual emergencies. - Automation: Using Alexa for notifications and lights ensures I’m alerted even if I’m asleep. It’s a small change that makes a big difference.
- Community Support: I couldn’t have done this without the wealth of information and forums like this one. Reddit and other communities were invaluable in tweaking the settings.
Next Steps
My goal is to expand this system to cover more areas of my home and integrate it with my existing smart devices. I also plan to explore more automation features to make my home even safer and more efficient.
If anyone has tips or suggestions for improving this setup, I’d love to hear them! Let’s keep learning and growing together in the smart home community. ![]()