http://www.escam.cn/product/showproduct.php?id=115
As normal with these things the documentation directed to some ActiveX control I can't use, or dodgy third-party android apps.
It claims ONVIF but the zoneminder probe didn't find it, possibly because of my weird network structure, possibly because I'm still on 1.30.4.
The answer for Linux users is https://github.com/quatanium/python-onvif
The thing insisted on being 192.168.1.189 when I plugged it in. I suspect it will only work out of the box on a network that's 192.168.1.0/24 or 192.168.0.0/24 . However, it can then be reconfigured
Code: Select all
$ virtualenv onvif
$ . onvif/bin/activate
$ cd onvif
$ git clone https://github.com/quatanium/python-onvif.git
$ cd python-onvif
$ python setup.py install
Code: Select all
$ onvif-cli --host 192.168.1.189 -u admin -a 123456 devicemgmt SetNetworkInterfaces "{'InterfaceToken': 'eth0', 'NetworkInterface': { 'Enabled': 'true', 'IPv4': { 'Enabled': 'true', 'DHCP': 'true' } } }"
Code: Select all
$ onvif-cli --host 192.168.1.189 -u admin -a 123456 devicemgmt SetNetworkInterfaces "{'InterfaceToken': 'eth0', 'NetworkInterface': { 'Enabled': 'true', 'IPv4': { 'Enabled': 'true', 'Manual': [ { 'Address': '192.168.1.67', 'PrefixLength': 24 } ] } } }"
Code: Select all
$ onvif-cli --host 192.168.1.189 -u admin -a 123456 devicemgmt SetNTP "{ 'FromDHCP': 'true' }"
Code: Select all
$ onvif-cli --host 192.168.1.189 -u admin -a 123456 media GetStreamUri "{'StreamSetup': {'Stream':'RTP-Unicast', 'Transport':{'Protocol':'TCP'}}, 'ProfileToken': 'CH01'}"
- Source Path: rtsp://192.168.1.67:554/ch01.264?dev=1
- Remote Method: TCP
- Target colorspace: 32 bit colour
- Capture Width: 1920
- Capture Height: 1080