A client library to talk to Camect.
Project description
Camect Python client library
==============================
The Camect Smart Camera Hub is an advanced network video recorder that uses AI (Artificial Intelligence), private local video storage, and secure remote access to the networked security cameras in your home. It plugs into your home network and provides 24×7 recording, viewing from your home network, and AI-powered smart alert detection and review via the app. You can learn more about camect at camect.com.
Installation
pip3 install camect-py
Usage
Please open https://local.home.camect.com/ in browser, sign in as admin and accept TOS before you proceed.
import camect hub = camect.Hub("camect.local:443", "admin", "xxx") hub.get_name() hub.add_event_listener(lambda evt: print(evt)) for cam in home.list_cameras(): print("%s(%s) @%s(%s)" % (cam["name"], cam["make"], cam["ip_addr"], cam["mac_addr"]))
Disable / enable alerts
import camect hub = camect.Hub("camect.local:443", "admin", "xxx") hub.disable_alert(["yyy"], "testing") .... hub.enable_alert(["yyy"], "testing")
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
camect-py-0.2.0.tar.gz
(4.6 kB
view details)
File details
Details for the file camect-py-0.2.0.tar.gz
.
File metadata
- Download URL: camect-py-0.2.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0cb05d48619603ed090238cc73f7671a356238aec013773f477008c65245f44 |
|
MD5 | b32a0eceaee68dab149c791e085ab072 |
|
BLAKE2b-256 | 6d9c901462e9f91603e39192275969ed198817239689270eea5398bc5c2d4536 |