Skip to content
Discussion options

You must be logged in to vote

Hi @OleksandrRiabchun ,
As per my experience there is no VAPIX API available to know the current preset position.

Alternate ways:

Using VAPIX:

a) Get the PTZ co-ordinate data from camera.

http://{{Camera_IPAddress}}/axis-cgi/param.cgi?action=list&group=PTZ.Preset.P0

Response:

root.PTZ.Preset.P0.HomePosition=1
root.PTZ.Preset.P0.ImageSource=0
root.PTZ.Preset.P0.Name=
root.PTZ.Preset.P0.Position.P1.Data=tilt=0.000000:pan=0.000000
root.PTZ.Preset.P0.Position.P1.Name=Home
root.PTZ.Preset.P0.Position.P2.Data=tilt=29.949020:pan=2.403732
root.PTZ.Preset.P0.Position.P2.Name=a
root.PTZ.Preset.P0.Position.P3.Data=tilt=29.949112:pan=102.301025
root.PTZ.Preset.P0.Position.P3.Name=b
root.PTZ.Preset.P0.P…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@OleksandrRiabchun
Comment options

Answer selected by OleksandrRiabchun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants