Skip to main content

A client library to talk to Camect.

Project description

Camect Python client library

==============================

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
home = camect.Home("camect.local:443", "admin", "xxx")
home.get_name()
home.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
home = camect.Home("camect.local:443", "admin", "xxx")
home.disable_alert(["yyy"], "testing")
....
home.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.

Files for camect-py, version 0.1.10
Filename, size File type Python version Upload date Hashes
Filename, size camect-py-0.1.10.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page