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 · 9 comments
Open

Question: Any chance for UniFi Protect Integration? #190

SemoTech opened this issue Apr 4, 2024 · 9 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?

@gabiX87
Copy link

gabiX87 commented Oct 21, 2024

What you want is complicated and doesn't make sense. Protect source code is closed anyway. The speed Protect is going it would break it all the time. I have read someone made a WEB UI for rpisurv , you might want to look into that.

Or just buy their Viewport device and save yourself all the headaches.

@SemoTech
Copy link
Author

Thanks for the reply @gabiX87.
I already have the Protect Viewport device and am able to see all the cameras on my AppleTV, and that works great.

I just thought having an NDI viewer option in RpiSurv so it can all run on a Pi would be amazing, and it's and Open Source library, HERE

@aniceberg
Copy link

Thanks for the reply @gabiX87. I already have the Protect Viewport device and am able to see all the cameras on my AppleTV, and that works great.

Why do you need the Viewport when you can just use the Protect app on your Apple TV?

I just thought having an NDI viewer option in RpiSurv so it can all run on a Pi would be amazing, and it's and Open Source library, HERE

@SemoTech
Copy link
Author

@aniceberg The Protect App on ATV works fine but does not allow ALL my cameras to be seen one one screen. The NDI stream I have created from the Protect Viewport does! Also a lot more practical to decode the NDI stream with RpiSurv on an "embedded" Pi than to use an Apple TV.

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

No branches or pull requests

4 participants