We have moved at community.getvera.com

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

Offline mcvflorin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1755
  • Karma: +11/-3
Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« on: July 23, 2011, 09:19:26 am »
* Version 2.4 has been launched for beta testing. See here.

* All the files, documentation and installation instructions can be found here.


Next week I'm on vacation, so I didn't have time to make it more foolproof (haven't tested unlikely scenarios or usage patterns). Please put your panel in test mode when trying the plugin for the first time.

I still have to make it more standard compliant, and to add more events and scenes. I also have to write documentation for it.

Features:
+ Arm / Disarm.
+ Press lettered key (A, B, C, D); this is the only way to go into panic mode.
+ See and bypass faulted zones.
- No zone and partition discovery. You have to input the number of partitions in the panel's Advanced tab.

Here you can get the files:
http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/wiki

Please post here any bugs you encounter or any feature requests.
« Last Edit: November 22, 2011, 02:25:53 pm by mcvflorin »

Offline djrobx

  • Jr. Member
  • **
  • Posts: 94
  • Karma: +1/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #1 on: July 23, 2011, 08:25:53 pm »
Awesome, I'll give it a shot.

Offline djrobx

  • Jr. Member
  • **
  • Posts: 94
  • Karma: +1/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #2 on: July 24, 2011, 01:42:26 am »
Well, it works!   I'm able to arm, disarm, bypass zones, etc.

When you get "DISARMED-Press * to show faults", you need to send it a * in order to detect the faulted zones.   (Sean suggests this in his forum posts).

You mention that you need to add events - are we going to have events for zones or are we going to get child devices for each zone?  

As I mentioned previously, handling !RFX and !EXP messages is very important if you want to have Vera respond to faults quickly.   I use these events to turn on my garage light, hall lights, etc.  

Great work!  
« Last Edit: July 24, 2011, 01:48:01 am by djrobx »

Offline mitch672

  • Full Member
  • ***
  • Posts: 194
  • Karma: +0/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #3 on: July 27, 2011, 12:48:39 am »
I have my Vista 20P panel on the bench still, and I am adding sensors to my house as I have time (mostly RF), when I have it all done I will permanently install the panel in its final location, for now I have my NuTech AD2USB connected to my PC and am running the "AD2USB Virtual Keypad" to test it out, works well.  Eventually my goal is to connect it to the Vera and use the 5 wireless (RF) 5800-PIR's to trigger scenes in rooms, via Vera integration.  If you can get the "!RFX" processing working, for event generation/firing off scenes, that is what I need to get that part done.


Here is an example of a few of the !RFX messages

Here is opening the rear door to the house, which has a 5820L on it, and is in "Zone 10", in partition 1

!RFX:0867715,80
!AUI:120600000000656c02456cf5ec0101010000
!AUI:1606000000006663024543f531fb456cf5ec03020106
[0000000110000000----],010,[f70000231010000028020000000000],"FAULT 10 HOUSE  REAR DOOR       "

Here is the house rear door being closed...

[0000000110000000----],010,[f70000231010000028020000000000],"FAULT 10 HOUSE  REAR DOOR       "
!RFX:0867715,00
!AUI:120600000000676c02456cf5ec0101010000
!AUI:1606000000006063024543f531fb456cf5ec03010101
[1000000110000000----],008,[f70000231008001c28020000000000],"HOUSE           CHIME,Rdy to Arm"

Here is an example of a 5800-PIR going off and then restoring

!RFX:0475165,a0
!AUI:120600000000616c02456cf5ec0101010000
!AUI:1606000000006263024543f531fb456cf5ec03020106
[0000000110000000----],012,[f70000231012000028020000000000],"FAULT 12 HOUSE  KITCHEN MOTION  "

!RFX:0475165,00
!AUI:120600000000636c02456cf5ec0101010000
[1000000110000000----],008,[f70000231008001c28020000000000],"HOUSE           CHIME,Rdy to Arm"
!AUI:1606000000006463024543f531fb456cf5ec03010101


Offline JOD

  • Hero Member
  • *****
  • Posts: 1973
  • Karma: +4/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #4 on: July 28, 2011, 03:04:31 am »
Does the device get created using the:

D_VistaAlarmPanel1.xml
and the:
I_VistaAlarmPanel1.xml

JOD.
« Last Edit: July 30, 2011, 02:24:39 am by JOD »
I'm sorry, my responses are limited. You must ask the right questions.

Offline JOD

  • Hero Member
  • *****
  • Posts: 1973
  • Karma: +4/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #5 on: July 28, 2011, 10:30:56 am »
Quote
Yes. Are you trying it out?
Yes, uploaded the files last night and after dozens of engine restarts and a couple of reboots, I'm not seeing anything other than the generic_device that was created.

JOD.
« Last Edit: July 30, 2011, 02:25:10 am by JOD »
I'm sorry, my responses are limited. You must ask the right questions.

Offline JOD

  • Hero Member
  • *****
  • Posts: 1973
  • Karma: +4/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #6 on: July 28, 2011, 11:18:35 pm »
AD2USB adapter.
http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb

There are extra steps not outlined in the DSC instructions.
After picking the serial port and assigning the device.
The page then jumps to another page.
Pick the serial port? This area only allows you to pick a device, not port.
Pick the Vista Alarm again.
"Save"
Brings me back to the "generic_device" where I first started.

*Edit. Bug: http://bugs.micasaverde.com/view.php?id=1661

JOD.
« Last Edit: September 02, 2011, 06:24:55 pm by JOD »
I'm sorry, my responses are limited. You must ask the right questions.

Offline shahhim

  • Sr. Newbie
  • *
  • Posts: 26
  • Karma: +0/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #7 on: July 29, 2011, 07:58:08 pm »
I connected AD2USB(which was working with ad2usbgui) to the VERA at USB1. I uploaded all 8 files in 'Luup Files' then created a device with UpnpDevFilename 'D_VERAADEMCO.xml' and called it VERAADEMCO in Description, restarted the Lua engine, Reloaded the web page. Device called 'VERAADEMCO' showed up on Mios but can't do anything with it. What am I doing wrong ???

Offline JOD

  • Hero Member
  • *****
  • Posts: 1973
  • Karma: +4/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #8 on: July 30, 2011, 02:55:24 am »
@shahhim,

Use the D_VistaAlarmPanel1.xml and the I_VistaAlarmPanel1.xml to create the device and Save.

In your instance just replace the D_VERAADEMCO.xml and add the I_xml.

Then go to MIOS Developers -> Serial Port configuration -> select the serial port ->  select Used by device ->  select the device you created -> Select the serial port -> Save.

I then had two devices show up. That's as far as I got tonight.

What baud rate should be used?

Is it a necessity to have the #6139 keypad?

Are there any additional instructions someone can post?

JOD.
« Last Edit: July 30, 2011, 04:56:23 pm by JOD »
I'm sorry, my responses are limited. You must ask the right questions.

Offline shahhim

  • Sr. Newbie
  • *
  • Posts: 26
  • Karma: +0/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #9 on: July 31, 2011, 11:23:19 am »
I was able to link Ademco V20P and Vera via AD@USB Plugin Version 1.0 Alpha !!!!. [Inspite of not being a computer person, Thanks to this forum and everyone's eagerness to help]
Great, great work mcvflorin !
Thanks JOD. Actually, I was able to create device using 'D_VistaAlarmPanel1.xml'. When I connected AD2USB to my computer and used ad2usbgui,  i used 115200 as the baud rate as suggested by Sean M since other rates were not working right. So I used the same baud rate here. I have the 6160RF keyboard
Arm/Stay/Night/Disarm works with Droid Incredible
Still learning how to check Defaulted zones, etc
Can't wait to be able to do more with future versions

Offline JOD

  • Hero Member
  • *****
  • Posts: 1973
  • Karma: +4/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #10 on: July 31, 2011, 01:54:48 pm »
Quote
I was able to create device using 'D_VistaAlarmPanel1.xml'
You're correct. I started over and was able to create the same two devices by only using the D_xml.
I'm not able to get any further than that.
My installed keypad is #31, does the AD2USB need to be given an address? In order to see the status or control arming / disarming?

JOD.

I'm sorry, my responses are limited. You must ask the right questions.

Offline shahhim

  • Sr. Newbie
  • *
  • Posts: 26
  • Karma: +0/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #11 on: July 31, 2011, 05:40:02 pm »
The only time I had to put in the keypad info was when I initailly connected AD2USB to the laptop using ad2usbgui. Prior to re-creating the device, I just checked that AD2USB connection was working well with the putty and ad2usbgui

Offline mathewss

  • Sr. Newbie
  • *
  • Posts: 29
  • Karma: +0/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #12 on: August 01, 2011, 11:02:22 pm »
Quote
I was able to create device using 'D_VistaAlarmPanel1.xml'
You're correct. I started over and was able to create the same two devices by only using the D_xml.
I'm not able to get any further than that.
My installed keypad is #31, does the AD2USB need to be given an address? In order to see the status or control arming / disarming?

JOD.



 Hay JOD

 If your alarm panel wants keypads at address 31 then you have an SE panel probably a 10 or 20SE
If this is the case then depending on what firmware you may need to update your AD2USB.

Press V in a terminal with the AD2USB or reboot the device with = and let me know the firmware version.
If you do need to update the firmware download the latest 2.2a.3 from my forums page at nutech dot com.
This version supports the SE panel as well as LRR support. It will also work with exposing any Zone expander or RF expander you have but you wont be able to Emulate a zone expander or relay board that is not supported on the SE panel at this time.

Re
 Sean M

Offline JOD

  • Hero Member
  • *****
  • Posts: 1973
  • Karma: +4/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #13 on: August 02, 2011, 12:13:43 am »
Sean,

Thank you!!!
Yep, I have the SE and that's the info I needed. I've been researching how to get into the Vista product thinking that the AD2USB supported the SE out of the box, so I'm glad you brought that search to an end.

I havent yet attempted to connect the adapter to the PC so that's tommorow's project. I'll let you know what the FW version is after that.

Oh, Is it true the baud rate is not important? I just stumbled on an article stating that.

Thanks again for the info.

JOD.
I'm sorry, my responses are limited. You must ask the right questions.

Offline djrobx

  • Jr. Member
  • **
  • Posts: 94
  • Karma: +1/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #14 on: August 02, 2011, 12:30:37 am »
If you have a new AD2USB (with the mini-USB plug), the serial port MUST be 115200.