v2.0 Bugs

Posted on
Sun Aug 14, 2016 8:27 am
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

v2.0 Bugs

Hi Travis/Monstergerm

So far so good with the new plugin, however i have found one issue that i thing is a bug.. before pressing * 7 1 would toggle a relay but now the virtual keypad does nothing when it's input. It still works fine from normal keypads. Any ideas on what we can do to correct that?

Computer says no.

Posted on
Sun Aug 14, 2016 1:43 pm
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: v2.0 Bugs

Hmm actually the problem seems to be a bit more widespread than i originally thought. As soon as i try to do any input via the virtual keypad i start getting errors such as:

Code: Select all
  DSC Alarm Debug                 TX: 07110F9

  DSC Alarm Debug                 RX: 50196
  DSC Alarm Error                 IT-100/Envisalink Error: Received a command with a bad checksum
  DSC Alarm Debug                 RX: 550203608141699
  DSC Alarm Debug                 Alarm panel time is within 1 minute of actual time, no update necessary.
  DSC Alarm Debug                 RX: 90100032  Date     Time AUG 14/16  8:37p20
  DSC Alarm Debug                 LCD Update, Line 1:'  Date     Time ' Line 2:'AUG 14/16  8:37p'
  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 14/16  8:37p.

  DSC Alarm Error                 Timed out after waiting for response to command 07110 for 3 seconds, retrying.
  DSC Alarm Debug                 TX: 07110F9

  DSC Alarm Debug                 RX: 50196
  DSC Alarm Error                 IT-100/Envisalink Error: Received a command with a bad checksum

  DSC Alarm Error                 Timed out after waiting for response to command 07110 for 3 seconds, retrying.
  DSC Alarm Debug                 TX: 07110F9

  DSC Alarm Debug                 RX: 50196
  DSC Alarm Error                 IT-100/Envisalink Error: Received a command with a bad checksum


Which will then repeat itself for a few seconds before eventually returning to normal (at which point comms with the alarm returns to normal so things like zones opening results in the appropriate triggers occurring)

I've tried the following:

Deleting the control panel devices
New action groups to send the commands
Restarted the DSC alarm panel
Restoring back to previous version fixes errors
Disarming the alarm from a physical control panel has these errors:

Code: Select all
 DSC Alarm Debug                 RX: 90320FE
  DSC Alarm Debug                 LED 'Armed' is 'off'.
  DSC Alarm Debug                 Updating state LEDArmed for keypad on partition 1 to off.
  DSC Alarm Debug                 RX: 90100032System Disarmed No Alarm Memory 00
  DSC Alarm Debug                 LCD Update, Line 1:'System Disarmed ' Line 2:'No Alarm Memory '
  DSC Alarm Debug                 Updating state LCDLine1 for keypad on partition 0 to System Disarmed .
  DSC Alarm Debug                 Updating state LCDLine2 for keypad on partition 0 to No Alarm Memory .
  DSC Alarm Debug                 RX: 50196
  DSC Alarm Error                 IT-100/Envisalink Error: Received a command with a bad checksum
  DSC Alarm Debug                 RX: 90100032Secure or       Arm System    <>96
  DSC Alarm Debug                 LCD Update, Line 1:'Secure or      ' Line 2:' Arm System     '
  DSC Alarm Debug                 Updating state LCDLine1 for keypad on partition 0 to Secure or      .
  DSC Alarm Debug                 Updating state LCDLine2 for keypad on partition 0 to  Arm System     .
  DSC Alarm Debug                 RX: 6531CF
  DSC Alarm Error                 Timed out after waiting for response to command 0711*1# for 3 seconds, retrying.
  DSC Alarm Debug                 TX: 0711*1#47

  DSC Alarm Debug                 RX: 50196
  DSC Alarm Error                 IT-100/Envisalink Error: Received a command with a bad checksum
  DSC Alarm Debug                 RX: 60903739
  DSC Alarm Debug                 Zone number 37 Open.
  DSC Alarm Error                 Timed out after waiting for response to command 0711*1# for 3 seconds, retrying.
  DSC Alarm Debug                 TX: 0711*1#47

  DSC Alarm Debug                 RX: 50196
  DSC Alarm Error                 IT-100/Envisalink Error: Received a command with a bad checksum
  DSC Alarm Debug                 RX: 6100252E
  DSC Alarm Debug                 Zone number 25 Closed.
  DSC Alarm Debug                 RX: 90100032  Date     Time AUG 14/16  8:40p1A
  DSC Alarm Debug                 LCD Update, Line 1:'  Date     Time ' Line 2:'AUG 14/16  8:40p'
  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 14/16  8:40p.
  DSC Alarm Debug                 RX: 61003731
  DSC Alarm Debug                 Zone number 37 Closed.


For reference i'm using a PC5020 control panel with an IT100 connected to a PCI serial card in a Mac Pro

Computer says no.

Posted on
Mon Aug 15, 2016 10:57 pm
travisc offline
User avatar
Posts: 346
Joined: Sep 07, 2010
Location: Toronto, Canada

Re: v2.0 Bugs

Hi,

Try updating the plugin again. I reinstated the old keypress routine.

Thanks

Posted on
Tue Aug 16, 2016 2:18 am
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: v2.0 Bugs

Unfortunately same issue Travis.

Computer says no.

Posted on
Tue Aug 16, 2016 5:03 am
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: v2.0 Bugs

Aha, correction.. it HAS worked however there's something else a miss. Before it was happening when any keypad button was pressed, now it's happening when the alarm is deactivated:

Code: Select all
16 Aug 2016, 11:45:01
  DSC Alarm Debug                 Received Send Keypress Action
  DSC Alarm Debug                 TX: 0700C7

  DSC Alarm Debug                 RX: 5000702C
  DSC Alarm Debug                 ACK for cmd 070.
  DSC Alarm Debug                 TX: 070^F5

  DSC Alarm Debug                 RX: 5000702C
  DSC Alarm Debug                 ACK for cmd 070.
  DSC Alarm Debug                 Received Send Keypress Action
  DSC Alarm Debug                 RX: 9040012E
  DSC Alarm Debug                 Beep Status
  DSC Alarm Debug                 TX: 0707CE

  DSC Alarm Debug                 RX: 5000702C
  DSC Alarm Debug                 ACK for cmd 070.
  DSC Alarm Debug                 TX: 070^F5

  DSC Alarm Debug                 Received Send Keypress Action
  DSC Alarm Debug                 RX: 90100032System Armed    in Stay Mode  <>94
  DSC Alarm Debug                 LCD Update, Line 1:'System Armed   ' Line 2:' in Stay Mode   '
  DSC Alarm Debug                 Updating state LCDLine1 for keypad on partition 0 to System Armed   .
  DSC Alarm Debug                 Updating state LCDLine2 for keypad on partition 0 to  in Stay Mode   .
  DSC Alarm Debug                 RX: 5000702C
  DSC Alarm Debug                 ACK for cmd 070.
  DSC Alarm Debug                 TX: 0700C7

  DSC Alarm Debug                 RX: 9040012E
  DSC Alarm Debug                 Beep Status
  DSC Alarm Debug                 RX: 5000702C
  DSC Alarm Debug                 ACK for cmd 070.
  DSC Alarm Debug                 TX: 070^F5

  DSC Alarm Debug                 RX: 5000702C
  DSC Alarm Debug                 ACK for cmd 070.
  DSC Alarm Debug                 RX: 9040012E
  DSC Alarm Debug                 Beep Status
  DSC Alarm Debug                 Received Send Keypress Action
  DSC Alarm Debug                 TX: 0709D0

  DSC Alarm Debug                 RX: 5000702C
  DSC Alarm Debug                 ACK for cmd 070.
  DSC Alarm Debug                 TX: 070^F5

  DSC Alarm Debug                 RX: 9040012E
  DSC Alarm Debug                 Beep Status
  DSC Alarm Debug                 RX: 5000702C
  DSC Alarm Debug                 ACK for cmd 070.
  DSC Alarm Debug                 RX: 90400633
  DSC Alarm Debug                 Beep Status
  DSC Alarm Debug                 RX: 55011440816169A
  DSC Alarm Debug                 Alarm panel time is within 1 minute of actual time, no update necessary.
  DSC Alarm Debug                 RX: 6551D1
  DSC Alarm Debug                 Updating state state for keypad on partition 1 to disarmed.
  DSC Alarm Debug                 Updating state ArmedState for keypad on partition 1 to disarmed.
  Trigger                         Alarm: State Changes
  DSC Alarm Debug                 Updating state LEDArmed for keypad on partition 1 to off.
  DSC Alarm Debug                 Updating state PanicState for keypad on partition 0 to none.
  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                 Updating state LEDBypass for keypad on partition 1 to off.
  DSC Alarm Debug                 RX: 90311FE
  DSC Alarm Debug                 LED 'Ready' is 'on'.
  DSC Alarm Debug                 Updating state LEDReady for keypad on partition 1 to on.
  DSC Alarm Debug                 RX: 90320FE
  DSC Alarm Debug                 LED 'Armed' is 'off'.
  DSC Alarm Debug                 Updating state LEDArmed for keypad on partition 1 to off.
  DSC Alarm Debug                 RX: 9034000
  DSC Alarm Debug                 LED 'Bypass' is 'off'.
  DSC Alarm Debug                 Updating state LEDBypass for keypad on partition 1 to off.
  DSC Alarm Debug                 RX: 90100032System Disarmed No Alarm Memory 00
  DSC Alarm Debug                 LCD Update, Line 1:'System Disarmed ' Line 2:'No Alarm Memory '
  DSC Alarm Debug                 Updating state LCDLine1 for keypad on partition 0 to System Disarmed .
  DSC Alarm Debug                 Updating state LCDLine2 for keypad on partition 0 to No Alarm Memory .
  DSC Alarm Debug                 RX: 7501004091
  DSC Alarm                       Alarm Panel Disarmed by User 40 'Master'. (Partition 1 'House')
  DSC Alarm Debug                 Updating state state for keypad on partition 1 to disarmed.
  DSC Alarm Debug                 Updating state ArmedState for keypad on partition 1 to disarmed.
  DSC Alarm Debug                 Updating state LEDArmed for keypad on partition 1 to off.
  DSC Alarm Debug                 Updating state PanicState for keypad on partition 0 to none.
  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                 Updating state LEDBypass for keypad on partition 1 to off.
  DSC Alarm Debug                 <<-- entering triggerEvent: eventAlarmDisarmed
  Trigger                         Alarm: Disarmed
  Action Group                    Lighting: Mockupancy Off
  Action Group                    Heating: Set All General
  Ignored                         device "Gym - Main Light" action request (communication is disabled)
  DSC Alarm Debug                 ID: speakTextDisarmed
  Z-Wave                          sent "Bedroom 1 - Claire's Light" off
  Z-Wave                          sent "Ensuite - Light" off
  Z-Wave                          sent "Study - Desk Light" off
  Z-Wave                          sent "Landing - Light" off
  Z-Wave                          sent "Bathroom - Light" off
  Schedule                        Alarm: Disarmed (delayed action)
  Autolog Stella-Z                Heat setpoint altered to 20.0 for 'Lounge - Heating Control'
  Autolog Stella-Z                Heat setpoint altered to 18.5 for 'Dining - Heating Control'
  DSC Alarm Debug                 TX: 0711*1#47

  DSC Alarm Debug                 RX: 50196
  DSC Alarm Error                 IT-100/Envisalink Error: Received a command with a bad checksum
  Schedule                        Alarm: Disarmed (delayed action)
  Autolog Stella-Z                Heat setpoint altered to 14.0 for 'Utility - Heating Control'
  Schedule                        Alarm: Disarmed (delayed action)
  Autolog Stella-Z                Heat setpoint altered to 14.0 for 'Bathroom - Heating Control'
  Schedule                        Alarm: Disarmed (delayed action)
  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 Error                 Timed out after waiting for response to command 0711*1# for 3 seconds, retrying.
  DSC Alarm Debug                 TX: 0711*1#47

  DSC Alarm Debug                 RX: 90100032System is       Ready to Arm    A8
  DSC Alarm Debug                 LCD Update, Line 1:'System is       ' Line 2:'Ready to Arm    '
  DSC Alarm Debug                 Updating state LCDLine1 for keypad on partition 0 to System is       .
  DSC Alarm Debug                 Updating state LCDLine2 for keypad on partition 0 to Ready to Arm    .
  DSC Alarm Debug                 RX: 50196
  DSC Alarm Error                 IT-100/Envisalink Error: Received a command with a bad checksum
  Autolog Stella-Z                Heat setpoint altered to 14.0 for 'Bedroom 2 - Heating Control'
  Schedule                        Alarm: Disarmed (delayed action)
  Autolog Stella-Z                Heat setpoint altered to 14.0 for 'Study - Heating Control'
  Schedule                        Alarm: Disarmed (delayed action)
  Autolog Stella-Z                Heat setpoint altered to 10.0 for 'Gym - Heating Control'
  Schedule                        Alarm: Disarmed (delayed action)
  DSC Alarm Error                 Timed out after waiting for response to command 0711*1# for 3 seconds, retrying.
  DSC Alarm Debug                 TX: 0711*1#47

  DSC Alarm Debug                 RX: 50196
  DSC Alarm Error                 IT-100/Envisalink Error: Received a command with a bad checksum
  Autolog Stella-Z                Heat setpoint altered to 14.0 for 'WC - Heating Control'
  DSC Alarm Debug                 RX: 90100032  Date     Time AUG 16/16 11:44a1B
  DSC Alarm Debug                 LCD Update, Line 1:'  Date     Time ' Line 2:'AUG 16/16 11:44a'
  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 16/16 11:44a.
  DSC Alarm Error                 Timed out after waiting for response to command 0711*1# for 3 seconds, retrying.
  DSC Alarm Error                 Resent command 0711*1# 3 times with no success, aborting.

Computer says no.

Posted on
Tue Aug 16, 2016 5:24 am
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: v2.0 Bugs

Also trying to set a bypass causes similar issues:

WebServer request to execute "iPad: Devices: Security" control #168 from 193.128.190.102
DSC Alarm Received Zone Bypass Action for Zone 'Ensuite - Window Sensor' in Partition 1 'House'.
DSC Alarm Debug TX: 0711*130#AA

DSC Alarm Debug RX: 50196
DSC Alarm Error IT-100/Envisalink Error: Received a command with a bad checksum

Computer says no.

Posted on
Tue Aug 16, 2016 6:47 am
travisc offline
User avatar
Posts: 346
Joined: Sep 07, 2010
Location: Toronto, Canada

Re: v2.0 Bugs

Oops. I used a == instead of 'is'. I've been away from Python too long. The error you saw on disarm should be fixed.

The new bypass actions are only available to the Envisalink devices right now. That 07110 command you see causing trouble is only available on those devices. It's required for the plugin to get a list of the bypassed zones so it can manage them properly.

You should still be able to bypass zones manually using the Send Keypress action to send the correct key presses.

We may work around this in the future if there's an elegant solution.

Travis

Posted on
Tue Aug 16, 2016 9:16 am
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: v2.0 Bugs

Hehe, i think i might have to lock you up down in the basement with Jay for some hardcore Python sessions!

I'll test it out when i get home.

Bypass would be awesome if it can be done.. it's something i've been hoping for for a long long long time.

Computer says no.

Posted on
Tue Aug 16, 2016 11:24 am
travisc offline
User avatar
Posts: 346
Joined: Sep 07, 2010
Location: Toronto, Canada

Re: v2.0 Bugs

I'm not sure if it'll work with the IT-100. The plugin would have no way to know for sure which zones are already in a bypassed state.

You should be able to bypass zones now though, just create a Keypress action that sends the right key sequence. Do the same to disable the bypass. Then just trigger those actions.

Does that not work?

Posted on
Tue Aug 16, 2016 12:20 pm
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: v2.0 Bugs

I've never tried it, but I'm going to guess there's not going to be any way to get a status showing it as bypassed (WAF requires visual feedback ;)

Perhaps I'll just need to upgrade to an envisalink. (On a side note is there any discernible downsides to the envisalink vs it100?)

Computer says no.

Posted on
Tue Aug 16, 2016 1:02 pm
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: v2.0 Bugs

Just tested 2.02, still getting errors on disarm:

DSC Alarm Debug TX: 0711*1#47

DSC Alarm Debug RX: 50196
DSC Alarm Error IT-100/Envisalink Error: Received a command with a bad checksum

Computer says no.

Posted on
Tue Aug 16, 2016 1:41 pm
travisc offline
User avatar
Posts: 346
Joined: Sep 07, 2010
Location: Toronto, Canada

Re: v2.0 Bugs

Oh man. Found one more place where it needed the exception. Can you please try one more time. It's 2.0.3 now.

Posted on
Tue Aug 16, 2016 1:49 pm
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: v2.0 Bugs

I'll give it a proper full on test this weekend but so far so good.

Computer says no.

Posted on
Fri Aug 19, 2016 4:47 pm
durosity offline
User avatar
Posts: 4320
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: v2.0 Bugs

I've found one other issue.. i'm not sure if it's a problem or a feature. When disarming using a keyswitch i get " DSC Alarm Alarm Disarmed by Special Opening (Partition 1 'House')" in the event log. I have a trigger setup for alarm state disarming which prior to v2 worked fine, but now doesn't seem to get triggered. I've noticed there's now three events for triggers, Alarm Disarmed (Any partition), And two for Alarm Disarmed by user code. The trigger is using Alarm Disarmed (any partition) but still fails to fire.

Computer says no.

Posted on
Fri Aug 19, 2016 8:10 pm
Monstergerm offline
Posts: 274
Joined: Sep 01, 2009

Re: v2.0 Bugs

The plugin prior to version 2 had two triggers:
Alarm Disarmed and Alarm Disarmed by User Code. Those did not change but they were renamed to add (any partition). Do they get triggered when you disarm from the keypad?

A new trigger was added to monitor if Alarm was disarmed by user code in a particular partition.

V2 of the plugin also added code to monitor special openings, which you see in your log. I assume you turned log level 2 on. This currently does not trigger anything but it would be easy to change this.

I don’t have a keyswitch so I cannot test which of the TPI commands are being sent (or not sent) when you press that switch. Can you turn debug on and post what is being transmitted.

Who is online

Users browsing this forum: No registered users and 0 guests