@Andrei_I wrote:
Hi,
I am having issues trying to setup the Baby monitor from here: https://www.home-assistant.io/blog/2017/02/03/babyphone/. The entity id created by the binary_sensor has the state Unavailable.
My setup is as following:
- RPI4 with HassIo (Home Assistant version 0.104.2)
- Ubuntu personal machine with USB microphone to produce the noise (here I am creating the ffmpeg server also)
Home assistant configuration.yaml has the following config:
ffmpeg: ffmpeg_bin: /usr/bin/ffmpeg binary_sensor: - platform: ffmpeg_noise input: rtp://236.0.0.1:2000 initial_state: false duration: 2 reset: 60 peak: -32
I am starting the server on my Ubuntu machine using:
ffmpeg -re -f alsa -i hw:1,0 -acodec mp3 -ab 128k -ac 2 -f rtp rtp://236.0.0.1:2000
I am testing the stream (from within the Home Assistant docker container) using this:
ffmpeg -i rtp://236.0.0.1:2000 -vn test.mp3
There is no problem in creating the mp3 file with received sound.
Am I missing something in HA configuration, or shall i open an issue in HA github?
Posts: 2
Participants: 2