ESCAM QH002 working
Posted: Sat May 25, 2019 2:45 pm
Simple wired IP 1080 resolution camera, cost less than £20 from China
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
I wanted to set it to use DHCP so I could control its IP address from my router, that was:
It's also possible to set a static IP address, that would be something like:
It set the time to 1970, again you can set NTP addresses to use or just tell it to use DHCP:
And, to get the all-important streaming URL:
So for me my ZM setup using libvlc ended up
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