It is possible to send an HTTP or HTTPS request via 1Port-1IP connection to the VRM in order to invoke the Pan/Tilt/Zoom (or Compound) action for particular camera. The VRM tunnels the command in this case to the PTZ device in the network.
The set up is to send RCPP command over CGI to VRM. The way to specify the camera is to use the TrackID for the camera. The RCPP command is 0x9A5 and it defines that the payload will actually contain BiCom command.
Step-by-step guide
Here are some useful links:
-
RCPP commands documentation: Where can I find the RCP documentation of Bosch camera?
-
Article about how to find the TrackID of a camera within VRM: How to find the Track ID (trackId) or a RTSP line of a camera within VRM?
-
This article contains more details on the BiCom PTZ commands to cameras - Can Bosch camera move with specific speed to a certain PAN & Tilt Position Coordinate (RCP command)?
In short, the PTZ command is a Bicom PTZ type command and the Numeric Descriptor (num) value should be equal to the TrackID of the camera.
Here is an example to PTZ a local site camera over VRM:
-
To Pan Left with maximum speed (0xF) the camera with TrackID 6 the command would be:
-
https://srvadmin:vrmPW@VRM IP address/
-
rcp.xml?command=0x09A5&type=P_OCTET&direction=WRITE&num=6&payload=0x8000060110850F0000
-
-
-
Stop Pan:
-
https://srvadmin:vrmPW@VRM IP address/
-
rcp.xml?command=0x09A5&type=P_OCTET&direction=WRITE&num=6&payload=0x800006011085000000
-
-
Note:
If you want to use a compound PTZ command with Absolute Move parameters for all 3 motors, the payload would be:
-
0x80000601d002pppptptpzpzpiiff
Where:
-
pp pp=Pan values in Hex (Degrees x 100)
-
tp tp = Tilt values in Hex (Degrees x 100)
-
zp zp=Zoom values in HEX (Focal Length x 100)
-
ii = Ignore flags (0x00)
-
ff = Motor Move Flags (0x-00)