keshavdv / unifi-cam-proxy

Enable non-Ubiquiti cameras to work with Unifi NVR
MIT License
1.72k stars 236 forks source link

Using without unifi camera #49

Closed Ryamonster10 closed 3 years ago

Ryamonster10 commented 3 years ago

Hi! So I have a dream machine in my home and I love it, I use the Network and Access applications and looking into protect. I don't want to replace my existing cameras or buy any Unifi ones and the blue iris UI looks like it is from the 1980s... Protect on the other hand has a modern, simple and esay to use while being functional at the same time. I am not sure how to get a token though. Does any1 know how to do that and or specific instructions for UDMP?

jkblm commented 3 years ago

Hi Ryamonster10,

I have posted instructions to create the Unifi-cam-proxy image on a Raspberry Pi 4B for non-Unifi cameras on Protect. It has instructions to create a token generated from your UDMP or UNVR. https://github.com/keshavdv/unifi-cam-proxy/issues/48

Jeff

Ryamonster10 commented 3 years ago

Hi! Thanks @jkblm I now have the camera in unifi protect and it records, but it can only live stream for about 5 seconds, then there is a loading icon for about 5 second and it repeats, when I play in VLC it is continuous and smooth. Anybody know the way around that?

jkblm commented 3 years ago

@Ryamonster10 what camera are you using?

Please send me your command line you enter into the Pi4B.

Thanks, Jeff

Ryamonster10 commented 3 years ago

Using a generic rtsp camera, looks buttery smooth in VLC. The command that I’m using is (after going into the directorory of client.pem) unifi-cam-proxy --host 192.168.1.1 --cert client.pem --token “my-token” rtsp -s rtsp://admin:(my-password)@192.168.1.39:80/living-room-cam

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.