hjdhjd / homebridge-unifi-protect

:video_camera: Complete HomeKit integration for all UniFi Protect device types with full support for most features including HomeKit Secure Video, and more. https://homebridge.io
Other
1.45k stars 93 forks source link

Cannot connect to stream or retrieve snapshot #7

Closed kinektech-au closed 4 years ago

kinektech-au commented 4 years ago

As per the title, I've followed the guide(s) to get this running but no success for me. I'm trying to get this running on a HOOBS (rasp pi "out of the box solution" with homebridge pre-installed) but no matter what I try I can't seem to get it to work.

RSTP stream confirmed working through VLC on local machine, unsure if its FFMPEG (guessing so) but Unifi Protect local account login works (made a specific user account for this purpose) and all of the Unifi side of things checks out.

Any help would be super appreciated!

FYI. Complete noob here, probably nothing wrong with the plugin and more my lack of understanding of what is going wrong to resolve this.

kinektech-au commented 4 years ago

Just posting a update to this; I manage to resolve the original issue and it was something I wasn't fully expecting but should have thought about it much earlier...

In my case, I followed all of the instructions as per the readme and couldn't get my cameras to appear in HomeKit even though I could get them to work by configuring them under the camera-ffmpeg plugin

Turns out for this plugin to work any/all cameras that are associated with the cloudkey MUST have their RTSP protocols enabled (makes sense) AND be fully operational ie. not "disconnected"

I was experimenting with installing a new Dome G3 in my backyard and even though I paired it to my cloudkey and it appeared in the list it was "disconnected" (not plugged in) when I was trying to set this plugin up.

After I plugged all cameras in and ensured their respective RTSP checkboxes were enabled the plugin began to work!

Now my only issue is, two of my cameras (I have 8 at home) refuse to show up even though they are configured the same as the others ... A new seperate issue.

github-actions[bot] commented 1 year ago

This issue is locked to prevent necroposting on closed issues. Please create a new issue for related support requests, bug reports, or feature suggestions.