DSC Alarm Error

Posted on
Tue Aug 30, 2016 2:23 pm
lochnesz offline
Posts: 366
Joined: Oct 01, 2014
Location: Stockholm, Sweden

DSC Alarm Error

I am getting these error messages from the DSC Plugin. It has worked perfectly for around 4 month, and now when I reconfigured the plugin with user code labels this happened. I changed the configuration back, but I still get the error. It may be a coincidence that it happened when I reconfigured, it might just be that the plugin reinitialized.
I am running the latest Indigo and latest DSC Plugin (2.0.6)
Any ideas?

Code: Select all
  Starting plugin "DSC Alarm 2.0.6" (pid 257)
  DSC Alarm                       Log level preferences are set to "Verbose".
  Started plugin "DSC Alarm 2.0.6"
  DSC Alarm                       Initializing communication at address: xxx.xxx.xxx.xxx:4025
  DSC Alarm                       Connected to Envisalink.
  DSC Alarm                       Enabling Time Broadcast
  DSC Alarm                       Time Broadcast enabled.
  DSC Alarm                       Pinging the panel to test communication...
  DSC Alarm                       Ping was successful.
  DSC Alarm                       Requesting a full state update.
  DSC Alarm                       State update request successful, initialization complete, starting normal operation.
  DSC Alarm                       Trouble Status (LED ON). (Partition 1 'Default')
  DSC Alarm Error                 Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 2095, in runConcurrentThread
  File "plugin.py", line 1530, in readPacket
KeyError: (2,)

  DSC Alarm Error                 plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
  DSC Alarm Error                 Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 2095, in runConcurrentThread
  File "plugin.py", line 1530, in readPacket
KeyError: (3,)

  DSC Alarm Error                 plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
  DSC Alarm Error                 Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 2095, in runConcurrentThread
  File "plugin.py", line 1530, in readPacket
KeyError: (4,)

  DSC Alarm Error                 plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
  DSC Alarm Error                 Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 2095, in runConcurrentThread
  File "plugin.py", line 1530, in readPacket
KeyError: (5,)

  DSC Alarm Error                 plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
  DSC Alarm Error                 Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 2095, in runConcurrentThread
  File "plugin.py", line 1530, in readPacket
KeyError: (6,)

  DSC Alarm Error                 plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
  DSC Alarm Error                 Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 2095, in runConcurrentThread
  File "plugin.py", line 1530, in readPacket
KeyError: (7,)

  DSC Alarm Error                 plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
  DSC Alarm Error                 Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 2095, in runConcurrentThread
  File "plugin.py", line 1530, in readPacket
KeyError: (8,)

  DSC Alarm Error                 plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)


Posted on
Tue Aug 30, 2016 2:42 pm
travisc offline
User avatar
Posts: 346
Joined: Sep 07, 2010
Location: Toronto, Canada

Re: DSC Alarm Error

Hi,

Any chance you can reproduce the error with a higher level of debugging? You can increase the debug level in the plugin config. Might as well use the highest level.

Thanks

Posted on
Tue Aug 30, 2016 2:48 pm
lochnesz offline
Posts: 366
Joined: Oct 01, 2014
Location: Stockholm, Sweden

Re: DSC Alarm Error

Sure, here it is.
Code: Select all
  DSC Alarm                       Log level preferences changed to "Intense Debug".
  DSC Alarm Debug                 getConfiguration start
  DSC Alarm Debug                 Configuration read successfully
  DSC Alarm                       Initializing communication at address: xxx.xxx.xxx.xxx:4025
  DSC Alarm Debug                 RX: 5053CD
  DSC Alarm Debug                 Received login request
  DSC Alarm Debug                 TX: 005user54

  DSC Alarm Debug                 RX: 5000052A
  DSC Alarm Debug                 ACK for cmd 005.
  DSC Alarm Debug                 RX: 5051CB
  DSC Alarm                       Connected to Envisalink.
  DSC Alarm                       Enabling Time Broadcast
  DSC Alarm Debug                 TX: 0561CC

  DSC Alarm Debug                 RX: 50005630
  DSC Alarm Debug                 ACK for cmd 056.
  DSC Alarm                       Time Broadcast enabled.
  DSC Alarm                       Pinging the panel to test communication...
  DSC Alarm Debug                 TX: 00090

  DSC Alarm Debug                 RX: 50000025
  DSC Alarm Debug                 ACK for cmd 000.
  DSC Alarm                       Ping was successful.
  DSC Alarm                       Requesting a full state update.
  DSC Alarm Debug                 TX: 00191

  DSC Alarm Debug                 RX: 50000126
  DSC Alarm Debug                 ACK for cmd 001.
  DSC Alarm                       State update request successful, initialization complete, starting normal operation.
  DSC Alarm Debug                 RX: 61000128
  DSC Alarm Debug                 Zone Number 1 Closed.
  DSC Alarm Debug                 RX: 61000229
  DSC Alarm Debug                 Zone Number 2 Closed.
  DSC Alarm Debug                 RX: 6100032A
  DSC Alarm Debug                 Zone Number 3 Closed.
  DSC Alarm Debug                 RX: 6100042B
  DSC Alarm Debug                 Zone Number 4 Closed.
  DSC Alarm Debug                 RX: 6100052C
  DSC Alarm Debug                 Zone Number 5 Closed.
  DSC Alarm Debug                 RX: 6100062D
  DSC Alarm Debug                 Zone Number 6 Closed.
  DSC Alarm Debug                 RX: 6100072E
  DSC Alarm Debug                 Zone Number 7 Closed.
  DSC Alarm Debug                 RX: 6100082F
  DSC Alarm Debug                 Zone Number 8 Closed.
  DSC Alarm Debug                 RX: 61000930
  DSC Alarm Debug                 Zone Number 9 Closed.
  DSC Alarm Debug                 RX: 61001028
  DSC Alarm Debug                 Zone Number 10 Closed.
  DSC Alarm Debug                 RX: 61001129
  DSC Alarm Debug                 Zone Number 11 Closed.
  DSC Alarm Debug                 RX: 6100122A
  DSC Alarm Debug                 Zone Number 12 Closed.
  DSC Alarm Debug                 RX: 6100132B
  DSC Alarm Debug                 Zone Number 13 Closed.
  DSC Alarm Debug                 RX: 6100142C
  DSC Alarm Debug                 Zone Number 14 Closed.
  DSC Alarm Debug                 RX: 6100152D
  DSC Alarm Debug                 Zone Number 15 Closed.
  DSC Alarm Debug                 RX: 6100162E
  DSC Alarm Debug                 Zone Number 16 Closed.
  DSC Alarm Debug                 RX: 6100172F
  DSC Alarm Debug                 Zone Number 17 Closed.
  DSC Alarm Debug                 RX: 61001830
  DSC Alarm Debug                 Zone Number 18 Closed.
  DSC Alarm Debug                 RX: 61001931
  DSC Alarm Debug                 Zone Number 19 Closed.
  DSC Alarm Debug                 RX: 61002029
  DSC Alarm Debug                 Zone Number 20 Closed.
  DSC Alarm Debug                 RX: 6100212A
  DSC Alarm Debug                 Zone Number 21 Closed.
  DSC Alarm Debug                 RX: 6100222B
  DSC Alarm Debug                 Zone Number 22 Closed.
  DSC Alarm Debug                 RX: 6100232C
  DSC Alarm Debug                 Zone Number 23 Closed.
  DSC Alarm Debug                 RX: 6100242D
  DSC Alarm Debug                 Zone Number 24 Closed.
  DSC Alarm Debug                 RX: 6100252E
  DSC Alarm Debug                 Zone Number 25 Closed.
  DSC Alarm Debug                 RX: 6100262F
  DSC Alarm Debug                 Zone Number 26 Closed.
  DSC Alarm Debug                 RX: 61002730
  DSC Alarm Debug                 Zone Number 27 Closed.
  DSC Alarm Debug                 RX: 61002831
  DSC Alarm Debug                 Zone Number 28 Closed.
  DSC Alarm Debug                 RX: 61002932
  DSC Alarm Debug                 Zone Number 29 Closed.
  DSC Alarm Debug                 RX: 6100302A
  DSC Alarm Debug                 Zone Number 30 Closed.
  DSC Alarm Debug                 RX: 6100312B
  DSC Alarm Debug                 Zone Number 31 Closed.
  DSC Alarm Debug                 RX: 6100322C
  DSC Alarm Debug                 Zone Number 32 Closed.
  DSC Alarm Debug                 RX: 6100332D
  DSC Alarm Debug                 Zone Number 33 Closed.
  DSC Alarm Debug                 RX: 6100342E
  DSC Alarm Debug                 Zone Number 34 Closed.
  DSC Alarm Debug                 RX: 6100352F
  DSC Alarm Debug                 Zone Number 35 Closed.
  DSC Alarm Debug                 RX: 61003630
  DSC Alarm Debug                 Zone Number 36 Closed.
  DSC Alarm Debug                 RX: 61003731
  DSC Alarm Debug                 Zone Number 37 Closed.
  DSC Alarm Debug                 RX: 61003832
  DSC Alarm Debug                 Zone Number 38 Closed.
  DSC Alarm Debug                 RX: 61003933
  DSC Alarm Debug                 Zone Number 39 Closed.
  DSC Alarm Debug                 RX: 6100402B
  DSC Alarm Debug                 Zone Number 40 Closed.
  DSC Alarm Debug                 RX: 6100412C
  DSC Alarm Debug                 Zone Number 41 Closed.
  DSC Alarm Debug                 RX: 6100422D
  DSC Alarm Debug                 Zone Number 42 Closed.
  DSC Alarm Debug                 RX: 6100432E
  DSC Alarm Debug                 Zone Number 43 Closed.
  DSC Alarm Debug                 RX: 6100442F
  DSC Alarm Debug                 Zone Number 44 Closed.
  DSC Alarm Debug                 RX: 61004530
  DSC Alarm Debug                 Zone Number 45 Closed.
  DSC Alarm Debug                 RX: 61004631
  DSC Alarm Debug                 Zone Number 46 Closed.
  DSC Alarm Debug                 RX: 61004732
  DSC Alarm Debug                 Zone Number 47 Closed.
  DSC Alarm Debug                 RX: 61004833
  DSC Alarm Debug                 Zone Number 48 Closed.
  DSC Alarm Debug                 RX: 61004934
  DSC Alarm Debug                 Zone Number 49 Closed.
  DSC Alarm Debug                 RX: 6100502C
  DSC Alarm Debug                 Zone Number 50 Closed.
  DSC Alarm Debug                 RX: 6100512D
  DSC Alarm Debug                 Zone Number 51 Closed.
  DSC Alarm Debug                 RX: 6100522E
  DSC Alarm Debug                 Zone Number 52 Closed.
  DSC Alarm Debug                 RX: 6100532F
  DSC Alarm Debug                 Zone Number 53 Closed.
  DSC Alarm Debug                 RX: 61005430
  DSC Alarm Debug                 Zone Number 54 Closed.
  DSC Alarm Debug                 RX: 61005531
  DSC Alarm Debug                 Zone Number 55 Closed.
  DSC Alarm Debug                 RX: 61005632
  DSC Alarm Debug                 Zone Number 56 Closed.
  DSC Alarm Debug                 RX: 61005733
  DSC Alarm Debug                 Zone Number 57 Closed.
  DSC Alarm Debug                 RX: 61005834
  DSC Alarm Debug                 Zone Number 58 Closed.
  DSC Alarm Debug                 RX: 61005935
  DSC Alarm Debug                 Zone Number 59 Closed.
  DSC Alarm Debug                 RX: 6100602D
  DSC Alarm Debug                 Zone Number 60 Closed.
  DSC Alarm Debug                 RX: 6100612E
  DSC Alarm Debug                 Zone Number 61 Closed.
  DSC Alarm Debug                 RX: 6100622F
  DSC Alarm Debug                 Zone Number 62 Closed.
  DSC Alarm Debug                 RX: 61006330
  DSC Alarm Debug                 Zone Number 63 Closed.
  DSC Alarm Debug                 RX: 61006431
  DSC Alarm Debug                 Zone Number 64 Closed.
  DSC Alarm Debug                 RX: 6501CC
  DSC Alarm Debug                 Partition 1 Ready
  DSC Alarm Debug                 Updating state ReadyState for keypad on partition 1 to ready.
  DSC Alarm Debug                 Updating state LEDReady for keypad on partition 1 to on.
  DSC Alarm Debug                 RX: 6732D2
  DSC Alarm Debug                 Partition 2 Busy.
  DSC Alarm Debug                 RX: 6733D3
  DSC Alarm Debug                 Partition 3 Busy.
  DSC Alarm Debug                 RX: 6734D4
  DSC Alarm Debug                 Partition 4 Busy.
  DSC Alarm Debug                 RX: 6735D5
  DSC Alarm Debug                 Partition 5 Busy.
  DSC Alarm Debug                 RX: 6736D6
  DSC Alarm Debug                 Partition 6 Busy.
  DSC Alarm Debug                 RX: 6737D7
  DSC Alarm Debug                 Partition 7 Busy.
  DSC Alarm Debug                 RX: 6738D8
  DSC Alarm Debug                 Partition 8 Busy.
  DSC Alarm Debug                 RX: 8401CD
  DSC Alarm                       Trouble Status (LED ON). (Partition 1 'Default')
  DSC Alarm Debug                 Updating state LEDTrouble for keypad on partition 1 to on.
  DSC Alarm Debug                 RX: 8402CE
  DSC Alarm Error                 Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 2095, in runConcurrentThread
  File "plugin.py", line 1530, in readPacket
KeyError: (2,)

  DSC Alarm Error                 plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
  DSC Alarm Debug                 runConcurrentThread called
  DSC Alarm Debug                 RX: 8403CF
  DSC Alarm Error                 Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 2095, in runConcurrentThread
  File "plugin.py", line 1530, in readPacket
KeyError: (3,)

  DSC Alarm Error                 plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
  DSC Alarm Debug                 runConcurrentThread called
  DSC Alarm Debug                 RX: 8404D0
  DSC Alarm Error                 Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 2095, in runConcurrentThread
  File "plugin.py", line 1530, in readPacket
KeyError: (4,)

  DSC Alarm Error                 plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
  DSC Alarm Debug                 runConcurrentThread called
  DSC Alarm Debug                 RX: 8405D1
  DSC Alarm Error                 Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 2095, in runConcurrentThread
  File "plugin.py", line 1530, in readPacket
KeyError: (5,)

  DSC Alarm Error                 plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
  DSC Alarm Debug                 runConcurrentThread called
  DSC Alarm Debug                 RX: 8406D2
  DSC Alarm Error                 Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 2095, in runConcurrentThread
  File "plugin.py", line 1530, in readPacket
KeyError: (6,)

  DSC Alarm Error                 plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
  DSC Alarm Debug                 runConcurrentThread called
  DSC Alarm Debug                 RX: 8407D3
  DSC Alarm Error                 Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 2095, in runConcurrentThread
  File "plugin.py", line 1530, in readPacket
KeyError: (7,)

  DSC Alarm Error                 plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
  DSC Alarm Debug                 runConcurrentThread called
  DSC Alarm Debug                 RX: 8408D4
  DSC Alarm Error                 Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
  File "plugin.py", line 2095, in runConcurrentThread
  File "plugin.py", line 1530, in readPacket
KeyError: (8,)

  DSC Alarm Error                 plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
  DSC Alarm Debug                 runConcurrentThread called
  DSC Alarm Debug                 RX: 5109100
  DSC Alarm Debug                 Updating state LEDReady for keypad on partition 1 to on.
  DSC Alarm Debug                 Updating state LEDArmed for keypad on partition 1 to off.
  DSC Alarm Debug                 Updating state LEDTrouble for keypad on partition 1 to on.
  DSC Alarm Debug                 Updating state LEDMemory for keypad on partition 1 to off.
  DSC Alarm Debug                 Updating state LEDBypass for keypad on partition 1 to off.
  DSC Alarm Debug                 RX: 550224408301698
  DSC Alarm Debug                 Alarm panel time is within 1 minute of actual time, no update necessary.
  DSC Alarm Debug                 Updating state LCDLine1 for keypad on partition 0 to   Date     Time .
  DSC Alarm Debug                 Updating state LCDLine2 for keypad on partition 0 to AUG 30/16 10:44p.
  DSC Alarm Debug                 RX: 51110F8
  DSC Alarm Debug                 RX: 8490106
  DSC Alarm Debug                 Received trouble code byte 0x01
  DSC Alarm Debug                 RX: 51080FE
  DSC Alarm Debug                 Updating state LEDReady for keypad on partition 1 to off.
  DSC Alarm Debug                 Updating state LEDArmed for keypad on partition 1 to off.
  DSC Alarm Debug                 Updating state LEDTrouble for keypad on partition 1 to off.
  DSC Alarm Debug                 Updating state LEDMemory for keypad on partition 1 to off.
  DSC Alarm Debug                 Updating state LEDBypass for keypad on partition 1 to off.
  DSC Alarm Debug                 RX: 51100F7
  DSC Alarm Debug                 RX: 5109100
  DSC Alarm Debug                 Updating state LEDReady for keypad on partition 1 to on.
  DSC Alarm Debug                 Updating state LEDArmed for keypad on partition 1 to off.
  DSC Alarm Debug                 Updating state LEDTrouble for keypad on partition 1 to on.
  DSC Alarm Debug                 Updating state LEDMemory for keypad on partition 1 to off.
  DSC Alarm Debug                 Updating state LEDBypass for keypad on partition 1 to off.
  DSC Alarm Debug                 RX: 6501CC
  DSC Alarm Debug                 Partition 1 Ready
  DSC Alarm Debug                 Updating state ReadyState for keypad on partition 1 to ready.
  DSC Alarm Debug                 Updating state LEDReady for keypad on partition 1 to on.

Posted on
Tue Aug 30, 2016 5:11 pm
Monstergerm offline
Posts: 274
Joined: Sep 01, 2009

Re: DSC Alarm Error

I assume you have a real trouble situation with your DSC panel and the trouble LED on the physical keypad is on.

I further think your plugin is choking on the default name 'Default' for your partition 1.
Can you edit your partition 1 device, click on Edit Device Settings ... and in the next window enter a name for your partition 1. Then test again and report back.

thanks

Posted on
Tue Aug 30, 2016 7:46 pm
travisc offline
User avatar
Posts: 346
Joined: Sep 07, 2010
Location: Toronto, Canada

Re: DSC Alarm Error

Looks like we're getting a Key Error on the following line ...

dev = indigo.devices[self.keypadList[partition]]

I'm guessing the keypad device for that partition doesn't exist in that dictionary. Looks like his panel is reporting trouble status 8 times, once for each partition. Could it be failing if a keypad device doesn't exist for that partition?

Maybe we have to check for the presence of a keypad device for a particular partition in that section of the code?

Posted on
Wed Aug 31, 2016 1:26 am
lochnesz offline
Posts: 366
Joined: Oct 01, 2014
Location: Stockholm, Sweden

Re: DSC Alarm Error

Monstergerm wrote:
Can you edit your partition 1 device, click on Edit Device Settings ... and in the next window enter a name for your partition 1. Then test again and report back.


Sorry, did not help.

Posted on
Wed Aug 31, 2016 1:33 am
lochnesz offline
Posts: 366
Joined: Oct 01, 2014
Location: Stockholm, Sweden

Re: DSC Alarm Error

travisc wrote:
Looks like we're getting a Key Error on the following line ...

dev = indigo.devices[self.keypadList[partition]]

I'm guessing the keypad device for that partition doesn't exist in that dictionary. Looks like his panel is reporting trouble status 8 times, once for each partition. Could it be failing if a keypad device doesn't exist for that partition?

Maybe we have to check for the presence of a keypad device for a particular partition in that section of the code?


I have 3 keypads, all in Partition 1 (the only partition I am using. Then there is the "virtual" keypad in Indigo also in Partition 1. The alarm only supports 2 partitions in total.
As you can see I have a trouble condition, which is actually a tamper switch on one of the keypads. It is under control, the keypad is removed from the wall at the moment. However, if I press the tamper switch and reload DSC plugin, the error seams to go away. So the error was probably not introduced by a reconfiguration as I wrote earlier, but since the reconfiguration reloaded the plugin, that was when it appeared. Does this make any sense?

Posted on
Wed Aug 31, 2016 7:12 am
travisc offline
User avatar
Posts: 346
Joined: Sep 07, 2010
Location: Toronto, Canada

Re: DSC Alarm Error

We understand. For some reason your panel or EVL are reporting trouble 8 times, once for each partition. We'll just make a change to check for a keypad device before updating it and this will go away.

Thanks

Posted on
Wed Aug 31, 2016 7:29 am
lochnesz offline
Posts: 366
Joined: Oct 01, 2014
Location: Stockholm, Sweden

Re: DSC Alarm Error

:D Many thanks!

Posted on
Fri Sep 02, 2016 7:34 am
travisc offline
User avatar
Posts: 346
Joined: Sep 07, 2010
Location: Toronto, Canada

Re: DSC Alarm Error

This should be fixed now. Please report back when you have a chance to test it.

Thanks

Posted on
Fri Sep 02, 2016 12:49 pm
lochnesz offline
Posts: 366
Joined: Oct 01, 2014
Location: Stockholm, Sweden

Re: DSC Alarm Error

Yes, it works fine without any errors now :D :D :D

Many thanks!

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest