We have moved at community.getvera.com

Author Topic: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB  (Read 362885 times)

Offline GroundLoop

  • Full Member
  • ***
  • Posts: 109
  • Karma: +0/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #555 on: December 31, 2012, 10:24:36 pm »
One odd issue I have with AD2USB is that the SecuritySensors trip continuously.

Meaning, while the door is open, the sensor is continuously "re-tripping".  This makes it difficult to measure the time since the sensor was tripped, as LastTrip is pretty meaningless.

Is this normal?

Code: [Select]
06      12/31/12 19:22:49.533   Device_Variable::m_szValue_set device: 17 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: LastTrip was: 1357010565 now: 1357010569 #hooks: 0 upnp: 0 v:0x941e18/NONE duplicate:0 <0x2ed7a680>
06      12/31/12 19:22:53.653   Device_Variable::m_szValue_set device: 17 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: LastTrip was: 1357010569 now: 1357010573 #hooks: 0 upnp: 0 v:0x941e18/NONE duplicate:0 <0x2ed7a680>
06      12/31/12 19:22:57.663   Device_Variable::m_szValue_set device: 17 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: LastTrip was: 1357010573 now: 1357010577 #hooks: 0 upnp: 0 v:0x941e18/NONE duplicate:0 <0x2ed7a680>

Offline almiller

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #556 on: January 04, 2013, 03:57:33 pm »
I just installed the latest from the trunk and i am sporatically getting this error:

50   01/04/13 15:51:55.997   luup_log:8: (VistaAlarmPanel::processIncoming) Incoming data = '!RFX:0659888,88'. <0x2edae680>
50   01/04/13 15:51:55.998   luup_log:8: (VistaAlarmPanel::processExMessage) Decoded RFX message: serial = 0659888, loop[1] = true, loop[2] = false, loop[3] = false, loop[4] = false, flags.unknown2 = true, flags.unknown1 = false, flags.battery = false, flags.supervision = false <0x2edae680>
01   01/04/13 15:51:55.999   LuaInterface::CallFunction-2 lu_incoming failed [string "-- Required Libraries..."]:798: attempt to concatenate global 'deviceSerialNo' (a nil value) <0x2edae680>
50   01/04/13 15:51:58.517   luup_log:8: (VistaAlarmPanel::processIncoming) Incoming data = '!RFX:0659888,08'. <0x2edae680>

Any ideas?

Offline hugheaves

  • Full Member
  • ***
  • Posts: 241
  • Karma: +11/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #557 on: January 04, 2013, 05:03:01 pm »
I just installed the latest from the trunk and i am sporatically getting this error:

50   01/04/13 15:51:55.997   luup_log:8: (VistaAlarmPanel::processIncoming) Incoming data = '!RFX:0659888,88'. <0x2edae680>
50   01/04/13 15:51:55.998   luup_log:8: (VistaAlarmPanel::processExMessage) Decoded RFX message: serial = 0659888, loop[1] = true, loop[2] = false, loop[3] = false, loop[4] = false, flags.unknown2 = true, flags.unknown1 = false, flags.battery = false, flags.supervision = false <0x2edae680>
01   01/04/13 15:51:55.999   LuaInterface::CallFunction-2 lu_incoming failed [string "-- Required Libraries..."]:798: attempt to concatenate global 'deviceSerialNo' (a nil value) <0x2edae680>
50   01/04/13 15:51:58.517   luup_log:8: (VistaAlarmPanel::processIncoming) Incoming data = '!RFX:0659888,08'. <0x2edae680>

Any ideas?

almiller,

That's very interesting. Whatever alarm device you have sending this RF message is setting the "unknown2" flag to "true". As the AD2USB manufacturer hadn't figured out what the unknown flags do (hence the unknown part :) ), I was discarding (with an error message) any messages that had these flags set. However,as I just found out, the code to print the error message is actually broken, so you're not getting the correct error message.

So, what sort of device is your "0659888"? Maybe we can figure out how we should be handling these messages.

Thanks,
Hugh
The HA "collection" so far: MiCasaVerde: 1x VeraLite, RTCOA: 3x 3M-50, GE: 1x 45606, 3x 45613, 5x 54614, Kwikset: 1x 99100-004, Intermatic: 6x CA3000, 6x CA600, 8x HA01, 2x HA02, 12x HA03, 2x HA04, 3x HA05,  6x HA07, 7x HA09, Honeywell: 1x Vista 20P, NuTech: 1x AD2USB

Offline Latz

  • Jr. Member
  • **
  • Posts: 96
  • Karma: +0/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #558 on: January 05, 2013, 10:24:55 pm »
I imagine the storepincode function only applies to VistaAlarmPanel1, so change that back to what MCVFlorin had

@gelert still didn't work  :( I tried this:

Code: [Select]
luup.call_action("urn:micasaverde-com:serviceId:VistaAlarmPanel1", "StorePinCode", "1234", PARTITION_DEVICE_1)
...I changed the # on the end of  PARTITION_DEVICE_ to 1 (which is my partition number, I tried 3 as well which is common partition) but it didn't work.  I don't get any errors like I did before but it still says I need to enter the pin code before it can perform any functions.

So then I tried:

Code: [Select]
luup.call_action("urn:micasaverde-com:serviceId:VistaAlarmPanel1", "StorePinCode", "1234", vista_partition_1)
...I changed the PARTITION_DEVICE_# to vista_partition_1 which is the altid for the alarm panel on the Vera.  I don't get any errors like I did before but it still says I need to enter the pin code before it can perform any functions.

Still not working - appreciate any other ideas for things I can try!


Any ideas anyone?  Really want to try and get this working so I'd appreciate any thoughts  :)

Offline almiller

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #559 on: January 06, 2013, 09:11:29 pm »
I just installed the latest from the trunk and i am sporatically getting this error:

50   01/04/13 15:51:55.997   luup_log:8: (VistaAlarmPanel::processIncoming) Incoming data = '!RFX:0659888,88'. <0x2edae680>
50   01/04/13 15:51:55.998   luup_log:8: (VistaAlarmPanel::processExMessage) Decoded RFX message: serial = 0659888, loop[1] = true, loop[2] = false, loop[3] = false, loop[4] = false, flags.unknown2 = true, flags.unknown1 = false, flags.battery = false, flags.supervision = false <0x2edae680>
01   01/04/13 15:51:55.999   LuaInterface::CallFunction-2 lu_incoming failed [string "-- Required Libraries..."]:798: attempt to concatenate global 'deviceSerialNo' (a nil value) <0x2edae680>
50   01/04/13 15:51:58.517   luup_log:8: (VistaAlarmPanel::processIncoming) Incoming data = '!RFX:0659888,08'. <0x2edae680>

Any ideas?

almiller,

That's very interesting. Whatever alarm device you have sending this RF message is setting the "unknown2" flag to "true". As the AD2USB manufacturer hadn't figured out what the unknown flags do (hence the unknown part :) ), I was discarding (with an error message) any messages that had these flags set. However,as I just found out, the code to print the error message is actually broken, so you're not getting the correct error message.

So, what sort of device is your "0659888"? Maybe we can figure out how we should be handling these messages.

Thanks,
Hugh

Hugh,

I am thinking that is coming from my neighbors house - all of my wireless sensors are accounted for.....  I will ask and see if he will help me figure out which one it is...

Offline hugheaves

  • Full Member
  • ***
  • Posts: 241
  • Karma: +11/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #560 on: January 07, 2013, 11:24:18 am »
I just installed the latest from the trunk and i am sporatically getting this error:

50   01/04/13 15:51:55.997   luup_log:8: (VistaAlarmPanel::processIncoming) Incoming data = '!RFX:0659888,88'. <0x2edae680>
50   01/04/13 15:51:55.998   luup_log:8: (VistaAlarmPanel::processExMessage) Decoded RFX message: serial = 0659888, loop[1] = true, loop[2] = false, loop[3] = false, loop[4] = false, flags.unknown2 = true, flags.unknown1 = false, flags.battery = false, flags.supervision = false <0x2edae680>
01   01/04/13 15:51:55.999   LuaInterface::CallFunction-2 lu_incoming failed [string "-- Required Libraries..."]:798: attempt to concatenate global 'deviceSerialNo' (a nil value) <0x2edae680>
50   01/04/13 15:51:58.517   luup_log:8: (VistaAlarmPanel::processIncoming) Incoming data = '!RFX:0659888,08'. <0x2edae680>

Any ideas?

almiller,

That's very interesting. Whatever alarm device you have sending this RF message is setting the "unknown2" flag to "true". As the AD2USB manufacturer hadn't figured out what the unknown flags do (hence the unknown part :) ), I was discarding (with an error message) any messages that had these flags set. However,as I just found out, the code to print the error message is actually broken, so you're not getting the correct error message.

So, what sort of device is your "0659888"? Maybe we can figure out how we should be handling these messages.

Thanks,
Hugh

Hugh,

I am thinking that is coming from my neighbors house - all of my wireless sensors are accounted for.....  I will ask and see if he will help me figure out which one it is...

Sounds good. Let me know if you find anything out. Hopefully your neighbour won't be too freaked out if you ask him about the messages you’re "sniffing" from his alarm system. :)

Anyway, I've updated the code in trunk to log the message correctly, instead of throwing the error.

Hugh
The HA "collection" so far: MiCasaVerde: 1x VeraLite, RTCOA: 3x 3M-50, GE: 1x 45606, 3x 45613, 5x 54614, Kwikset: 1x 99100-004, Intermatic: 6x CA3000, 6x CA600, 8x HA01, 2x HA02, 12x HA03, 2x HA04, 3x HA05,  6x HA07, 7x HA09, Honeywell: 1x Vista 20P, NuTech: 1x AD2USB

Offline mcvflorin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1755
  • Karma: +11/-3
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #561 on: January 08, 2013, 09:18:28 am »
So then I tried:

Code: [Select]
luup.call_action("urn:micasaverde-com:serviceId:VistaAlarmPanel1", "StorePinCode", "1234", vista_partition_1)
...I changed the PARTITION_DEVICE_# to vista_partition_1 which is the altid for the alarm panel on the Vera.  I don't get any errors like I did before but it still says I need to enter the pin code before it can perform any functions.

Still not working - appreciate any other ideas for things I can try!

Unless vista_partition_1 is a variable declared above that line, that call is incorrect. PARTITION_DEVICE_# should be the device number of the partition device. So if the partition 1 device has numer 23, the code would look like this:
Code: [Select]
luup.call_action("urn:micasaverde-com:serviceId:VistaAlarmPanel1", "StorePinCode", "1234", 23)
Edit: I updated the instructions in that post: http://forum.micasaverde.com/index.php/topic,7266.msg95479.html#msg95479
« Last Edit: January 08, 2013, 09:20:59 am by mcvflorin »

Offline rabbmd

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #562 on: January 14, 2013, 01:50:36 pm »
I also bumped another thread, but is the ad2usb still the best way to connect vera to an ademco vista 20p, or does the EVL-3 that only recently has added interfacability with the vista 20p and some other vista panels a better way to go?

Offline Latz

  • Jr. Member
  • **
  • Posts: 96
  • Karma: +0/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #563 on: January 14, 2013, 10:01:28 pm »
Unless vista_partition_1 is a variable declared above that line, that call is incorrect. PARTITION_DEVICE_# should be the device number of the partition device. So if the partition 1 device has numer 23, the code would look like this:
Code: [Select]
luup.call_action("urn:micasaverde-com:serviceId:VistaAlarmPanel1", "StorePinCode", "1234", 23)
Edit: I updated the instructions in that post: http://forum.micasaverde.com/index.php/topic,7266.msg95479.html#msg95479

Duh I'm so so stupid  :-[ Thanks for pointing that out.  Unfortunately it still doesn't work  :( says "Cannot Arm/Disarm Without a Pin Code".  Not getting any startup errors and the script is running in Edit Startup Lua Code section.  My script looks like yours:

Code: [Select]
luup.call_action("urn:micasaverde-com:serviceId:VistaAlarmPanel1", "StorePinCode", "xxxx", 21)
I checked my vista partition one device, the ID is 21. 

Offline mcvflorin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1755
  • Karma: +11/-3
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #564 on: January 15, 2013, 05:25:36 am »
There's a bug in the plugin when not in Secure Store mode: you have to either reload the Luup engine or execute a command putting the PIN code in the appropriate field for the PIN code to be memorized.

Offline Latz

  • Jr. Member
  • **
  • Posts: 96
  • Karma: +0/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #565 on: January 15, 2013, 07:29:18 pm »
I don't understand. 

SecureStore is set to 0 at the moment.  I've set it to 1, clicked 'Save' then clicked 'Reload'.  Still doesn't work?

I thought the purpose of this script was to put the pin code in the appropriate field?
« Last Edit: January 15, 2013, 07:33:22 pm by Latz »

Offline mcvflorin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1755
  • Karma: +11/-3
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #566 on: January 16, 2013, 04:49:29 am »
SecureStore must be 0 for what you want. After you put SecureStore to 0, either store the PIN code and reload Luup, or execute a command that requires the PIN code.
« Last Edit: January 18, 2013, 05:21:32 am by mcvflorin »

Offline Latz

  • Jr. Member
  • **
  • Posts: 96
  • Karma: +0/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #567 on: January 17, 2013, 08:57:30 pm »
Perfect!  Thanks very much, that worked perfectly  :)

I had SecureStore set to 0 before but it wasn't working.  Seems to work fine now

Offline ranger47

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #568 on: January 19, 2013, 02:59:12 pm »
It looks like this wont work with my alarm?

FBII XL-2t

Wish I could find someway to get it work.  Any ideas?  It sounds like it would be a big process to put in a new panel...

Offline mcvflorin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1755
  • Karma: +11/-3
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #569 on: January 21, 2013, 08:13:11 am »
The plugin works only with the panels compatible with the AD2USB.