EVENT_RSPMDPIR

Description

Get or set the PIR motion detection configurations for events.

The state, sensitivity and active time of the PIR motion detection could have different settings when the event was triggered. As the event becomes inactive, the motion settings in PIR motion detection will be reloaded to the original values automatically. Refer to the PIR_MD_CONFIG URL.

If there is no PIR motion sensor in the camera, the error return message "ERROR: EVENT_RSPMDPIR not found" will be returned.

Input Arguments

state,sen,time
where
state : 0: disable, 1: enable
sen : sensitivity of the PIR Motion sensor (0~100). 0: means disable
time: the motion timer (0~300 seconds)

Attribute

Return of Message

EVENT_RSPMDPIR='1,70,0'

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

Applicability

Status

Valid

See Also

PIR_MD_CONFIG, EVENT_CONFIG, EVENT_RSPMDn

Return of Message

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

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

Back To

HOME, ENCODER CGI