gotoPreset

Move dome to preset position

Moves the dome to a stored preset position.

Request

command=gotoPreset&serverid=[UID]&cameraid=[UID]&preset=[number>=0]
parameter type remarks
serverid [UID] unique server id
cameraid [UID] unique camera id
preset [number>=0] number of the preset to move the dome to

Response

See chapter Results for result syntax and result codes.

node value remarks
/result
@errorcode [number] See error codes below
error code description remarks
0 Ok Ok, no error
-2 No device No device found for the supplied cameraid/deviceid.
-18 General error An undefined error occured
-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.6.2 – added