Allowed users admin, operator
6.6. PTZ
The APIs below are related to pan/tilt/zoom control. These are equivalent to the features on the PTZ page of the WEB
setting page and PTZ Controller of built-in viewer. Refer to the instruction manual for details on the PTZ page and
PTZ Controller.
(1) Settings for PTZ Control
Getting Auto Return Mode from VN-V686
Format /api/param?camera.motion.auto_return.mode
Example of response camera.motion.auto_return.mode=home&200 OK
Interpretation Acquire Auto Return mode. "home", "auto_pan", "auto_patrol(0)", "auto_patrol(1)",
"auto_patrol(2)", "auto_trace", "auto_tracking(1)" or "auto_tracking(2)" will be returned. "auto_tracking(1)" means
auto tracking, and "auto_tracking(2)" means Intelligent tracking.
Allowed users admin, operator, user
Setting Auto Return Mode for VN-V686
Format /api/param?camera.motion.auto_return.mode=data
Example of Response camera.motion.auto_return.mode&202
Accepted(camera.status=save)
Interpretation Change Auto Return mode. Specify "home", "auto_pan", "auto_patrol(0)", "auto_patrol(1)",
"auto_patrol(2)", "auto_trace", "auto_tracking(1)" or "auto_tracking(2)". "auto_tracking(1)" means auto tracking, and
"auto_tracking(2)" means Intelligent tracking. The change is saved by the API, camera.status=save. If the change is
not saved, the setting is restored by reboot.
Allowed users admin, operator
Getting Timeout of Auto Return from VN-V686
Format /api/param?camera.motion.auto_return.timeout
Example of response camera.motion.auto_return.timeout=60&200 OK
Interpretation Acquire timeout of Auto Return in seconds.
Allowed users admin, operator, user
Setting Timeout of Auto Return for VN-V686
Format /api/param?camera.motion.auto_return.timeout=data
Example of Response camera.motion.auto_return.timeout&202
53