The change is saved by the API, encode(2).status=save. If the change is not saved, the setting is restored by reboot. Allowed users admin, operator

6.4. Alarm Setting

The APIs below are related to alarm setting. These are equivalent to the features on the Alarm page of the WEB setting page. Refer to the instruction manual for details on the Alarm page.

Getting On/Off of Alarm Action from VN-V686

Format /api/param?application.event(Number).status

Example When Getting the on/off status of alarm action No. 1

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

Example of response application.event(1).status=on&200 OK

Interpretation Acquire the on/off status of the alarm action for the specified alarm action number. 5 alarm actions and 1 periodic FTP assigned to No.6 are available, so alarm action number can be 1 to 6. Note that alarm numbers are different from the alarm input pin numbers. Either on or off is returned.

Allowed users admin, operator

Setting On/Off of Alarm Action, or Enabling Changes to Alarm Action for VN-V686

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

Example When setting alarm action No. 1 to off

/api/param?application.event(1).status=off

Example of response application.event(1).status&200 OK

Interpretation Set the alarm action of the specified alarm action number to on/off, or enable changes to the alarm action. 5 alarm actions and 1 periodic FTP assigned to No.6 are available, so alarm action number can be 1 to 6. Note that alarm numbers are different from the alarm input pin numbers. Either on or off will be returned.

Specify "on", "off" or "restart". By "restart", changes to alarm action and alarm trigger are enabled. By "on" after "restart", the alarm action starts working with the changed settings. If "restart" is not set after changes to alarm action and alarm trigger, APIs to get settings of alarm action and alarm trigger return previous values.

Allowed users admin, operator

Getting Alarm Action from VN-V686

Format /api/param?application.event(Number).action

Example When Getting action of alarm action No. 1

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

35

Page 35
Image 35
JVC VN-V686U manual Alarm Setting Getting On/Off of Alarm Action from VN-V686, Getting Alarm Action from VN-V686