diff --git a/README b/README index 299bc12..037dba0 100644 --- a/README +++ b/README @@ -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 diff --git a/plugin.py b/plugin.py old mode 100644 new mode 100755 index 52b1339..78c23b9 --- a/plugin.py +++ b/plugin.py @@ -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