Monitor sound level from Camera

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!)

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.

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?