setAbsolutePosition

Send dome to absolute position

Sends a dome to a specific location. All values are optional. When not supplied the current value is maintained. The command returns as soon as the PTZ is started.

Request

command=setAbsolutePosition&serverid=[UID]&cameraid=[UID]&pan=[-1800..1800]&tilt=[-1800..1800]&zoom=[0..1000]&focus=[-1..1000]&iris=[-1..1000]
parameter type remarks
serverid [UID] unique server id.
cameraid [UID] unique camera id
pan [-1800..1800] absolute pan position in 0.1 degrees
tilt [-1800..1800] absolute tilt position in 0.1 degrees
zoom [0..1000] 0..1000 value in 0.1 percentage
focus [-1..1000] -1 for autofocus, 0..1000 value in 0.1 percentage
iris [-1..1000] -1 for autoiris, 0..1000 value in 0.1 percentage

Response

error code description remarks
0 Ok Ok, no error
-2 No device No device found for the supplied cameraid/deviceid
-19 No dome The device is not a dome device
-21 Device not active The device is not active in the current profile and cannot produce any results

Changelog

  • 2.1.1 – Added serverid
  • 1.7.1 – Added