HOME_POS

 

Description

Set or get home position to or from the camera.

In PlatformA and PlatformT PTZ / speed dome cameras, the PTZ preset point 1 is the camera home position. If the PTZ preset point 1 is valid, the camera goes to the PTZ preset point 1 when it was booted. If the PTZ preset point 1 is not valid, the camera moves its default position when it was booted.

In PlatformK cameras, we defined the home position. The home position could be set by user at any time. This home position will be recorded in the camera. Camera goes to this home position after boots. If the home position is not set, the camera goes its default position after boots.
Camera uses current position for home position when set command was sent.

When the tour or scan function is enabled, the camera performs touring or scan after boots. The camera will not stay at home position then.

Input Argument

state
where
1 : set current position to home position.
0: invalid home position configurations.

Attribute

Return of Message

HOME_POS=state,PanPos,TiltPos,ZoomPos
where
state: 0: home position settings are not valid. 1: home position settings is valid.
PanPos: pan position, fixed to 0 if the camera does not support absolute pan and tilt positions.
TiltPos: tilt position, fixed to 0 if the camera does not support absolute pan and tilt positions.
ZoomPos: zoom position.
OK: HOME_POS=state
where
state: 0: home position settings are not valid. 1: home position settings is valid.

Applicability

Status

Valid

See Also

None

Example

http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&HOME_POS=1
or
http://ip:port/cgi-bin/cmd/encoder?HOME_POS=1
http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&HOME_POS=0
or
http://ip:port/cgi-bin/cmd/encoder?HOME_POS=0
http://ip:port/cgi-bin/cmd/encoder?USER=Admin&PWD=123456&HOME_POS
or
http://ip:port/cgi-bin/cmd/encoder?HOME_POS

Back to

HOME, ENCODER CGI