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.9
Filename, size File type Python version Upload date Hashes
Filename, size camect-py-0.1.9.tar.gz (3.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page