Has anyone used a Unifi Cloud Key 2+ (Unifi Protect) with HAss?

Just found this thread and it got me connected.

I was able to get logged into the camera’s IP with http (no “s”) and see camera settings. No SSH required.

Note that I did have to check the box to “Enable Anonymous Snapshot”. I could not get any combination of username/password to work. The unifi_protect_device_password is in Protect > Settings > General.

Camera login:

    username: ubnt
    password: unifi_protect_device_password

Here’s my config:

camera:
  - platform: generic
    name: Camera1
    still_image_url: http://camera_ip_addr/snap.jpeg
    stream_source: rtsp:///string_from_protect_settings_for_the_camera

And Lovelace cards… The still image version streams in the pop-up window after clicking the still.

entity: camera.camera1
type: picture-entity
name: Camera1 Still

entity: camera.camera1
type: picture-entity
name: Camera1 Live Stream
camera_view: live

type: picture-glance
entities: []
camera_image: camera.camera1
4 Likes