54
Allowed users admin, operator, user
Changing Alarm Output of VN-V685/686/686B
Format /api/param?peripheral.output_pin.pin(Number).status=data
Example /api/param?peripheral.output_pin.pin(1).status=break
Example of Response peripheral.output_pin.pin(1).status&200 OK
Interpretation Change the alarm output. Specify 1 or 2 to Number. Specify "make" or "break" to data.
When the alarm output time is zero, alarm output is changed as this API specifies. When the alarm output time is not
zero, alarm output is changed as this API specifies, then alarm output is changed again after the alarm output time.
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-V685/686/686B
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-V685/686/686B
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. In VN-V686 before v1.02, "auto_tracking(2) is not available. 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