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.
Source Distribution
camect-py-0.1.10.tar.gz
(4.1 kB
view hashes)