Skip to content

Commit

Permalink
New feature Open Sections
Browse files Browse the repository at this point in the history
  • Loading branch information
Wizzard72 committed Oct 21, 2020
1 parent 6850682 commit e0f36b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ This plugin creates an Alarm System in Domoticz. It depends on the devices alrea
such as PIR, Door, other sensors.

Configuration
* Add the Domoticz IP Address to the Settings Local Networks

Alarm zones:
* The first zone triggers the Security Panel
Expand Down
2 changes: 2 additions & 0 deletions plugin.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -659,9 +659,11 @@ def mainAlarm(self):
self.trippedSensor(self.TotalZones, self.MatrixRowTotal, "Disarmed", zone)
elif Devices[AlarmModeUnit].nValue == 10: # Armed Home
# Do the actual arming
self.controlSiren(self.TotalZones)
Domoticz.Debug(strName+"Zone "+str(zone)+" is Armed Home")
self.trippedSensor(self.TotalZones, self.MatrixRowTotal, "Armed Home", zone)
elif Devices[AlarmModeUnit].nValue == 20: # Armed Away
self.controlSiren(self.TotalZones)
Domoticz.Debug(strName+"Zone "+str(zone)+" is Armed Away")
self.trippedSensor(self.TotalZones, self.MatrixRowTotal, "Armed Away", zone)
# TRIPPED
Expand Down

0 comments on commit e0f36b8

Please sign in to comment.