MOTION_STATUS
Description
Get the Motion settings.
This URL could read the basic motion configurations from device. The basic motion configuration includes the motion region ID, location of the motion region (rectangular area) and the sensitivity of the motion region. For getting complete motion configurations, the URL MOTION_CONFIG in encoder CGI is used.
The format of the return message in this URL is
n,ex,ey,sx,sy,sen
where
n is the motion region started from 1,
(ex,ey) is the coordinate in pixel of the left-top corner of the motion region.
(sx,sy) is the coordinate in pixel of the right-button corner of the motion region
sen is the sensitivity of the motion region and the range is 0~100.
If the CHANNEL=n was not set with this URL to the Multi-Channel device, this command is read-only command and the CHANNEL 1 video server's MOTION_STATUS configuration will be returned. If the CHANNEL 1 video server does not connect to the router, the error message will be returned.
Input Argument
None
Attribute
Return of Message
Read Operation
MOTION_STATUS='1,0,0,0,0,0' MOTION_STATUS='2,0,0,0,0,0' MOTION_STATUS='3,0,0,0,0,0'
Applicability
Status
Valid
See Also
MOTION_ENABLED, MOTION_CONFIG, MOTION_CONFIG_GET, MOTION_SENSITIVITY, MOTION_TIMER, MOTION_OBJ
Example
http://ip:port/cgi-bin/mpeg4?USER=Admin&PWD=123456&MOTION_STATUS
or
http://ip:port/cgi-bin/cmd/mpeg4?MOTION_STATUS
Back to