Documentation for Axxon One 2.0. Documentation for other versions of Axxon One is available too.

Previous page Next page

POST http://IP address:port/prefix/grpc

Get current mode

Request body:

{
"method":"axxonsoft.bl.ptz.TagAndTrackService.ListTrackers",
"data": {
	"access_point":"hosts/Server1/DeviceIpint.1/Observer.0"
	}
}

where access_point is taken from the response to the ListCameras request in the tag_and_track parameter group (see Get list of cameras and their parameters using gRPC API methods (DomainService)).

Response example:

{
    "mode": "TAG_AND_TRACK_EVENT_TYPE_AUTOMATIC",
    "trackers": []
}

Change PTZ control mode

Request body:

{
"method":"axxonsoft.bl.ptz.TagAndTrackService.SetMode",
"data": {
	"access_point":"hosts/Server1/DeviceIpint.1/Observer.0",
	"mode":"2"
	}
}

where the value of the mode parameter determines the Priority parameter (see PTZ):

  • 0None (TAG_AND_TRACK_EVENT_TYPE_OFF),
  • 1Manual (TAG_AND_TRACK_EVENT_TYPE_MANUAL),
  • 2Automatic (TAG_AND_TRACK_EVENT_TYPE_AUTOMATIC),
  • 3User priority (TAG_AND_TRACK_EVENT_TYPE_USER_PRIORITY),
  • 4Manual PTZ control (TAG_AND_TRACK_EVENT_TYPE_USER_PRIORITY_MANUAL).
  • No labels