Skip to main content

Unifi NVR-compatible camera proxy

Project description

UniFi Camera Proxy

About

This enables using non-Ubiquiti cameras within the UniFi NVR software. This is particularly useful to view existing RTSP-enabled cameras in the same UI and mobile app.

Things that work:

  • Live stream
  • Full-time recording

Things that don't work:

  • Motion detection

Installation

Dependencies:

  • ffmpeg and netcat must be installed
  • Python2.7 only

Usage

In order to use this, you must own at least one UniFi camera in order to obtain a valid client certificate (Found at /var/etc/persistent/server.pem via SSH).

pip install unifi-cam-proxy
scp ubnt@<your-unifi-cam>:/var/etc/persistent/server.pem client.pem
# RTSP stream
unifi-cam-proxy --host <NVR IP> --cert client.pem --token <Adoption token> rtsp -s rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_175k.mov

Hikvision PTZ (Hikvision DS-2DE3304W-DE):

unifi-cam-proxy -H <NVR IP> -i <camera IP> -c client.pem -t <Adoption token> hikvision -u <username> -p <password>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unifi-cam-proxy-0.0.3.tar.gz (10.3 kB view details)

Uploaded Source

File details

Details for the file unifi-cam-proxy-0.0.3.tar.gz.

File metadata

  • Download URL: unifi-cam-proxy-0.0.3.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.5

File hashes

Hashes for unifi-cam-proxy-0.0.3.tar.gz
Algorithm Hash digest
SHA256 119c3c7c7e6ad1917c766899b06f9c8ffbd0f11143bffca05e203c2cf2826013
MD5 bbf6f9783048c548e2d74842a652c31f
BLAKE2b-256 1017971113610369d21c5e0e61fa420bd5a35d4ab49b38c229a3ed0c467ab1dc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page