Skip to main content
https://travis-ci.org/kk7ds/uvcclient.svg?branch=master

This is extremely raw at the moment. Use at your own risk.

Hopefully this is enough to get you going:

Usage: uvc [options]

Options:
  -h, --help            show this help message and exit
  -H HOST, --host=HOST  UVC Hostname
  -P PORT, --port=PORT  UVC Port
  -K APIKEY, --apikey=APIKEY
                        UVC API Key
  -v, --verbose
  -d, --dump
  -u UUID, --uuid=UUID  Camera UUID
  --name=NAME           Camera name
  -l, --list
  --recordmode=RECORDMODE
                        Recording mode (none,full,motion)
  --recordchannel=RECORDCHANNEL
                        Recording channel (high,medium,low)
  -p, --get-picture-settings
                        Return picture settings as a string
  --set-picture-settings=SET_PICTURE_SETTINGS
                        Set picture settings with a string like that returned
                        from --get-picture-settings
  --set-led=ENABLED     Enable/Disable front LED (on,off)
  --get-snapshot        Get a snapshot image and write to stdout
  --prune-zones         Prune all but the first motion zone
  --list-zones          List motion zones
  --set-password        Store camera password

For example:

$ export UVC="http://192.168.1.1:7080/?apiKey=XXXXXXXX"
$ uvc --name Porch --recordmode motion --recordchannel high

or:

$ export UVC="http://192.168.1.1:7080/?apiKey=XXXXXXXX"
$ uvc -l
fb9e6d48-6f5a-42b2-8cb4-e3705a99a0e2: Inside                   [    online]
f0579c60-e400-477e-8f89-f8861ef58f80: Parking                  [    online]
998b134e-13ea-4465-ad39-6ad27b067ac4: Spare                    [   offline]
5474242a-51d5-428e-97de-826675068e70: Front Porch              [    online]
715f0725-e7e1-4214-a551-41071c82bacd: Garage                   [    online]

In order to take actions on cameras directly (such as change the LED state on a UVC Micro or get a snapshot from the camera) you need to set the admin password for it. The NVR tells us the username, but we must store the password. To do this:

$ uvc --name Porch --set-password
This will store the administrator password for a camera
for later use. It will be stored on disk obscured, but
NOT ENCRYPTED! If this is not okay, cancel now.

Password:
Confirm:
Password set

Then you can do things like get a snapshot from the camera directly:

$ uvc --name Porch --get-snapshot > foo.jpg

Metadata

Release files for uvcclient 0.12.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for uvcclient 0.12.2
File Size Uploaded
uvcclient-0.12.2.tar.gz 22.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for uvcclient 0.12.2
File Interpreter ABI Platform
uvcclient-0.12.2-py3-none-any.whl Python 3 none any Details

Total release size: 46.5 kB

Release files / uvcclient-0.12.2.tar.gz

Download URL uvcclient-0.12.2.tar.gz
Size 22.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a399eb672e7cc03306ac7c720acdb6e1ac111a399341c0c762737c230d305c51
BLAKE2b-256 checksum
How to use checksums
2b5fb56c0fbe1540f8c599bf6877e1bb3667c92dd7902205ba1e3218ed0a51ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / uvcclient-0.12.2-py3-none-any.whl

Download URL uvcclient-0.12.2-py3-none-any.whl
Size 23.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82a84f8d99349a466286ba15edf6c0769269004ea6142e9a366f678a79f6be5a
BLAKE2b-256 checksum
How to use checksums
eca37a9143761dc417f8004c229dd620e3b1353c38ebd7836cd7bde6b6cb8f5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/5.1.1 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.12.2 This release

2 release files

0.11.1

2 release files

0.11.0

1 release file

0.10.1

1 release file

0.10.0

1 release file

0.9.0

1 release file

0.8.0

1 release file

0.6

1 release file

0.5

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page