Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Any chance for UniFi Protect Integration? #190

Open
SemoTech opened this issue Apr 4, 2024 · 5 comments
Open

Question: Any chance for UniFi Protect Integration? #190

SemoTech opened this issue Apr 4, 2024 · 5 comments

Comments

@SemoTech
Copy link

SemoTech commented Apr 4, 2024

Hi @SvenVD, hope this finds you well.

I was wondering if aside from manually specifying RTSP streams, for those of us that use the Ubiquiti UniFi Protect cameras, there could maybe be a way to have Rpisurv actually connect to the Protect a UniFi NVR (UDR, UDM-Pro, UDM-SE, UNVR/UNVR-Pro) and allow selection of a "Live View" cameras configurations dashboard, in the same way that the UniFi Protect ViewPort device does?

We could create a Protect User (Read-Only) and use those credentials in RpiSurv to automatically pull the RTSP streams for the cameras we want based on the pre-created dashboard ("Live View") in Protect.

This will also alleviate the issue where the UniFi Protect Cameras RTSP stream URL's change if a camera is reset.

Thank you.

@SvenVD
Copy link
Owner

SvenVD commented Apr 11, 2024

I am happy to accept any pull requests for this feature

@SemoTech
Copy link
Author

I am happy to accept any pull requests for this feature

Fingers crossed that someone who can code (that's not me :-) ) will do a pull. But I am happy to be a beta tester....

@aniceberg
Copy link

There is a Home Assistant component you may be able to more easily integrate: https://github.com/home-assistant/core/tree/dev/homeassistant/components/unifiprotect

@SemoTech
Copy link
Author

There is a Home Assistant component you may be able to more easily integrate: https://github.com/home-assistant/core/tree/dev/homeassistant/components/unifiprotect

Thanks @aniceberg I already have that setup in my Home Assistant, but the idea here was for RpiSurv to eliminate the need to manually configure RTSP URL's (which sometimes change in UniFi Protect) via the command line, and read them straight from the UniFi protect controller layout profile, via a login to the UniFi system.

@SemoTech
Copy link
Author

@SvenVD alternatively, what about having an option in RpiSurv to alternatively display an existing NDI Stream (i.e a stream of already tiled security cameras in a single image) being broadcasted on the LAN? One could specify the NDI source name (in a file) and then RpiSurv could just display the stream. There should be no need for a license if using NDI | HX or NDI | HX2 or NDI | HX3 instead of full NDI. I even found an Open Source NDI Library HERE
Thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants