Skip to main content

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.1.tar.gz (5.3 kB view details)

Uploaded Source

File details

Details for the file camect-py-0.2.1.tar.gz.

File metadata

  • Download URL: camect-py-0.2.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.12

File hashes

Hashes for camect-py-0.2.1.tar.gz
Algorithm Hash digest
SHA256 98b65924888de7604db2bae9754a54a2b3818b32282c18cc126a41007ceec8ba
MD5 a829b6222da1034d78016a956542ae28
BLAKE2b-256 9b5bcbd7105bc580319a16d09f1246d5466226626ae5c2d6d58ad2de8d73e893

See more details on using hashes here.

Supported by

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