Below are some officially maintained blueprints for the UniFi Protect integration.
To take full effect of this automation blueprint, your Home Assistant instance needs some setup beforehand.
- A UniFi Protect NVR running on a UDM Pro, UNVR or other Protect Console
- Home Assistant 2022.2.0 or newer running the UniFi Protect integration
- A UniFi camera pair with your NVR
- (Smart/Motion Blueprint only): If you want to filter smart detections, you need a Smart Detection capable camera. This is any G4 series camera except the EA G4 Instant.
- (Doorbell Blueprint only): Your camera must have a chime (like the G4 Doorbell)
- (Smart/Motion/Doorbell Blueprints): A valid HTTPS certificate and public facing Home Assistant instance
- If you do not have these, the actionable notifications and images will not appear in the notifications.
- You do not need your whole Home Assistant to be publically accessible. Only the paths
/api/camera_proxy/*
and/api/webhook/*
need to be accessible outside of your network.
- (Optional, Doorbell Blueprint only): A
lock
entity for your door to allow you to unlock the door via notification - (Smart/Motion Blueprint only, if you want HTML5 Push): HTML5 Push notification Configured
- (Smart/Motion Blueprint only, if you want Mobile app): HA Companion app install on iOS or Android
- (Smart/Motion Blueprint only, if you want Telegram): The Telegram integration configured
Receive notifications when someone rings your doorbell. Optional features:
- Actionable notification to unlock the door and play a TTS message
- Actionable notification to respond to the person at the door
- Actionable notification to mute further notifications for a configurable amount of time
Two blueprints here. Split out for performance (it is unlikely you will want both on the same notification target anyways!)
Receive notifications when motion or a smart detection event is trigger by one of your UniFi Protect cameras. Optional features:
- Filter for device tracker to "not be home" before triggering
- Filter for detected object (for smart detections)
- Actionable notification to mute further notifications for a configurable amount of time
Allows you to set your Doorbell text on your G4 Doorbell dynamically. Some examples include adding the current time and/or outside temp to your doorbell