PIR_MD_CONFIG

Description

Enable or Disable the Passive IR (PIR) motion sensor function and access the PIR sensor sensitivity, motion timer configurations.

The PIR sensor sensitivity controls the detecting distance of PIR sensor.

The motion timer acts same as the generic motion timer in firmware. Refer to the MOTION_TIMER URL for details.

Be note that set MOTION_ENABLED=0x00 will not disable PIR motion sensor function. The way to disable PIR motion sensor fucntion is using this URL.

If there is no PIR motion sensor, the "ERROR: PIR_MD_CONFIG not found" will be returnned.

Input Argument

n,sen,timer
where n could be 0: Disable and 1: Enable
sen: the sensitivity from 0~100. 0: means disable PIR motion sensor
timer: the motion timer (0~300 seconds)

Attribute

Return of Message

PIR_MD_CONFIG='1,70,0'

OK: PIR_MD_CONFIG='1,70,0'
or
ERROR: PIR_MD_CONFIG='1,70,0'
or
ERROR: PIR_MD_CONFIG not found

Applicability

Status

Valid

See Also

MOTION_ENABLED, EVENT_RSPMDPIR

Example

http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&PIR_MD_CONFIG
or
http://ip:port/cgi-bin/cmd/encoder?PIR_MD_CONFIG

http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&PIR_MD_CONFIG=1,70,0
or
http://ip:port/cgi-bin/cmd/encoder?PIR_MD_CONFIG=1,70,0

Back To

HOME, ENCODER CGI