June 25th, 2021Images on this page are low resolution to save bandwidth, click them for full size versions
First things first, I want to clarify that this guide is for UniFi Protect, not UniFi Video. If you're looking for a guide to help with UniFi Video, I'm sorry. On the bright side, I think you should be able to just use the UniFi Video integration. For this guide I'll be using a UniFi Dream Machine Pro running firmware 1.9.3 and UniFi Protect 1.18.1 and UniFi Video Camera G3 Bullet cameras running firmware 4.38.1. This guide should continue to work on newer firmware versions but I provide no guarantees because I am not Ubiquiti. If an update eventually breaks this guide I encourage you to let me know so I can put a warning here somewhere. That all said, the process is fairly simple:
ubntand the password is the Device Password you copied in step 2.
https://camera_IP_address/snap.jpegto verify functionality. Copy this address down somewhere, you'll need it for Home Assistant.
configuration.yamlfile. I use the file editor add on, but you may edit the file however you wish. Add this to the bottom of your configuration file making sure to replace the placeholders with the information you wrote down earlier:
- platform: generic
name: Camera Name
Congratulations, you're done!
"But wait!", I hear you say, "How do I add this to my Lovelace dashboard?" Great question! The best solution I've found so far uses a picture glance card with
entities left empty. Create a new picture glance card then press Show Code Editor and configure it like so:
You can also add a
title if you want to have the camera name displayed over the stream. If you don't want a title there will still be a thin bar across the bottom of the feed, as far as I can tell there's no way to get rid of it entirely.