UniFi Protect Doorbell Two-Way Talk in Home Assistant Needs a go2rtc PR Build

UniFi Protect Doorbell Two-Way Talk in Home Assistant Needs a go2rtc PR Build. AutoMatter

Two-way talk from a Home Assistant dashboard to a UniFi Protect doorbell has been a long-running wish. A pull request to go2rtc now offers a cleaner way to do it, and a Home Assistant forum post reports it working on four cameras. It is not merged, so using it today means building go2rtc yourself.

What happened

The pull request, #2340 on go2rtc, was opened on July 9, 2026. It adds a unifi-talkback: source that uses UniFi Protect’s own talkback API. According to the PR, talkback stays idle until a client actually sends microphone audio. Normal viewing does not open a talkback session or wake the camera’s speaker. When audio does arrive, go2rtc creates a session, converts the audio with FFmpeg and streams it to the camera.

The PR says only Opus at 22 kHz is known to be advertised for talkback. The author tested it on a G4 Doorbell Pro and a Doorbell Lite, and asked owners of other doorbells to report back. The author also says the code is AI-assisted and that this is a first contribution.

In a Home Assistant community post, a separate user reports verifying it on two G4 Doorbell Pro and two G4 Instant cameras, with a build write-up. They say the PR has one community approval but nothing yet from the maintainer, who they say has not been actively reviewing new feature PRs against master.

What it means for an installed system

This is not a setting you switch on. The write-up describes merging the PR into the v1.9.15 tag and compiling it, which needs Go 1.26 or newer. You then run the result as a service. Until the PR lands in a release, you are carrying your own fork, and it is your job to track updates to it.

A few cautions from the pages are worth taking seriously:

  • Keep it separate. The forum poster says restarting a shared go2rtc instance too many times while testing exhausted the UniFi controller’s RTSP connection limit and briefly took down their whole camera wall. Their advice is a dedicated instance for talkback, apart from the one serving your regular camera views.
  • Treat the API key as a secret. The source needs a UniFi API key from a local account with access to the camera. Do not put it in a public repository.
  • Keep a rollback. The write-up suggests keeping your previous go2rtc binary on disk. Only the binary changes, so your stream definitions are untouched if you need to go back.
  • iPhone users. The poster reports the Home Assistant Companion app stops passing audio once it leaves the foreground. They fixed it with a small change to their camera card, so the fix depends on which card you use.
  • Camera support is thin. The confirmed list is G4 Doorbell Pro, Doorbell Lite and G4 Instant. Anything else is untested as far as these pages show.

One more detail from the PR: if your Protect stream is HEVC, a browser or tablet may not play it over WebRTC. The PR author transcodes to H.264 for their kiosk tablet. That is extra CPU work to plan for.

Buy, build or wait

Do not buy a UniFi doorbell for this feature on the strength of an unmerged PR. If you already own one of the tested models and are comfortable building Go software and running a second service, it looks like a reasonable weekend experiment on a separate instance. If you want something that updates itself and survives upgrades, wait for the PR to merge and ship in a release. Once it does, the write-up says you can drop the custom build and return to stock go2rtc.

If you have the same hardware, comments on the PR from people running it are the thing the author says would help move it forward.

Sources