Setting alarm trigger for vn-v686 – JVC VN-V686UAPI User Manual

Page 43

Advertising
background image

Example When Getting Trigger of Alarm No. 1

/api/param?application.event(1).trigger

Example of Response

application.event(1).trigger=m1&200 OK

Interpretation Acquire Trigger of the alarm action for the specified alarm number. Up to 5 alarm actions can be

specified, and periodic FTP is assigned to event No.6, therefore the number of alarm(number) can be set between the

range of 1 to 6. Note that alarm numbers are different from the alarm input pin numbers.

When only 1 Trigger is set:

m1 will be returned in the case of make for alarm input 1.

b1 will be returned in the case of break for alarm input 1.

m2 will be returned in the case of make for alarm input 2.

b2 will be returned in the case of break for alarm input 2.

v1 will be returned for motion detection of video.

ncbws will be returned for IR filter OFF.

ncbwe will be returned for IR filter ON.

efans will be returned for fan stop.

camera.position(num).status will be returned for preset position. "num" is from 0 to 99.

Example of Response

application.event(1).trigger=v1&200 OK

When a combination of 2 Triggers are set, responses such as m1(10)b2 will be returned. The example indicates that

trigger will be activated when break is invoked at alarm input 2 within 10 seconds after make is invoked at alarm

input 1.

Example of Response

application.event(1).trigger=m1(100)b2&200 OK

Allowed users admin, operator

Setting Alarm Trigger for VN-V686

Format

/api/param?application.event(Number).trigger=data

Example When setting Trigger of Alarm No. 1

/api/param?application.event(1).trigger=m1

Example of Response

application.event(1).trigger&202

Accepted(application.event(1).status=restart)

Interpretation Set Trigger of the alarm action for the specified alarm number. Up to 5 alarm actions can be

specified, and periodic FTP is assigned to event No.6, therefore the number of alarm(number) can be set between the

range of 1 to 6. Note that alarm numbers are different from the alarm input pin numbers.

The changes to settings of alarm action become valid by /api/param?application.event(Number).status=restart.

When setting only 1 Trigger:

43

Advertising