Skip to content

Warning Raised for Disabled RTSPS on ONVIF Cameras Which Do Not Support RTSPS #127610

Description

@Garywoo

The problem

The ability to add third-party cameras via ONVIF was added to UniFi Protect in version 5.0.33.

I added a Yi Cam running custom firmware that supports ONVIF to my instance of Protect, and ever since, the UniFi Protect integration has been raising the below warning for repair in Home Assistant:

RTSPS is disabled on the camera Yi Cam.
RTSPS is required to live stream your camera within Home Assistant. If you do not enable RTSPS, it may create an additional load on your UniFi Protect NVR as any live video players will default to rapidly pulling snapshots from the camera.

You may manually enable RTSPS on your selected camera quality channel or Home Assistant can automatically enable the highest quality channel for you. Confirm this repair once you have enabled the RTSPS channel or if you want Home Assistant to enable the highest quality automatically.

The only button available on this warning is Submit. there is no Ignore button.

When I click submit, I see the message:

Success!
The issue is repaired!

However after a while, or after a reboot, the warning returns.

UniFi Protect does not currently offer RTSPS streams for third-party ONVIF cameras. I believe this is the issue, as the integration is recognising the existence of camera without an RTSPS stream, but not recognising that RTSPS streaming is not possible for the camera.

Here's the settings of the camera as they appear in the UniFi Protect app, showing the lack of an Advanced section, which normally holds the RTSPS settings:
image

What version of Home Assistant Core has the issue?

core-2024.10.1

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

UniFi Protect

Link to integration documentation on our website

https://www.home-assistant.io/integrations/unifiprotect

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions