python-dvr
Описание
Python library for configuring a wide range of IP cameras that use the NETsurveillance ActiveX plugin XMeye SDK
Языки
- Python96,7%
- C++3,2%
- Dockerfile0,1%
python-dvr
Python library for configuring a wide range of IP cameras that use the NETsurveillance ActiveX plugin XMeye SDK

DeviceManager.py
DeviceManager.py is a standalone Tkinter and console interface program such as the original DeviceManager.exe it possible to work on both systems, if there is no Tkinter it starts with a console interface
DVR-IP, NetSurveillance or "Sofia" Protocol
The NETSurveillance ActiveX plugin uses a TCP based protocol referred to simply as the "Digital Video Recorder Interface Protocol" by the "Hangzhou male Mai Information Co".
There is very little software support or documentation other than through tools provided by the manufacturers of these cameras, which leaves many configuration options inaccessible.
Similar projects
Server implementations
Basic usage
AsyncIO usage
Camera settings
Returns general camera information (timezones, formats, auto reboot policy, security options):
Returns hardware specific settings, camera serial number, current software version and firmware type:
Returns capabilities for the camera software (alarms and detection, communication protocols and hardware specific features):
Camera video settings/modes
Add user and change password
Investigate more settings
Suggested approach will help understand connections between camera UI and API settings. Fell free to send PR to the document to update information.
Get JPEG snapshot
Get video/audio bitstream
Video-only writing to file (using simple lambda):
Writing datastream with additional filtering (capture first 100 frames):
Set camera title

OSD special text displaying

Upgrade camera firmware
Monitor Script
This script will persistently attempt to connect to camera at , will create a directory named in and start writing separate video and audio streams in files chunked in 10-minute clips, arranged in folders structured as . It will also log what it does.
OPFeederFunctions
These functions are to handle the pet food dispenser when available. You can see it with :
OPFeedManual
Servings is the number of portions
OPFeedBook
OPFeedHistory
Type 1 : automatic
Type 2 : manual
Troubleshooting
Acknowledgements
Telnet access creds from gabonator
https://gist.github.com/gabonator/74cdd6ab4f733ff047356198c781f27d