GitPedia

Python netsurv

Python library for configuring a wide range of IP cameras which use the NETsurveillance ActiveX plugin (aka DVRIP, Sofia)

From sofia-netsurv·Updated April 8, 2026·View on GitHub·

Python library for configuring a wide range of IP cameras which use the NETsurveillance ActiveX plugin The project is written primarily in Python, distributed under the MIT License license, first published in 2017. Key topics include: cctv, dvrip, hi3518c, hi3518e, ipcamera.

python-netsurv

Build Status

Python library for configuring a wide range of IP cameras which use the NETsurveillance ActiveX plugin

Usage

pip install netsurv

DVR-IP, NetSurveillance or "Sofia" Protocol

The NETSurveillance ActiveX plugin uses a TCP based protocol variously referred to as the "Digital Video Recorder Interface Protocol" or "Sofia" protocol, documented by the "Hangzhou male Mai Information Co".

Command and response codes can be found here:

https://gist.github.com/ekwoodrich/a6d7b8db8f82adf107c3c366e61fd36f

Acknowledgements

Telnet access creds from gabonator

https://gist.github.com/gabonator/74cdd6ab4f733ff047356198c781f27d

License

Copyright © 2019 Ebraheem AlAthari and Eliot Woodrich

This program is licensed under the "MIT License". Please
see the file LICENSE in the source distribution of this
software for license terms.

Contributors

Showing top 3 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from sofia-netsurv/python-netsurv via the GitHub API.Last fetched: 6/22/2026