Go to documentation repository
Page History
Sectionnote | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
| ||||||||||||||
|
Column |
---|
...
| |
Disable the Use device settings checkbox in order to change the manage parameters by the below commands – see The Settings panel of the Video capture device object. A camera must support the same commands for features management as the given ECHD commands (both when connected via ONVIF and via the corresponding driver). |
General request format:
GET https://IP-address:porthttps://example.com:[port]/?cameraID={1}&ip={2}& loqiпloqin={З3}&pass={4}&action={5}&x={6}&y={7}&z={8}&modelNamеmodelName={9}
Atomic shift of video surveillance device in the specified direction.
Request parameters:
...
Parameter | Is required | Description |
---|---|---|
1 | Yes |
ID of video surveillance device. |
2 |
...
No | IP addressof video surveillance device. |
3 | No |
...
account of video surveillance device. |
...
4 | No | access password to video surveillance device. |
action - command name [degreesmove].
x - PAN rotation [-180 ..0.. 180].
y - TILТ rotation [-180 ..0.. 180].
z - zoom in/out [0.. 100].
5 | Yes | Command name: degreesmove – discrete motion. Atomic shift |
...
of video surveillance device in the specified direction. |
Relative motion
...
degreesmove2 – relative motion. Rotation of video surveillance device compared with current position. Viewing area of video surveillance device is divided by a grid where central point’s coordinates are (x:0, y:0), top left (x:-7, y:7), bottom right (x:7, y:-7). Video surveillance device must be rotated in a way that object appears in the center of the grid. ‘Optical’ error caused by the distance to the visible object is allowed. Error caused by sphere-to-plane projection must be compensated. |
cameraID - ID of video surveillance device.
...
login - account of video surveillance device.
pass - access password to video surveillance device.
action - command name (degreesтove2).
x - PAN rotation [-7..0..7].
y - ТILТ rotation [-7..0..7].
Z – zoom in/out [-1..0.. 1].
modelName - model of video surveillance device.
Setting position of video surveillance device
https://example.com:[port]/?cameralD={1}&iр={2}&login={З}&pass={4}&action={5}&x={6}&y={7}&z={8}&modelName={9}
Setting position of video surveillance device in degrees compared with ‘0’ position.
cameraID - ID of video surveillance device.
...
login - account of video surveillance device.
pass - access password to video surveillance device.
action - command name (setposition).
x - PAN setting [-180 ..0.. 180].
y - TILТ setting [-180 ..0..180].
Z – zoom value [0.. 100].
modelName - model of video surveillance device.
Getting position of video surveillance device
https://example.com:[port]/?cameralD={1}&iр={2}&login={З}&pass={4}&action={5}&modelName={6}
...
Depending on camera, registry keys may have to be set for correct operation:
setposition – setting position of video surveillance device in degrees compared with ‘0’ position. getposition – getting position of video surveillance device inpAN and TILt |
...
{"y":56, "x":105, "z":0}
cameraID - ID of video surveillance device.
...
login - account of video surveillance device.
pass - access password to video surveillance device.
action - command name (getposition).
тodelNaтe - model of video surveillance device.
Focusing
https://example.com:[port]/?cameralD={1}&iр={2}&login={З}&pass={4}&action={5}&x={6}&y={7}&z={8}&modelName={9}
...
in degrees as well as current zoom values. |
...
focus – video surveillance device’s focus control command where z parameter controls over focus: 1: Focus in -1 : Focus out 0: Auto |
caтeralD - ID of video surveillance device.
...
login - account of video surveillance device.
pass - access password to video surveillance device.
action - command name (focus).
...
z – focus control [-1..0..1].
тodelNaтe - model of video surveillance device.
...
https://example.com:[port]/?cameralD={1}&iр={2}&login={З}&pass={4}&action={5}&x={6}&y={7}&z={8}&modelName={9}
...
iris – video surveillance device’s iris control command where z parameter controls over iris: 1: Open iris -1: Close iris 0: Auto |
caтeralD - ID of video surveillance device.
...
login - account of video surveillance device.
pass - access password to video surveillance device.
action - command name (iris).
...
тodelNaтe - model of video surveillance device.
...
https://example.com:[port]/?cameralD={1}&iр={2}&login={З}&pass={4}&action={5}&x={6}&y={7}&z={8}&modelName={9}
...
switch_day_night – switch day/night mode where z parameter enables one of the following modes: 1: Day mode -1 : Night mode backlight – switch backlight on/off where z parameter controls over the mode: 1: Enable -1: Disable switch_color – the following operation modes of video surveillance device are |
...
set by z parameter: 1: |
...
Enable -1: |
...
caтeraID – ID of video surveillance device.
...
login - account of video surveillance device.
pass – access password to video surveillance device.
action – command name (switch_day_night).
...
z – mode control [-1..0..1].
тodelNaтe - model of video surveillance device.
Backlight
https://example.com:[port]/?cameralD={1}&iр={2}&login={З}&pass={4}&action={5}&x={6}&y={7}&z={8}&modelName={9}
The following backlight operation modes are available:
1: Enable
-1: Disable
caтeraID - ID of video surveillance device.
...
login - account of video surveillance device.
pass - access password to video surveillance device.
action - command name (backlight).
...
z - mode control[-1..0..1].
тodelNaтe - model of video surveillance device.
...
Disable | ||
6 | No | In degreesmove, setposition commands: PAN rotation [-180 ..0.. 180]. In degreesmove2: PAN rotation [-7..0..7]. In getposition: not in use. In commands focus, iris, switch_day_night, backlight, switch_color: set value 0 to the parameter. |
7 | No | In degreesmove, setposition commands: TILT rotation [-180 ..0.. 180]. In degreesmove2: TILT rotation [-7..0..7]. In getposition: not in use. In commands focus, iris, switch_day_night, backlight, switch_color: set value 0 to the parameter. |
8 | No | In degreesmove, degreesmove2, setposition commands: zoom in/out [0.. 100]. In getposition: not in use. In commands focus, iris, switch_day_night, backlight, switch_color: set device mode, see description of the corresponding command above. |
9 | No | Model of video surveillance device. |
Request example:
GET http://127.0.0.1:80/execute?cameraID=7&action=getposition
Response example:
Response comes on getposition command only. Example inJSON format:
{"y":56, "x":105, "z":0}
Response parameters:
Parameter | Description |
---|---|
x | PAN coordinate |
y | TILT coordinate |
z | Zoom value |
https://example.com:[port]/?cameralD={1}&iр={2}&login={З}&pass={4}&action={5}&x={6}&y={7}&z={8}&modelName={9}
The following operation modes of video surveillance device are available:
1: Enable
-1: Disable
caтeraID - ID of video surveillance device.
...
login - account of video surveillance device.
pass - access password to video surveillance device.
action - command name (switch_color).
...
z - mode control[-1..0..1].
...