Is there anyway to setup a sensor with the noise level from an RTSP / ONVIF camera?
I see FFMPEG_NOISE but it appears to be a binary_sensor where you have to specify the minimum noise level in configuration.
Related, does this open up a separate stream from the camera? I already have the cameras configured as generic configured in Home Assistant.
1 Like
I am wanting to do something similar too - the binary sensor is very limiting. I want to see the values coming from a microphone so I can turn up/down the audio in a room (to prevent annoying the neighbours!)
Hellis81
(Hellis81)
June 17, 2020, 10:44am
3
This works for me.
The only problem is that the kids trigger the microphone more than the sound does.
Have not yet found a good way to get direct values from the speakers.
Every time we watch TV we have to basically hold the remote in the hand because the volume varies so much.
I thought of an idea. Use a microphone to measure the sound coming out of the center speaker behind the TV and adjust the volume of my Yamaha receiver.
See it in action (with a volume up again after 1 second).
(high number means low volume on this receiver since it’s negative db scale)
[Level sound]
I added a gy-max4466 microphone on a breadboard with a ESP8266.
Gave it 3.3…
Hello all
I can see the ffmpeg entity but its as unavailable
What is the input that I should insert?
ffmpeg:
stream:
binary_sensor:
platform: ffmpeg_noise
name: ffmpeg_cam_hall
input: rtsp://user:pass@localip:443/stream
peak: -50
duration: 1
reset: 10
Have you had any luck setting this up?