Fix Zoneminder Binding Action examples (#10484)
Signed-off-by: Scott Hanson <scooter_seh@yahoo.com>
This commit is contained in:
parent
a57065c8c0
commit
8521756abb
|
@ -136,14 +136,14 @@ in the Monitor thing configuration.
|
||||||
void triggerAlarm()
|
void triggerAlarm()
|
||||||
```
|
```
|
||||||
|
|
||||||
### triggerAlarmOff
|
### cancelAlarm
|
||||||
|
|
||||||
The `triggerAlarmOff` action cancels a running alarm.
|
The `cancelAlarm` action cancels a running alarm.
|
||||||
|
|
||||||
##### triggerAlarmOff - cancel an alarm
|
##### cancelAlarm - cancel an alarm
|
||||||
|
|
||||||
```java
|
```java
|
||||||
void triggerAlarmOff()
|
void cancelAlarm()
|
||||||
```
|
```
|
||||||
|
|
||||||
### Requirements
|
### Requirements
|
||||||
|
@ -231,7 +231,7 @@ when
|
||||||
Item MotionSensorAlarm changed to ON
|
Item MotionSensorAlarm changed to ON
|
||||||
then
|
then
|
||||||
val zmActions = getActions("zoneminder", "zoneminder:monitor:1")
|
val zmActions = getActions("zoneminder", "zoneminder:monitor:1")
|
||||||
zmActions.triggerAlarmOn(120)
|
zmActions.triggerAlarm(120)
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -241,7 +241,7 @@ when
|
||||||
Item MotionSensorAlarm changed to ON
|
Item MotionSensorAlarm changed to ON
|
||||||
then
|
then
|
||||||
val zmActions = getActions("zoneminder", "zoneminder:monitor:1")
|
val zmActions = getActions("zoneminder", "zoneminder:monitor:1")
|
||||||
zmActions.triggerAlarmOn()
|
zmActions.triggerAlarm()
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -251,7 +251,7 @@ when
|
||||||
Item MotionSensorAlarm changed to OFF
|
Item MotionSensorAlarm changed to OFF
|
||||||
then
|
then
|
||||||
val zmActions = getActions("zoneminder", "zoneminder:monitor:1")
|
val zmActions = getActions("zoneminder", "zoneminder:monitor:1")
|
||||||
zmActions.triggerAlarmOff()
|
zmActions.cancelAlarm()
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue