D-Link DVS-301 Security Camera User Manual


 
Building Networks for People
DVS-301 User Manual v1.00
69
URL commands of Video Server
For some customers who already have their own web site or web control application, Video
Server can be easily integrated through convenient URLs. This section lists the commands in
URL format corresponding to the basic functions of Video Server. Some RFC standards related
to HTML may be a good reference for implementation of the customized homepages.
Capture update Snapshot of JPEG image
/cgi-bin/video.jpg
Move motorized camera in PTZ direction
<direction>: up, left, right, down, home
<vision>: wide, tele
<command>: 1, 2, 3, 4, 5
/cgi-bin/camctrl.cgi?move=<direction>&zoom=<vision>&cust=<command>
Preset/Recall camera position
/cgi-bin/recall.cgi?recall=”POSITION
, where “POSITION” denotes the text string of a location that is preset in system configuration.
Query status of digital inputs
/setup/getdi.cgi
Video Server will return status of digital input.
Drive digital outputs
/setup/setdo.cgi?do=<state>
, where state is H, L. H means NC connected with COMMON and L means NO connected with
COMMON.
For example, http://192.168.0.201/setup/setdo.cgi?do=h
will command Video Server, with IP
address of 192.168.0.201, to set digital output to connect to NC with COMMON.