Sign inSign up

terpz/unifiprotectproxy

By terpz

•Updated almost 6 years ago

Image
0

2.0K

terpz/unifiprotectproxy repository overview

This is a very simple wrapper to the unifi protect api ( RUNNING UnifiOS! )

Takes the following env vars:

USER, a local user needs to be created on the cloud key (in my case), with limited admin rights, and admin on protect

PASS, the password...

HOST, the host for the cloudkey, https://host⁠ (default port is 443 for cloudkey)


What it does is creating a simple interface to get a list of recordings/motion detects/cameras/snapshots

http://host:port/?method=events⁠ http://host:port/?method=cams⁠

in the events output, there is a thumbnailId which can be recieved via: http://host:port/?method=snapshot&id=ID-FROM-EVENTS⁠

Also the video itself: http://host:port/?method=video&cam=CAM-ID-FROM-EVENTS&start=START-TIME-FROM-EVENT&end=END-TIME-FROM-EVENT⁠

Tag summary

Content type

Image

Digest

Size

142 MB

Last updated

almost 6 years ago

docker pull terpz/unifiprotectproxy