You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mike mcginty a5f5322901 add pdf 3 years ago
hikvision . 4 years ago
tests Fix pylint and flak8 6 years ago
.gitignore Initial commit 6 years ago
.travis.yml Fixed travis 6 years ago
HIKVISION CGI IPMD V1.5.9.pdf add pdf 3 years ago
LICENSE Initial commit 6 years ago . 4 years ago
config-example.json . 4 years ago . 4 years ago
requirements.txt . 4 years ago
setup.cfg Initial commit 6 years ago 1.2- allow sensitivity level to be passed in init 6 years ago


This is a python module providing a basic python interface to interact with a Hikvision IP Camera

This is licensed under the MIT license.

Getting started

Make sure to see the camera API guide

Some example usage:

>>> import hikvision.api
>>> cam = hikvision.api.CreateDevice( "", username="admin", password="PASSWORDHERE")
>>> cam.get("System/time.timeMode")
>>> cam.get("System/deviceInfo.deviceName")
>>> cam.set("System/deviceInfo.deviceName","notD03")
>>> cam.get("System/deviceInfo.deviceName")


module requires:

  • requests>=2.0


git clone --recursive
cd hikvision
# NOTE: You might need administrator privileges to install python modules.
pip install -r requirements.txt
pip install -e .



import hikvision.api

# This will use http by default (not https)
hik_camera = hikvision.api.CreateDevice('', username='admin', password='12345')

host *Required This is the IP address of your Hikvision camera. Example:

username *Required Your Hikvision camera username

password *Required Your Hikvision camera username


Add more functions


Copyright (c) 2015-2016 Finbarr Brady, Mike McGinty