37
5. API for Acquiring/Changing Parameters of VN-E4 _
5.6. Motion Detect
The APIs below are related to motion detection. These are equivalent to the features on the Motion Detection page of the WEB setting page.
Refer to the instruction manual for details on the Motion Detection page.
Acquiring Motion Detect On/Off Status from VN-E4
Format
/api/param?video.input(Number).detection.status
Example
When acquiring the motion detect on/off status of video input channel 1
/api/param?video.input(1).detection.status
Example of response
video.input(1).detection.status=on&200 OK
Interpretation
Acquire the on/off status of motion detect. VN-E4 enables motion detect to be set to on or off for each of the 4
video inputs. Specify a value between 1 to 4 for the number. Either on or off will be returned.
Allowed users
admin, operator, user
Setting Motion Detect to On/Off for VN-E4
Format
/api/param?video.input(Number).detection.status=data
Example
When setting motion detect for video input channel 1 to on/off
/api/param?video.input(1).detection.status=on
Example of Response
video.input(1).detection.status&200 OK
Interpretation
Change the on/off status of motion detect. VN-E4 enables motion detect to be set to on or off for each of the 4
video inputs. Specify a value between 1 to 4 for the number. Specify as on or off.
Allowed users
admin, operator
Acquiring Motion Detect Sensitivity from VN-E4
Format
/api/param?video.input(Number).detection.level
Example
When acquiring the motion detect sensitivity of video input channel 1
/api/param?video.input(1).detection.level
Example of response
video.input(1).detection.level=20&200 OK
Interpretation
Acquire the motion detect sensitivity. VN-E4 enables motion detect to be adjusted for each of the 4 video
inputs. Specify a value between 1 to 4 for the number. A value between 0 to 100 will be returned. The larger
the value, the higher will be the sensitivity.
Allowed users
admin, operator, user
Setting Motion Detect Sensitivity for VN-E4
Format
/api/param?video.input(Number).detection.level=data
Example
When setting the motion detect sensitivity of video input channel 1
/api/param?video.input(1).detection.level=20
Example of response
video.input(1).detection.level&200 OK
Interpretation
Change the motion detect sensitivity. VN-E4 enables motion detect to be adjusted for each of the 4 video
inputs. Specify a value between 1 to 4 for the number. Specify a value between 0 to 100. The larger the value,
the higher will be the sensitivity.
Allowed users
admin, operator
5.6. Motion Detect