Page 1 of 1

Panic alarm giving an error

PostPosted: Mon Sep 23, 2013 12:36 pm
by HA1
When I try the panic mode, I get the following error. Any ideas?

Action Group Alarm_panic
DSC Alarm Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 106, in methodPanicAlarm
File "/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/DSC Alarm.indigoPlugin/Contents/Server Plugin/DSC.py", line 1034, in actionPanicAlarm
<type 'exceptions.KeyError'>: key panicAlarmType not found in dict

Re: Panic alarm giving an error

PostPosted: Wed Sep 25, 2013 8:43 am
by travisc
Hmmm. Must be a bug, I'll check that.

Re: Panic alarm giving an error

PostPosted: Wed Jun 08, 2016 8:35 pm
by Monstergerm
Panic alarms triggered by pressing the Fire, Ambulance or Police button are showing up in Log as e.g.
Fire Key Alarm Detected
Alarm TRIPPED (Partition 1)

But no email alert message is being sent. Are email alerts only sent when zone alarms are triggered? How can I change this in the plugin so that all panic alarms are sent too?

Re: Panic alarm giving an error

PostPosted: Thu Jun 09, 2016 4:19 pm
by howartp
TravisC isn't around much recently.

I don't know the answer, but last time I looked in the DSC plugin it was fairly self explanatory (if not large due to the number of keycodes) - I expect you'll be able to define a new event in events.xml and add a method to handle it, copying off the ones that are there.


Sent from my iPhone using Tapatalk

Re: Panic alarm giving an error

PostPosted: Wed Jul 06, 2016 8:45 am
by travisc
Are email alerts only sent when zone alarms are triggered?

Yes. Those are done by the plugin directly due to the information they contain. In the body of each email is a list of the zones violated up to that point. This works well with push notification apps so you can see in the notification what's going on.

All other alarms are easily sent using Indigo's built in email facility. Simply trigger on the tripped state of a particular zone to send an email.

howartp is also correct, you can always customize the plugin to your needs by adding any additional events.