So I’ve got a Amcrest AD410 video doorbell.
Using go2rtc I’ve setup a WebRTC 2-way communication URL https://mynasIP:8123/api/hassio_ingress/123456789/webrtc.html?src=2way_doorbell&media=video+audio+microphone
I’ve got also another stream with video only by calling entity camera.citofono_main
.
I would like now to have a card like this:
- Entity
camera.citofono_main
at top playing when nothing is happening or if I close the call - Green
mdi:phone
button to answer and redmdi:phone-hangup
button to close, both at bottom - If I press the green button then URL https://mynasIP:8123/api/hassio_ingress/123456789/webrtc.html?src=2way_doorbell&media=video+audio+microphone should replace entity
camera.citofono_main
- If I press the red button then the URL above has again to be replaced by entity
camera.citofono_main
I did lots of tried, but being an average YAML guy I didn’t manage to get the whole thing working…
Any skilled person that can please help me?