UniFi Protect Doorbell: Stream Camera Feed to Google Nest Hub

Automatically streams the live camera feed from your UniFi Doorbell to Google Nest Hubs or Chromecast screens whenever someone rings the doorbell, and automatically stops streaming after a customizable duration.


:rocket: How to Import

Method 1: My Home Assistant (One-Click)

Click the badge below to open your Home Assistant instance with the blueprint pre-filled:

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

Method 2: Manual Import via URL

  1. In Home Assistant, navigate to Settings > Automations & Scenes > Blueprints.
  2. Click Import Blueprint (bottom right).
  3. Paste the following URL into the dialog:
    https://github.com/epiech/ha-blueprints/blob/main/blueprints/automation/unifi/doorbell_cast/unifi_protect_doorbell_cast.yaml
    
  4. Click Preview Blueprint, then click Import Blueprint.

:sparkles: Features

  • Dual Trigger Support: Compatible with both the Last Doorbell Ring timestamp sensor (sensor.*_last_doorbell_ring) and the doorbell binary_sensor.
  • Smart Restart: If the doorbell is pressed again while the video is streaming, the countdown timer resets rather than cutting off the feed.
  • Nighttime Shield: Ignores unavailable and unknown state transitions so Nest Hub screens don’t wake up during overnight Home Assistant updates.
  • Multi-Screen Streaming: Casts to one or multiple Google Nest Hubs or Chromecast displays at the same time.
  • Custom Actions Hook: Optionally run extra actions alongside the stream (e.g. pause TV playback, play an indoor chime, or turn on porch lights).

:clipboard: Requirements

  • Any UniFi Protect Doorbell paired via the official UniFi Protect Integration.
  • One or more Google Nest Hubs or Chromecast media players paired via the Google Cast integration.

:light_bulb: Tips for Best Performance

  • Google Cast devices play video via HLS (HTTP Live Streaming), which typically buffers for 3–6 seconds before playback begins.
  • For best performance and minimal stutter on Nest Hubs, choose your doorbell’s Medium or High Resolution Channel entity.

GitHub Source: epiech/ha-blueprints