EVENT_RSPGOPRESET

 

Description

Get or Set the event to a preset point of speed dome or PTZ cameras.

When event was triggered, the camera will move to a pre-defined preset point. As the dwell time is expired, the camera move to the other pre-defined preset point. These preset points are the preset points in the camera's preset point database.
The camera does verify if the assigned preset points in this URL are valid or not. If the preset point used in this URL is not valid, the error code will be returned.
If the associated preset point was disabled, the camera will NOT go the this preset point when the event condition matches the event rule.

This URL is available for devices which they are not speed dome or PTZ cameras. This URL will be treated as dummy URL then.

Input Argument

state,preset_triggered, preset_not_triggered,dwell
where
Argument Range Description
state 0 or 1 0: this event response is disabled. 1: this event response is enabled
preset_triggered 1~64 the index of the preset point. The camera goes to this preset point when the event was triggered
preset_not_triggered 1~64 the index of the preset point. The camera goes to this preset point when the event was not triggered
dwell 0~300 the time in second to state the preset point after event was triggered.
When 0, the camera will back to its resumed position as the event was inactive immediately.
If it is not zero, the camera will back to position before the event was triggered when the dwell time is expired.
Note: The preset_triggered and preset_not_triggered have to be not the same.

Attribute

Return of Message

EVENT_RSPGOPRESET='0,19,8,10'

OK: EVENT_RSPGOPRESET='0,19,8,10'
or
ERROR: EVENT_RSPGOPRESET='0,19,8,10'

Applicability

Status

Valid

See Also

EVENT_CONFIG, EVENT_RSPIMGn, EVENT_RSPMSGn, EVENT_RSPCMDn, EVENT_RSPDOn

Example

http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&EVENT_RSPGOPRESET
or
http://ip:port/cgi-bin/cmd/encoder?EVENT_RSPGOPRESET
http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&EVENT_RSPGOPRESET=1,6,10,100
or
http://ip:port/cgi-bin/cmd/encoder?EVENT_RSPGOPRESET=1,6,10,100

Back to

HOME, ENCODER CGI