TOSHIBA Network Camera - IK-WB15A - SDK (Ver 1.00.SC)
1.3Alarm Settings
wbsetcamalarm.cgi
1.3.1Syntax
1)http://<camip>/api/wbsetcamalarm.cgi?type=Default
2)http://<camip>/api/wbsetcamalarm.cgi?type=AlarmType[&Mode=<value>][&InputPolarity=<value>]
3)http://<camip>/api/wbsetcamalarm.cgi?type=MotionDetection[&Mode=<value>]
4)http://<camip>/api/wbsetcamalarm.cgi?type=HoldingOutTime[&Time=<value>]
1.3.2 Input
Item | Type | Entry name |
| Entry value | Std.val | Unit | |
Reset to Default | type=Default | - | - |
|
| - |
|
Alarm functions | type=AlarmType | Mode | 1:OFF | 2:Alarm In | 3:Ext. Control In | 1 |
|
Input type |
| InputPolarity | 1:Normal Opened 2:Normal Closed | 1 |
| ||
Motion detection | type=MotionDetection | Mode | 1:OFF | 2:ON |
| 1 |
|
Motion sensitivity |
| Sensitivity | 1:HIGH | 2:MIDDLE | 3:LOW | 1 |
|
Output hold time | type=HoldingOutTime | Time | 1/5/10/15/30/60 |
| 5 | second | |
Log output control of cgi common to all types | OpeLog | No/Yes [default: Yes] (omissible) | - |
|
1.3.3Output
Code | Status |
20 | OK |
30InvalidType
31InvalidEntry
Code | Status |
32InvalidValue
33InvalidOperand
34NoEntryData
Code | Status |
92 | CriticalError |
1.3.4Example
1)http://10.1.0.1/api/wbsetcamalarm.cgi?type=Default
2)http://10.1.0.1/api/wbsetcamalarm.cgi?type=AlarmType&Mode=2&InputPolarity=1
3)http://10.1.0.1/api/wbsetcamalarm.cgi?type=MotionDetection&Mode=2
4)http://10.1.0.1/api/wbsetcamalarm.cgi?type=HoldingOutTime&Time=10
1.3.5Notes
1)If only type=<value> is entered and then <entry>=<value> is not entered, no setting is performed. (type=Default is an exception.)
2)Multiple type=<value> cannot be enumerated simultaneously. This API must be started for each type.
3)For only entered item, setting is performed. For the other items, their existing values are held.
4)When OpeLog=No is entered, a log related to API start/end is not output. When it is omitted, it is regarded as OpeLog=Yes.
©TOSHIBA Corp.
18