Nothing fancy.
frontdoor_send:
- rtsp://xxxxxx:[email protected]/h264Preview_01_main
- ffmpeg:{input}#audio=opus
Nothing fancy.
frontdoor_send:
- rtsp://xxxxxx:[email protected]/h264Preview_01_main
- ffmpeg:{input}#audio=opus
Ah, I see. Are you using the Frigate integration in Home Assistant or stand alone Frigate? I have the stand alone Frigate and canāt seem to send tts to my doorbell. But reading through the docās, it looks like the steam setting needs to be configured in the go2rtc.yaml file which I donāt have. Do you know if I create one manually if this would work or does this only apply to Frigate integrated?
I donāt use frigate as a backend. I only use the frigate card and a regular go2rtc installation. I would guess that if you created a go2rtc config in frigate, it work work similarly.
Okay thanks. Iāll give it a try.
Did you figure this out? I just canāt figure out what to put in the stream object.
Iām running frigate in docker so I canāt think of what makes sense to go here!
Where did you define your frontdoor_send? Is this part also in your yaml.config?
can you elaborate how you did this? all i want to achieve is for my doorbell to play a ding dong sound whenever the doorbell button is pressā¦ the ding_dong audio file is locally available in my HA upload folder.
I just got the reolink wifi doorbell working as a media player entity.
Latest firmware, go2rtc 1.9.4 installed from HACS - not the default you get with the webrtc integration.
Iād been struggling with it for a while, found this post:
https://www.reddit.com/r/homeassistant/comments/1f8jyzo/reolink_poe_doorbell_with_2_way_audio_tts/ so credit to that poster
I donāt use Frigate so I skipped that
configuration.yaml
media_player:
platform: webrtc
name: mediaplayername
stream: camera_name
audio: pcmu/8000
That ^^ is supposed to be pcmu/8000 , at first assumed it was a typo for pcma - it isnāt, donāt change it. Iāve seen people posting pcma other places, and this was the thing that fixed my issues.
go2rtc.yaml:
camera_name:
- rtsp://admin:[email protected]:554/Preview_01_main
- ffmpeg:camera_name#audio=opus#audio=copy
And now I can play mp3s or use TTS on media_player.mediaplayername
Incidentally for people doing this with a Tapo:
add to go2rtc.yaml
taportc: tapo://[email protected]
and then add as a media player in configuration.yaml
- platform: webrtc
name: tapocamname
stream: taportc
audio: pcma
Remember to restart the go2rtc addon and reboot when necessary.