Get or set Motion Enabled configuration. The parameter is in the hexadecimal format.
In most of cameras and video encoders, there are three motion regions. Every motion region has it own control configurations and could be enabled individually. Please refer to MOTION_CONFIG in ENCODER CGI. This URL could enable and disable firmware to output motion detection result based on every motion region configurations.
That means
the change of MOTION_ENABLED will NOT change motion detection state (enabled / disabled) in all motion detection regions.If the CHANNEL=n was not set with this URL to the multiple channel video encoders, this command is read-only command and the CHANNEL 1 video encoder's MOTION_ENABLED configuration will be returned. If the CHANNEL 1 video encoder module does not connect to the router, the error message will be returned.
state
where
state = 0x00, the firmware outputs no motion triggered result to remote host
state = 0x01, the firmware outputs the motion detection result to remote hosts.
MOTION_ENABLED='0x00'
OK: MOTION_ENABLED='0x00' or
ERROR: MOTION_ENABLED='0x00'
Valid
MOTION_CONFIG, MOTION_CONFIG_GET, MOTION_SENSITIVITY, MOTION_TIMER, MOTION_OBJ
http://ip:port/cgi-bin/CGI?USER=Admin&PWD=123456&MOTION_ENABLED
or
http://ip:port/cgi-bin/cmd/CGI?MOTION_ENABLED
where CGI could be mpeg4 or encoder
http://ip:port/cgi-bin/CGI?USER=Admin&PWD=123456&MOTION_ENABLED=0x00
or
http://ip:port/cgi-bin/cmd/CGI?MOTION_ENABLED=0x00
where CGI could be mpeg4 or encoder