We have moved at community.getvera.com

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

Offline mcvflorin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1755
  • Karma: +11/-3
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #375 on: April 02, 2012, 11:53:35 am »
The plugin is not perfect so there may be a glitch or two. Does this happen often?

Offline Tired

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #376 on: April 02, 2012, 01:47:24 pm »
It has only happened once, and I admit, it's on a door that I often leave open for hours on end. Could it be that the timeout checking is unhappy with the door being open so long?

Speaking of guessing when the door has been closed (by the lack of the alarm warning that it's open), can you also assume that all the (non-bypassed) sensors are untriggered when the alarm declares itself ready to arm?

edit: correction. It just happened this morning too.
« Last Edit: April 02, 2012, 01:51:28 pm by Tired »

Offline stevekcameron

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #377 on: April 06, 2012, 11:07:09 am »
OK.. I think I have done my due diligence in searching this out b4 posting.

I have a Vista 20se.  I don't think I have the ad2usb set up as a keypad in the alarm.

*191 does not work on the 20se.  I have seen that it required new firmware.. I was able to flash the firmware one of the nutech guys pointed me to.

I go in through putty and assign a keypad address.. (blindly, because I can find zero documentation about a 20se (no *191) and how to find the keypad addresses.

So i've tried setting it to 18, and to 31. the same result is that the vera doesn't see a keypad.

What am I doing wrong?  Thx in advance!

Offline jwiz

  • Full Member
  • ***
  • Posts: 118
  • Karma: +0/-0
Re: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #378 on: April 06, 2012, 12:01:03 pm »
OK.. I think I have done my due diligence in searching this out b4 posting.

I have a Vista 20se.  I don't think I have the ad2usb set up as a keypad in the alarm.

*191 does not work on the 20se.  I have seen that it required new firmware.. I was able to flash the firmware one of the nutech guys pointed me to.

I go in through putty and assign a keypad address.. (blindly, because I can find zero documentation about a 20se (no *191) and how to find the keypad addresses.

So i've tried setting it to 18, and to 31. the same result is that the vera doesn't see a keypad.

What am I doing wrong?  Thx in advance!

A vista 20se uses address 31 for all its keypads. Partition 1 keypads connect to the main terminals and partition 2 connects to the header pin harness

John

Offline hugheaves

  • Full Member
  • ***
  • Posts: 241
  • Karma: +11/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #379 on: April 06, 2012, 03:04:51 pm »
How about a manual way to setup the zones?  most of mine will be RF, so processing of the "!RFX" messages will get you open/close on those very quickly, perhaps a table we can setup with the zone#,name,!RFX Serial # would do it.

I like the idea with the table, will add this to my TODO list.

Is it possible to get sensor trips when armed? I usually arm my house at night, but I still want to get some of my motion sensors to trip so I can create a scene to turn on lights.
If they are 58XX rf sensors then its easy using RFX messages. If they are hard wired zones on a zone expander then again its easy with EXP messages. If they are hard wired directly to the panel then with some work yes. You can use the Virtual Relay Expander and program the alarm to trip the virtual relay ON/OFF when you open / close the zone and listen for REL messages.

mcvflorin,

I know you're busy. Any objections if I take a crack at implementing this on the MiOS side?

From the UI perspective, I think just adding the two columns to the "Cheat Sheet" would be sufficient:
  • Address / Serial - enter the expander address for EXP/REL zones, or the RF serial number for RFX zones
  • Channel / Loop - enter the channel number for EXP/REL zones, or the RF loop number for RFX zones

Lua would differentiate between RF serial no's and addresses by the number of digits entered in the address / serial field. For zones with no assigned address/serial no, the Lua code could/would still use the current virtual keypad (ie. send "*") method to detect zone faults, and the TTL to clear faults. For zones with assigned addresses / serial #'s, the Lua code would instead ignore  faults for those zones obtained from the virtual keypad, and instead trigger events when the !EXP, !RFX, and !REL messages corresponding to those zones were received.

Looking at your code, it looks like you've done all the hard work already, and this would actually be a relatively easy enhancement.

Hugh

P.S. mathewss, in case you watch this thread, thanks for shipping out my AD2USB device so quickly!
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 stevekcameron

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #380 on: April 06, 2012, 06:21:30 pm »
Ok.. so where is what i'm getting..  faults are due to some wireless sensors I need to fix.  But I show it on 31.. but when I plug it into the Vera, it still shows me no keypad.


Thoughts?

!Ademco Keypad Emulator V2.2a.5-beta16
!Copyright (C) 2008-2010 Nu Tech Software Solutions, Inc.
!Reproduction without permission is prohibited
!By Sean Mathews <drwho at f34r.com>
!For support email general@support.nutech.com
!www.NuTech.com
!Reading configuration.
!UART init.
!Ready. Press ! for configuration.
[0000000100000000----],028,[f70000008028000008000000000000],"FAULT 28 GAGE   WINDOW          "
[0000000100000000----],014,[f70000008014000008000000000000],"FAULT 14        BASEMENT ENTRY  "
[0000000100000000----],020,[f70000008020000008000000000000],"FAULT 20        BASEMENT FAMILY "
[0000000100000000----],021,[f70000008021000008000000000000],"FAULT 21        BASEMENT FAMILY "
[0000000100000000----],022,[f70000008022000008000000000000],"FAULT 22        BASEMENT FAMILY "
[0000000100000000----],028,[f70000008028000008000000000000],"FAULT 28 GAGE   WINDOW          "
[0000000100000000----],014,[f70000008014000008000000000000],"FAULT 14        BASEMENT ENTRY  "
[0000000100000000----],020,[f70000008020000008000000000000],"FAULT 20        BASEMENT FAMILY "
[0000000100000000----],021,[f70000008021000008000000000000],"FAULT 21        BASEMENT FAMILY "
[0000000100000000----],022,[f70000008022000008000000000000],"FAULT 22        BASEMENT FAMILY "
[0000000100000000----],028,[f70000008028000008000000000000],"FAULT 28 GAGE   WINDOW          "
!>Keypad Address       (31) :>
!>Config Bits        (0000) :>
!WARNING. Do not enable a module if the physical module exists on the system.
!Zone Expanders Y/N Max allowed: 02
!>expander module #01 ZN 09-16 (N) :>
!>expander module #02 ZN 17-24 (N) :>
!>expander module #03 ZN 25-32 (N) :>
!>expander module #04 ZN 33-40 (N) :>
!>expander module #05 ZN 41-48 (N) :>
!Relay Modules Y/N Max allowed: 04
!>relay module #01 (N) :>
!>relay module #02 (N) :>
!>relay module #03 (N) :>
!>relay module #04 (N) :>
!>Emulate Long Range Radio Y/N: (N) :>
!>Address Filter Mask  (ffffffff) :>
!>Deduplicate          (N) :>
!Reading configuration.
!UART init.

Offline jimpapa

  • Sr. Member
  • ****
  • Posts: 454
  • Karma: +28/-1
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #381 on: April 07, 2012, 07:37:37 pm »
Finally Got the AD2USB working fully on the Vera 3

One question,  When I trip a zone and then close it... Vera just says it is tripped (immediately)
and it does not recover and show it closed.

So what I have is zones open once and then never showing closed...

I missing something here ... Could use a hand


One more note.. this is a new Vista 20P on the test bench with Resistors closing the zones right in the panel (for testing purposes)


« Last Edit: April 07, 2012, 08:16:02 pm by jimpapa »

Offline waynebrady

  • Full Member
  • ***
  • Posts: 110
  • Karma: +0/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #382 on: April 08, 2012, 11:50:51 pm »
Let me know if you get this working. This will maximize the use of my sensors!
How about a manual way to setup the zones?  most of mine will be RF, so processing of the "!RFX" messages will get you open/close on those very quickly, perhaps a table we can setup with the zone#,name,!RFX Serial # would do it.

I like the idea with the table, will add this to my TODO list.

Is it possible to get sensor trips when armed? I usually arm my house at night, but I still want to get some of my motion sensors to trip so I can create a scene to turn on lights.
If they are 58XX rf sensors then its easy using RFX messages. If they are hard wired zones on a zone expander then again its easy with EXP messages. If they are hard wired directly to the panel then with some work yes. You can use the Virtual Relay Expander and program the alarm to trip the virtual relay ON/OFF when you open / close the zone and listen for REL messages.

mcvflorin,

I know you're busy. Any objections if I take a crack at implementing this on the MiOS side?

From the UI perspective, I think just adding the two columns to the "Cheat Sheet" would be sufficient:
  • Address / Serial - enter the expander address for EXP/REL zones, or the RF serial number for RFX zones
  • Channel / Loop - enter the channel number for EXP/REL zones, or the RF loop number for RFX zones

Lua would differentiate between RF serial no's and addresses by the number of digits entered in the address / serial field. For zones with no assigned address/serial no, the Lua code could/would still use the current virtual keypad (ie. send "*") method to detect zone faults, and the TTL to clear faults. For zones with assigned addresses / serial #'s, the Lua code would instead ignore  faults for those zones obtained from the virtual keypad, and instead trigger events when the !EXP, !RFX, and !REL messages corresponding to those zones were received.

Looking at your code, it looks like you've done all the hard work already, and this would actually be a relatively easy enhancement.

Hugh

P.S. mathewss, in case you watch this thread, thanks for shipping out my AD2USB device so quickly!

Offline mcvflorin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1755
  • Karma: +11/-3
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #383 on: April 09, 2012, 08:29:11 am »
@hugheaves
Thanks for offering to add those features. I gave you access to the repository.

@stevekcameron
Have you added address 31 in the partition's KeypadAddresses variable?

@jimpapa
The zone is set as untripped if it's not tripped for at least 20 minutes. It's the same as the default value for the On Time parameter of the 3-in-1 sensor (see this page).
« Last Edit: April 09, 2012, 08:56:06 am by mcvflorin »

Offline jimpapa

  • Sr. Member
  • ****
  • Posts: 454
  • Karma: +28/-1
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #384 on: April 09, 2012, 09:48:25 am »

@jimpapa
The zone is set as untripped if it's not tripped for at least 20 minutes. It's the same as the default value for the On Time parameter of the 3-in-1 sensor (see this page).
[/quote]

I don't mean to be a total noob here...  But Can I set the TTL way down from 1200 to like 100 so Open and closes show up faster than 20. 

Trying to create a scene on the state of a zone and also using SQ Remote to see what activity is going on around the house.


Offline mcvflorin

  • Administrator
  • Hero Member
  • *****
  • Posts: 1755
  • Karma: +11/-3
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #385 on: April 09, 2012, 10:32:28 am »
@jimpapa
Yes, this parameter is configurable.

Offline jimpapa

  • Sr. Member
  • ****
  • Posts: 454
  • Karma: +28/-1
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #386 on: April 09, 2012, 02:11:14 pm »
Got it!  Changed TTL value.  Worked as expected   Thanks !!

Offline hugheaves

  • Full Member
  • ***
  • Posts: 241
  • Karma: +11/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #387 on: April 10, 2012, 10:14:24 am »
@mcvflorin,

The modifications are ready to go, but it's not accepting my credentials when trying to access http://code.mios.com/svn/mios_vista-alarm-panel-ad2usb (the same credentials work on the other repository). Is there another permission that I need to access SVN?

Also, would you like me to check the changes into a branch, or into trunk? It's a fairly self contained modification to two files: J_VistaAlarmPanel1.js and L_VistaAlarmPanel1.lua.

A screen shot of the new "Cheat Sheet" is attached.
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 #388 on: April 10, 2012, 10:33:38 am »
You should have permission to checkout and commit the repository (see attached picture). Did you try to checkout the repository and it didn't let you?

You should commit the modifications in trunk. No reason to maintain two versions of the code.

Offline hugheaves

  • Full Member
  • ***
  • Posts: 241
  • Karma: +11/-0
Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
« Reply #389 on: April 10, 2012, 11:22:30 am »
Yep, for some reason it's rejecting my credentials.

Works:

svn --username hugheaves --password XXXXX --no-auth-cache  co http://code.mios.com/svn/mios_wifi-thermostat/
A    mios_wifi-thermostat/trunk/src
......
Checked out revision 12.


Doesn't work: (same credentials given, but keeps prompting for credentials)

svn --username hugheaves --password XXXXX --no-auth-cache  co http://code.mios.com/svn/mios_vista-alarm-panel-ad2usb/
Authentication realm: <http://code.mios.com:80> Repository Hosting
Username: hugheaves
Password for 'hugheaves':
Authentication realm: <http://code.mios.com:80> Repository Hosting
Username:


I'm probably doing something stupid, but I'm not sure what. :(
« Last Edit: April 10, 2012, 11:24:04 am by hugheaves »
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