We have moved at community.getvera.com

Author Topic: Minor bugs in plugin  (Read 1014 times)

Offline surfermarty

  • Newbie
  • *
  • Posts: 1
  • Karma: +1/-0
Minor bugs in plugin
« on: November 23, 2013, 06:07:53 am »
Been working with this plugin to interface to a different alarm panel - in short, getting something to emulate an NX-584.

There are a couple of bugs in the plugin; one a simple typo, the other looks for something in the wrong byte of a message.

L_CaddxNX584Security.lua
 Line 92, Event number '56' is duplicated; 'Control Power Up' should be 57 not 56
 Line 557, Byte 6 in the protocol does indeed hold the 4/6 bit pin flag, but as this is 0 indexed, it should be byte 5 here

No doubt doesn't affect very many people, but it did in my case.

Cheers

m

Offline futzle

  • Moderator
  • Master Member
  • *****
  • Posts: 3260
  • Karma: +192/-9
Re: Minor bugs in plugin
« Reply #1 on: January 12, 2014, 06:27:57 am »
Thanks surfermarty.  I only just noticed this message of yours.  I've made both fixes and committed version 72 to SVN.