There is a feature within the UniFi Protect WebUI under ‘Settings > Share Livestream’ for each camera to enable ‘Share Livestream’. When enabled, this provides a URL (https://monitor.ui…) which is accessable outside your network and with/without a UniFi account. The URL provided has an expiry of 24 hours
I’ve been dabbling with POST requests via Postman but unable to translate this into a viable sensor/working feature.
I’m in the same boat when it comes to avoiding anything cloud/remote and keeping shit local.
My use case was to use the ‘Share Livestream’ feature as a redundancy measure in my home alarm setup.
Should there be a time that my house alarm/sensors get triggered for a serious sort of event (definite break-in, fire etc) and I’ve not responded/replied/acknowledged to the notification in time, then the ‘Share Livestream’ feature is enabled, and URL distributed to close family/friends.
For 99.999999999% of its lifetime, it would remain disabled however it still opens up (provides access) the possibly of security headaches.
I’ve been dabbling with a few POST requests but I’m struggling with grabbing the initial authentication tokens.
I’ve been trying out the go2rtc add-on this weekend for casting my Protect cameras to Google home hubs. It works well and is flexible, including specific measures for sharing streams outside of the LAN. It would probably do what you want but you’ll need to wade into the docs to find out exactly how. I don’t use this feature myself.
Perhaps your technical objections are due to poor performance an older revision of go2rtc? I am getting sub 2 sec latency relaying/converting the UniFi streams to webrtc. Audio is good too. I grant that it’s a big headache working out how to use it, though.
I get the unverified binary thing. Point accepted - caveat emptor. Containers help mitigate the risk of bad actors.
Thank you for the great work your doing with the Protect integration @AngellusMortis. Can’t be an easy job, the way Ubiquity chop and change.