Vera - Smarter Home Control Forum

Advanced => Plugins & Plugin Development => Programming => AD2USB Plugin for the Honeywell/Ademco Vista Alarm Panels => Topic started by: mcvflorin on July 23, 2011, 09:19:26 am

Title: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on July 23, 2011, 09:19:26 am
* Version 2.4 has been launched for beta testing. See here (http://forum.micasaverde.com/index.php/topic,7266.msg54124.html#msg54124).

* All the files, documentation and installation instructions can be found here (http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/wiki).


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.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: djrobx on July 23, 2011, 08:25:53 pm
Awesome, I'll give it a shot.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: djrobx 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!  
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mitch672 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

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on July 28, 2011, 03:04:31 am
Does the device get created using the:

D_VistaAlarmPanel1.xml
and the:
I_VistaAlarmPanel1.xml

JOD.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD 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.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD 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.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shahhim 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 ???
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD 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.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shahhim 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
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD 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.

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shahhim 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
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mathewss 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
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD 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.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: djrobx 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.   


Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on August 02, 2011, 07:50:57 am
!VER:00000581,V2.2a.2,TX;RX;SM;VZ;RF;ZX;PE;RE;AU

No issues logging in with putty and changing the keypad address from the default (18) to my (31), it then came alive.

Code: [Select]
[000000010000--------],001,[f70000008001000008000000000000],"FAULT 01 ZONE 01                "
[100000010000--------],001,[f70000008001001c08000000000000],"****DISARMED****  READY TO ARM  "
[001103010000--------],001,[f70000008001038c08000000000000],"ARMED ***STAY***You may exit now"
[100100010000--------],001,[f70000008001001c08000000000000],"****DISARMED****  READY TO ARM  "
But no joy with Vera.
Do I need to change the firmware?


JOD.

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on August 02, 2011, 07:58:23 am
I'm back. :)

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).

This is implemented in the current plugin version.

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?

I thought about adding child devices for each zone, but the problem is that I don't know how to get the number of zones, or even if it's possible to do that. The only easy way to find about a zone's existence is when that zone is faulted. The hard way would be to go into Install Mode and go through all the zones and check if they are disabled or not. Too complicated and unreliable.

Thanks for the feedback!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mitch672 on August 02, 2011, 10:23:51 am
mcvflorin,

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.

Mitch
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: djrobx on August 02, 2011, 11:45:53 am
I certainly don't mind adding the child zone device manually.    

Another option is to have a checkbox for "learn mode" where the Vista alarm plugin automatically creates devices for zones it sees faulted.   You can use the zone descriptions to name the children.   The user can just walk around the house and manually fault each zone to create the children.    This is similar to how the panel itself pairs with wireless sensors (or adding Z-wave devices, for that matter ;) )
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on August 02, 2011, 12:03:00 pm
I like the idea with the table, will add this to my TODO list.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mathewss on August 02, 2011, 01:21:03 pm
!VER:00000581,V2.2a.2,TX;RX;SM;VZ;RF;ZX;PE;RE;AU

No issues logging in with putty and changing the keypad address from the default (18) to my (31), it then came alive.

Code: [Select]
[000000010000--------],001,[f70000008001000008000000000000],"FAULT 01 ZONE 01                "
[100000010000--------],001,[f70000008001001c08000000000000],"****DISARMED****  READY TO ARM  "
[001103010000--------],001,[f70000008001038c08000000000000],"ARMED ***STAY***You may exit now"
[100100010000--------],001,[f70000008001001c08000000000000],"****DISARMED****  READY TO ARM  "
But no joy with Vera.
Do I need to change the firmware?

JOD.

Yes you do. The version you have will receive SE panel messages but was unable to send "*" or other keypad commands to the
alarm.  You need V2.2a.3

If you already have a Long range radio device make sure after you upgrade the firmware that the LRR emulator is turned off in the AD2USB config.
If you dont have one then you can turn it on.

If you want to get LRR messages on your panel you can enable the LRR device in programming mode on your panel via *29 and entering #15
You then need to turn on all reports by entering a 1 for fields *59 - *76

You will now see all LRR messages arm/disarm and the user who did it as well as bypass messages and all alarms.

Not many people still have the SE panels so if you do have any feedback please let me know so I can improve the support for it.

Re
 Sean M


Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on August 02, 2011, 02:41:10 pm
Ok, good to go with the firmware upload. !Ademco Keypad Emulator V2.2a.3

It wasn't fun doing it all over a VPN. Now I have to wait to get home to swap the USB cable over to Vera to see if it works. 

I'll post the results later tonight.
Thanks again for the help.

JOD.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: djrobx on August 02, 2011, 02:52:26 pm
I'm on an SE panel too.   Works fantastic.   The only thing that's lacking is that I can't use EXP support because AD2USB can't be configured for address 1.  This makes wired sensors extremely slow to detect when I have lots of faults (windows open).  

I could switch to a 20p board but I'm hoping Sean will update the firmware eventually, since my SE otherwise does everything I need.  
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on August 02, 2011, 03:07:26 pm
I'll be thrilled if I can enter a code at my Schlage lock and be able to arm or disarm the alarm.

Let me ask you, I programmed the AD2USB to use the same address as my current keypad (31) is that OK or should it be at it's own address?

JOD.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: djrobx on August 02, 2011, 05:59:17 pm
Heh, I was thinking of doing the same with the schlage.

You should have it set at address 31.   Address 31 is a special address that means "non-addressable".  SE panels appear to "broadcast" to all keypads instead of having individual conversations with them. 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on August 02, 2011, 06:17:03 pm
Yay! and it seems scene control is possible to do that.
I set up 3 scenes.  Disarm (1 beep).  Arm Away (2 beeps) & Arm Stay (3 beeps)
 
There is an issue though, displays that I have a faulted zone when it's showing clear and "Ready" on the keypad.
Also, no status on the GUI.

Non addressable works for me, I was in the process of adding another keypad so that saves me the programming.

JOD.

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: djrobx on August 02, 2011, 06:38:16 pm
I haven't tried the latest, but I saw the same behavior of the current plugin not clearing the faulted zones when they stop faulting.

"Ready" (nothing faulted) should be easy to spot, but it's more difficult to figure out when certain zones stop faulting.  You have to set a time out for each zone ... if the fault message isn't seen in a certain period of time, clear it.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on August 02, 2011, 08:14:39 pm
Bypassing the GUI zone faults, arming and then disarming clears the GUI zone faults.

Arming the system and then tripping a zone did not show as a faulted zone in the GUI.

Is it or will it be possible to scene control the bypassing of a zone?
Example, I have sensors on my overhead garage doors which are on the instant zone, great for an Arm Stay, but not for returning after an Arm Away.

Suggestion. When there are no faulted zones just have it say "None" ?

JOD.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mathewss on August 02, 2011, 08:55:27 pm
I'm on an SE panel too.   Works fantastic.   The only thing that's lacking is that I can't use EXP support because AD2USB can't be configured for address 1.  This makes wired sensors extremely slow to detect when I have lots of faults (windows open).  

I could switch to a 20p board but I'm hoping Sean will update the firmware eventually, since my SE otherwise does everything I need.  


 I need to confirm this. Please upload the 2.2a.3 i did change some stuff last week and kept the same version # i know my bad but I will say I jumped the gun on the release. It "Should" show expander messages. You cant emulate an expander but you should 100% see !EXP and !RFX messages on the SE panels now.

Re
 Sean M
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: djrobx on August 02, 2011, 10:33:35 pm
Thanks Sean,

Unfortunately I don't have a real expander, I'd need the emulation.

The !RFX messages have been working great.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mathewss on August 02, 2011, 11:03:07 pm
Thanks Sean,

Unfortunately I don't have a real expander, I'd need the emulation.

The !RFX messages have been working great.

Refresh my memory this would be on address 1 for the 20SE? or 2? Maybe I can hard code a version for now
for you and others.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: djrobx on August 02, 2011, 11:09:57 pm
My 10se needs 1.  Maybe hack 12-16 to be 1-4 incase 20se is different?   Whatever's easiest. :)  
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on August 03, 2011, 04:17:57 am
Thanks for all the feedback, keep it coming! I noticed the problem with the plugin not updating the zones' status correctly and will fix it ASAP. Unfortunately I have some high-priority tasks this week and I cannot work on the plugin.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on August 15, 2011, 04:25:09 pm
Are the 1.0 Beta files listed on code.mios the same files as the 1.0 Alpha?

JOD.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on August 16, 2011, 07:40:18 am
Yes, I just forgot to change the version.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on August 29, 2011, 11:03:41 am
Feature request.
To see the panel state. "Armed" "Disarmed" "Stay" etc.

Is it possible to enable or disable the Chime feature? *Edit. within the plugin as a feature request.

JOD.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: djrobx on August 29, 2011, 12:19:40 pm
Most things you can do from a keypad can be done from ad2usb.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on August 29, 2011, 12:39:58 pm
You should be able to see the partitions' arming status with the plugin version you have. I've been working on this plugin the last few days and tomorrow, or maybe the day after I should have a final version.

It should be possible to enable or disable the Chime feature, but I got to implement it first.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on August 29, 2011, 12:54:31 pm
You should be able to see the partitions' arming status with the plugin version you have.
No it does not. Screen shot below.
Quote
I've been working on this plugin the last few days and tomorrow, or maybe the day after I should have a final version.
Sounds good.
Quote
It should be possible to enable or disable the Chime feature, but I got to implement it first.
Sounds good.

Thank you.
JOD.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on August 31, 2011, 11:00:38 am
I "released" the latest plugin version 2.0 Beta, though I haven't tested it thoroughly, so if you encounter any issues, please let me  know. As usual, the links on the Trac page (http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb) point to the latest version.

Release notes:
+ Enable/disable chime mode. (as requested by JOD)
- Correctly update the faulted and bypassed zones list.
- Use the flags in the first message section for determining the arming status. (more reliable, requires AD2USB firmware 2.2a.3)
- Other improvements/fixes.

I will make the documentation tomorrow to explain some of the inner workings and compromises.

Update: I updated the Trac page with the complete documentation and links (thanks JOD).
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on August 31, 2011, 09:04:36 pm
@mcvflorin,
 
Did the files get updated on the Trac page (http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb)?  ;)
 
JOD.

*Edit. Thank you mcvflorin, 2.0 Beta is installed.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on September 01, 2011, 07:53:31 pm
Comments:
1. Faulted zones do not automatically clear.
2. I'm seeing two Faulted Zone messages. N/A and none. (see attached)
3. Status is not updating on the partition.
4. Get faulted zones is broken.
5. During an alarm condition I was not able to reset (disarm) the panel through Vera.

Questions:
What does Clear Message do?
Can the Chime status be displayed on the Partition?
Can the Faulted Zone message display be changed to "None"?
Is it possible to add and delete codes from the partition?

JOD.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on September 02, 2011, 09:49:04 am
Thanks for the feedback!

What does Clear Message do?
This was explained on the Trac page:
Quote from: Trac
Clear Message clears the error message in the status box (upper-right corner of the dashboard).
Additional explanation: when you have an alarm, a message is displayed in the status box. This clears that message.

Can the Chime status be displayed on the Partition?
You mean on the dashboard? The reason I didn't put the chime mode button on the dashboard is that I thought that not many use this feature.

Can the Faulted Zone message display be changed to "None"?
N/A means that the list of faulted zones is not up to date. This is displayed only at the plugin startup, because it's not possible to update that list without the PIN code.

Is it possible to add and delete codes from the partition?
You mean storing the user code so you don't have to enter the PIN code every time? That would be a major security flaw, as everyone who got access to your dashboard would be able to configure your panel.

1. Faulted zones do not automatically clear.
Will work on this.

2. I'm seeing two Faulted Zone messages. N/A and none. (see attached)
Explained above.

3. Status is not updating on the partition.
Can you send me the logs when this happens? In my experience the status updating is very reliable, so I'm surprised to read that. Though if you have two or more partitions, the status will update only after the GOTO command is over (up to 1 minute).

4. Get faulted zones is broken.
I think I'll remove this button. The situations when it actually works are very few (actually only one situation).

5. During an alarm condition I was not able to reset (disarm) the panel through Vera.
Hmm, why would this happen? The disarm command send this message:

<pinCode>*<partitionNumber><pinCode>1

<pinCode>*<partitionNumber> is the GOTO <partitionNumber> command, and <pinCode>1 is the DISARM command. In theory, there's nothing that could go wrong. Can you send me the logs when this happened?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on September 02, 2011, 10:50:42 am
Quote
Clear Message clears the error message in the status box (upper-right corner of the dashboard).
Additional explanation: when you have an alarm, a message is displayed in the status box. This clears that message.
Understood, but there was no message displayed during the alarm condition, which is why I asked.  ;D

Quote
Can the Chime status be displayed on the Partition?
You mean on the dashboard? The reason I didn't put the chime mode button on the dashboard is that I thought that not many use this feature
That's fine. It does not need to be displayed on the dashboard, but just a way to view if chime is enabled or not.  It could be on the Alarm Partition tab of the partition device..

Quote
Is it possible to add and delete codes from the partition?
You mean storing the user code so you don't have to enter the PIN code every time? That would be a major security flaw, as everyone who got access to your dashboard would be able to configure your panel.
No, the ability to add a user pin, eg. a cleaning service, house sitter etc. The master password would still need to be entered, then the ability to add or delete additional/temporary user pins.

I'll get you the logs this weekend.

JOD.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on September 02, 2011, 11:00:11 am
That's fine. It does not need to be displayed on the dashboard, but just a way to view if chime is enabled or not.  It could be on the Alarm Partition tab of the partition device..

It is displayed. The button is green/active when chime mode is enabled. Doesn't it work?

No, the ability to add a user pin, eg. a cleaning service, house sitter etc. The master password would still need to be entered, then the ability to add or delete additional/temporary user pins.

This looks easy enough, will do.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on September 02, 2011, 11:06:12 am
Quote
This looks easy enough, will do
Thank you.

Quote
It is displayed. The button is green/active when chime mode is enabled. Doesn't it work?
No. Maybe this is one and the same issue with my status not updating?

JOD.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mathewss on September 02, 2011, 03:45:08 pm

 Just been looking over the plug-in code and noticed something that may be an issue so I figured I would point it out and
make sure it was not an oversight.

getTargetPartitions() takes section #3 and grabs the hex byte #4 this would be the bits for keypads addressed
from 16-23. It seems as if an assumption has been made that each keypad is on its own partition but this may not be
the case. In fact a keypad is assigned a partition or could be assigned to all partitions. Also in Vista 128 or other panels
keypads can exist on other addresses but thats not as big a deal.

 In order to get accurate partition message segregation it is necessary to configure your panel
to have a keypad enabled in each partition but it is not necessary to have an actual keypad installed at these
addresses. So for example with a vista 20P you could enable keypad 22 and 23 and tell the alarm that 22 is on partition #1
and the keypad at address 23 is on partition #2 then you could enable keypad at address 18 for your AD2USB

 You then would need to tell the code that any message with the keypad mask bit set for address 22 must be a partition #1 message
and so on for any message with the address bit set for 23.

In other cases a user may have a real keypad setup on each partition and you just need to know what the address are and what
partition they are on provided they are not on both partitions or a global keypad.

I presume this is working for some because the conditions are correct that they have only one partition and one keypad.

I am still getting familiar with the code but so far I am very impressed with the design and the structure keep it up this is looking
very good so far. All the functions are in place they just need a little tweaking.

Re
 Sean M


Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mathewss on September 02, 2011, 03:50:57 pm
 One more suggestion. I see that "*" is sent every time a zone status is fetched. This is not a big deal but still takes up traffic on the ECP bus.
I would suggest this solution. Every message you parse if you see the text "Hit * for faults" that you send a "*"


This is from my AD2USBGUI zontracker module C# code

                        if(m_Message.Text.Contains("Hit * for faults")) {
                                QuantumFoam.SendKeys("*");
                        }

Re
Sean M
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on September 02, 2011, 06:52:16 pm
getTargetPartitions() takes section #3 and grabs the hex byte #4 this would be the bits for keypads addressed
from 16-23. It seems as if an assumption has been made that each keypad is on its own partition but this may not be
the case. In fact a keypad is assigned a partition or could be assigned to all partitions. Also in Vista 128 or other panels
keypads can exist on other addresses but thats not as big a deal.
Sean, Can a keypad occupy ANY address? Or does 16-23 cover all the possible except a few?
In my case, the keypad address is #31 (10SE panel), and probably why the status is not getting updated.
So a couple of thoughts.

@mcvflorin, If the plugin can't be written to cover all possible addresses (if it can then this is a moot point) what about a tab on the partition device to where a user manually enters their keypad address(s)?
 
Or, would it also work to have users assign their AD2USB to 16-23 to fit the current code?
Unless that range of address's wont work for some panels...

JOD.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mathewss on September 04, 2011, 10:06:13 am
getTargetPartitions() takes section #3 and grabs the hex byte #4 this would be the bits for keypads addressed
from 16-23. It seems as if an assumption has been made that each keypad is on its own partition but this may not be
the case. In fact a keypad is assigned a partition or could be assigned to all partitions. Also in Vista 128 or other panels
keypads can exist on other addresses but thats not as big a deal.
Sean, Can a keypad occupy ANY address? Or does 16-23 cover all the possible except a few?
In my case, the keypad address is #31 (10SE panel), and probably why the status is not getting updated.
So a couple of thoughts.

@mcvflorin, If the plugin can't be written to cover all possible addresses (if it can then this is a moot point) what about a tab on the partition device to where a user manually enters their keypad address(s)?
 
Or, would it also work to have users assign their AD2USB to 16-23 to fit the current code?
Unless that range of address's wont work for some panels...

JOD.

 For most panels its fixed at 16-23 but we also have AUI keypads that can be at 1 and on advanced panels like the vista 128 I think a keypad can be on any address?

Re
 Sean M
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: dlca1 on September 04, 2011, 07:40:30 pm
i'm having problems getting AD2USB to work properly with Vera2

Confirmed that AD2USB is working properly (via GUI keypad emulator)

I folllowed the installation directions on the wiki (uploaded files, created devices) I tried the workaround for serial port and tried to change it to 115200

Question 1) How do I verify that the serial baud rate is correctly set?  For the device, do I select the device I created or the "Ademco Vista Partition 1" or both?

Question 2) The wiki instructions only say to fill in description + UpnpDevFilename field enter D_VistaAlarmPanel1.xml. Is it necessary to also fill in UpnpImplFilename (i.e .with I_VistaAlarmPanel1.xml)?

I noticed some type of NULL error and grepped out the 01 events from the  LuaUPnp.log

01      09/04/11 16:14:10.543   Mongoose XXX-mg_stop1 0x79ab90 1 2 <0x400>
01      09/04/11 16:14:12.560   Mongoose XXX-mg_stop2 0x79ab90 2 2 <0x400>
01      09/04/11 16:14:12.561   Mongoose XXX-mg_stop3 0x79ab90 2 2 <0x400>
01      09/04/11 16:14:12.562   Mongoose XXX-mg_stop4 0x79ab90 8309592 2 <0x400>
01      09/04/11 16:14:14.954   UPnPAction_Send::ParseState can't find name <0x400>
01      09/04/11 16:19:02.263   luup_io_write NULL port 0x756800 size 7 <0x5410>
root@MiOS_19024:/tmp/log/cmh#





Thanks in advance



Running Version 2.0 Beta

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on September 04, 2011, 07:56:33 pm
Quote
Question 1) How do I verify that the serial baud rate is correctly set?  For the device, do I select the device I created or the "Ademco Vista Partition 1" or both?
You can go back to serial ports and double check it and change it if needed.
Use the device you created.

Quote
Question 2) The wiki instructions only say to fill in description + UpnpDevFilename field enter D_VistaAlarmPanel1.xml. Is it necessary to also fill in UpnpImplFilename (i.e .with I_VistaAlarmPanel1.xml)?
You only need to use the D_xml.

JOD
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: dlca1 on September 04, 2011, 09:03:44 pm
JOD- Thank you for such quick reponse. It was very helpful to have confirmation about the right direction.
mcvflorin- Thank you for writing this plugin.

I am now able to arm/disarm my alarm from Vera dashboard.

Note: STATUS on the main dashboard is still blank, but it sounds like that has already been reported as an known issue.

To help others: I did not set the baud rate during initial device creation. Attempts to modify/save after the fact did not seem to take.  It may be coincidence, but I finally got it to work by deleting both the alarm device and "Ademco Vista Partition 1" -> starting over

1) Create Device (Mios Developers -> Create Device)
- fill in Description (with whatever you want descriptor you want)
- fill in UpnpDevFileName file with "D_VistaAlarmPartition1.xml"
- leave the UpnpImpleFileName field blank.
2) Serial Port configuration
- Set baud rate to 115200 (under Serial Port configuration tab)
- for "Used by device", select the device you created
- Save

Note: I see the following error message in the logs. The code at line 147 seems to refer to status, so including it here in case it helps debug the missing status information.
01      09/04/11 18:16:20.980   LuaInterface::CallFunction-2 lu_incoming failed /etc/cmh-ludl/L_VistaAlarmPanel1.lua:147: attempt to index field '?' (a nil value) <0x4011>
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: danb35 on September 05, 2011, 06:43:29 pm
Great to see a plugin that will support my Vista alarm panel--looks like I'll be ordering a AD2USB shortly.  Does this plugin support retrieving (and maybe even decoding) the event log from the panel?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on September 06, 2011, 08:52:25 am
@mathewss
Thanks for looking into this. In the first plugin version I got the partition number from the alpha part of the message, but that required the user to enable displaying of the partition number. I guess I'll revert back to that way of getting the partition the message is addressed to. This would make the status updating faster, because the alpha message is unaffected by the GOTO command.

The reason I send a '*' every time a zone status is fetched is to speed up cycling through the faulted zones. Removing this will be easy.

@danb35
This plugin doesn't support retrieving the event log yet. I may add this in the future.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: wseverino on September 09, 2011, 09:43:24 am
Anyone know the standard installer code on a 10SE? I have had mine for 11 years and can't seem to find the paper work on it.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on September 09, 2011, 09:53:52 am
See if these help.

http://www.homekb.com/Uwe/Forum.aspx/security-alarms/1752/Ademco-Vista-10SE-lost-master-code

http://library.ademconet.com/ademco_group_user/FaqMain.asp?objid=12740466#_Toc16995561

JOD.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: wseverino on September 09, 2011, 10:21:26 am
Thanks JOD. I am getting message through putty now.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: wseverino on September 09, 2011, 12:24:36 pm
You should be able to see the partitions' arming status with the plugin version you have.
No it does not. Screen shot below.
Quote
I've been working on this plugin the last few days and tomorrow, or maybe the day after I should have a final version.
Sounds good.
Quote
It should be possible to enable or disable the Chime feature, but I got to implement it first.
Sounds good.

Thank you.
JOD.

FYI - I can second the plugin does not show the status for the Vista 10SE correctly. I have the updated firmware from NuTech. I can arm, stay and disarm through Vera but no status is displayed.

50      09/09/11 12:33:57.517   luup_log:128: (processIncoming) Section 1: 10000                                                                                                  00100000000---- <0x4011>
50      09/09/11 12:33:57.518   luup_log:128: (processIncoming) Section 2: 002 <                                                                                                  0x4011>
50      09/09/11 12:33:57.519   luup_log:128: (processIncoming) Section 3: f7000                                                                                                  0008002001c08000000000000 <0x4011>
50      09/09/11 12:33:57.520   luup_log:128: (processIncoming) Section 4: ****D                                                                                                  ISARMED****  READY TO ARM   <0x4011>
50      09/09/11 12:33:57.522   luup_log:128: (getStatusFlags) Active flags: REA                                                                                                  DY <0x4011>
50      09/09/11 12:33:57.523   luup_log:128: (processIncoming) Unhandled messag                                                                                                  e. <0x4011>
50      09/09/11 12:34:08.672   luup_log:128: (incoming) lul_data='[100000010000                                                                                                  0000----],002,[f70000008002001c08000000000000],"****DISARMED****  READY TO ARM                                                                                                    "' <0x4011>
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mathewss on September 11, 2011, 07:21:08 pm
 If anyone with an SE panel and some patience and time could please test the latest beta 22 I would appreciate it. I had someone with an SE variant I had not seen before with some issues that I was able to fix with a small adjustment to the timing. I need to see if this change adversely effects other SE users. This may effect your system and require me to request further timing data from your panel so please do not do this unless you have the time and can be down for a day.

Re
 Sean M
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on September 15, 2011, 02:26:55 pm
Version 2.2 is out!

The documentation has been updated with a more complete installation instructions. Also, I tried to explain some of the inner workings of the plugin and I gave some recommendations for the best usage experience. It's worth reading to understand how to best configure the plugin.

The main goals for this release were compatibility and reliability. New in this version:
- The case where only one partition is active is handled differently. This should bring an increase to reliability and compatibility.
- The plugin must be configured with the addresses of the keypads assigned to each partition. This means that the plugin will work even if there are more keypads assigned to a partition.
- Less messages are sent to the panel. This should bring an increase to reliability.
- Zones are now removed from the faulted zones list when they are cleared.
- The code has been streamlined for an increase in performance.

I didn't have time to test it thoroughly, but I believe that there aren't any major issues. Any feedback appreciated!

Edit: Here is the link to the Trac page: http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/wiki/WikiStart (http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/wiki/WikiStart)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on September 15, 2011, 11:03:27 pm
Nice work @mcvflorin. The status is working.  :D

Comments.
Can you add a space between the two word status messages: ArmedInstant, StayInstant, NotReady, ExitDelay & NotActive.
Can you capitalize the Faulted zones: none to None.

Feature request.
Is it possible to scene control the Chime On/Off?
Is it possible to add/delete user codes via the plugin?

JOD.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on September 16, 2011, 01:22:25 pm
Can you capitalize the Faulted zones: none to None.
Done.

Is it possible to scene control the Chime On/Off?
Done.

This are available in the 2.21 version of the plugin, which is the latest version. The other requests take more time to implement and I plan on working on additional features for the Elk Alarm Panel plugin in the following days, so they won't be implemented soon.


Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: wseverino on September 17, 2011, 11:32:02 am
Florin - Works like a champ with my Vista 10SE! Thank you!!!!!!!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: blacey on September 18, 2011, 12:17:58 pm
One observation while studying other plugins to learn out how to develop my own plugin is that this plugin is an exemplar for writing other plugins - for example, the refactoring of the lua code into an L_ lua module that is loaded during plugin initialization is simplistic and clean.  Thanks Florin!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on September 20, 2011, 10:31:11 pm
One issue to report with 2.2:
The Status (although working and updating initially) got stuck on NotReady (even after a reload) but would otherwise Arm/Disarm with no issues.  

JOD.

*Edit. That was a UI4 issue (abandoned)
UI5 issue with scene setup/opening partition, email sent by @micasaverde with cc.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on September 21, 2011, 04:13:27 am
Can you send me the logs so I can take a look and maybe spot the problem? The Lua logs (lines starating with 50) and maybe the critical logs (lines starting with 01) are enough.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on September 27, 2011, 07:14:14 pm
Hi @mcvflorin,
I've taken the plunge and purchased the A2DUSB for my Vista 20p to replace my discontinued Vista ICM module.  I've been testing it out for a couple of days now and everything is working as advertised, thank you for your efforts on this plugin. 

Since the ICM email service has been discontinued, my intentions are to use Vera as my alarm notification system.  However, I am trying to take it one step further than just sending a notification that an alarm is active, I would also like to see which zone caused the alarm.  This would mimic more closely the functionality of the ICM.  Using luup code I have successfully set up push notifications (through automator.app) that sends me a message when an alarm occurs and appends the FaultedZones variable to the message as well.  This works great when testing the code (run scene) with a door open, I get the notification and the correct zone number for the door that I have open.  The problem is when I test it under real world conditions (simulate an alarm), the FaultedZones variable always reports "None" during the active alarm condition.  I've tried forcing a poll of the panel before reading the FaultedZones variable but it still (always) reports "None", including on the dashboard (Faulted zones: None).  Am I missing something?  Vera knows there is an alarm, why can't it see which zone caused the alarm?  Is there a different variable for the reporting which zone caused the alarm?

Thanks again for all your efforts!

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on September 28, 2011, 06:14:16 am
I forgot to update the FaultedZones variable when there is an alarm. This week my schedule is full so I won't be able to fix it until Monday. Thanks for the feedback.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on September 28, 2011, 05:36:10 pm
Thanks @mcvflorin.

One more thing.  Would it be possible to add notifications for system troubles (i.e. low batt, no ac)?  Also, what about fire?  Again, I'm just comparing it to the functionality I had with the ICM module. 

Another one that would be nice but may not be possible is the Duress code.  Is there any way to monitor the event log for a specific event code (121 in this case)?

Thanks,
kbmcguire
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on September 29, 2011, 06:49:55 am
It's possible to add notifications for system troubles, but monitoring the event log is not.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on October 04, 2011, 11:36:54 pm
@mcvflorin,
I was adding a new Z-Wave device tonight that required me to disconnect the AD2USB adapter in order to get the Vera close enough to the new device for inclusion.  After all was done I put the Vera back in it's place, plugged in the AD2USB, then powered the Vera back on.  Everything came up just fine, no errors.  My alarm system looked normal (No Faults & "Ready") but I soon realized that the status wasn't updating.  A closer look revealed that the serial port configuration had been completely lost and was no longer associated with my alarm.  I was able to re-configure the serial port settings and everything was fine after that but I just thought it should have given me some indication like "No Comms" instead of telling me everything was ok (No Faults & "Ready"). 

So, two things here:
  1. Why is Vera losing it's serial port configuration and association?
  2. Can you display an error message when the Communications are not OK (i.e. "No Comms")?

FYI, I was able to reproduce the problem with testing.

Thanks,
kbmcguire
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on October 05, 2011, 08:22:05 am
1. The serial port is a hidden device. When the device that's connected to the USB port is unplugged, the hidden serial port device is deleted, along with all the configuration. If you plug the USB device back in, a new hidden serial port device is created, with a new ID.

2. Yes, this would be possible.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mathewss on October 06, 2011, 12:59:35 am
So it wont survive a reboot? That could be a problem.

This is from one of my quick start guides that makes sure it shows up as the same device every time.

Code: [Select]
Under Linux or OSX it may be necessary to adjust the permissions of the usb device and it is also advisable to make sure that the device
attaches to the same device name ever time you connect it. First determine the AD2USB serial number and vendor and product id's then
configure your udev device
$ udevadm info ­a ­p $(udevadm info ­q path ­n ttyUSB0) | egrep ­i "ATTRS{serial}|ATTRS{idVendor}|ATTRS{idProduct}" ­m 3
    ATTRS{idVendor}=="0403"
    ATTRS{idProduct}=="6001"
    ATTRS{serial}=="A5003uIO"
Record all the values in the quotes – you’ll need them in the next steps.
$ sudo touch /etc/udev/rules.d/10­ad2usb.rules
$ sudo chmod 644 /etc/udev/rules.d/10­ad2usb.rules
$ sudo vim /etc/udev/rules.d/10­ad2usb.rules
and copy this line in:
BUS=="usb", SYSFS{idProduct}=="IDPRODUCT", SYSFS{idVendor}=="IDVENDOR", SYSFS{serial}=="SERIAL", NAME="ad2usb"
Substitute your values from above for IDPRODUCT, IDVENDOR, and SERIAL. /dev/ad2usb will be your new mountpoint.
Save and close the file. Disconnect and reconnect your ad2usb and you should now have /dev/ad2usb

 If the kernel is configured for udev and runs udevd daemon then this should work just not sure if these config files are accessible.

Re
 Sean M
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Hohammer on October 06, 2011, 07:30:58 pm
I am new to Vera2 and have many devices working perfect. I just installed the AD2USB and it works like a dream! Thank you for all the hard work- My alarm installer was amazed. He even used it to program my system. Here is my problem I was hoping for help with:

My Vera2 cannot be in the same area as my alarm panel because of range issues. How can I connect my AD2USB to Vera from across the house?  I have no attic access. I was going to try wireless USB but that will be unstable I think. If Vera could talk to my Windows based servers com port that would do it.

Any ideas?

Thanks


Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mathewss on October 07, 2011, 12:27:48 am
I am new to Vera2 and have many devices working perfect. I just installed the AD2USB and it works like a dream! Thank you for all the hard work- My alarm installer was amazed. He even used it to program my system. Here is my problem I was hoping for help with:

My Vera2 cannot be in the same area as my alarm panel because of range issues. How can I connect my AD2USB to Vera from across the house?  I have no attic access. I was going to try wireless USB but that will be unstable I think. If Vera could talk to my Windows based servers com port that would do it.

Any ideas?

Thanks

 You can run Alarm wire from your alarm panel or the nearest keypad to your Vera2 the alarm wire can be as much as 300' with no issues.

 ser2sock.c is another option but currently the plugin afaik can only support direct usb connections. If it could support sockets then this would be another option. Connect the ad2usb to your server run ser2sock.c compiled for your OS and have it broacast your AD2USB on your local ethernet on port 10000

 Re
 Sean M
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: djrobx on October 07, 2011, 11:39:28 am
Vera supports "remote" serial ports.

Internally, Vera converts AD2USB to a socket based connection using "ser2net".   Then, the plugin talks to this socket.   It's trivial to get the plugin to talk to a socket on another machine, you just change the serial port configuration.   If Hohammer uses a "vanilla" serial to socket program he should be able to use his windows server, and just enter the IP address/port in the serial config in Vera.

It looks like ser2sock.c is more complex than just sharing the serial port over a socket though (I'm guessing to support multiple clients), can you elaborate on how that protocol works?

 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mathewss on October 07, 2011, 08:27:26 pm
Vera supports "remote" serial ports.

Internally, Vera converts AD2USB to a socket based connection using "ser2net".   Then, the plugin talks to this socket.   It's trivial to get the plugin to talk to a socket on another machine, you just change the serial port configuration.   If Hohammer uses a "vanilla" serial to socket program he should be able to use his windows server, and just enter the IP address/port in the serial config in Vera.

It looks like ser2sock.c is more complex than just sharing the serial port over a socket though (I'm guessing to support multiple clients), can you elaborate on how that protocol works?

 

 Very smart idea on using ser2net. If this is the case then my ser2sock.c is not necessary.

 I was looking for a way to share my AD2USB amongst several systems. Not finding any other solution I decided to just write it and ser2sock is the result.

 ser2sock.c is best suited for cr lf terminated serial data but I have been planning to have a switch for "raw" mode where it does not parse the stream before retransmitting it to all connections. It has a few switches for tuning its use but I would not go so far as to say it had a protocol other than that its TCP/IP socket based.


 I forgot to mention in m last post regarding fixing the device to /dev/adu2sb that that was an example from OSX but its about the same on Linux.
 
Re
 Sean M




Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: djrobx on October 08, 2011, 01:50:47 pm
Right.  I'm wondering what changes might be required in the Vera plugin to talk to a ser2sock AD2USB client vs a "dumb" ser2net socket that just relays everything from the serial port? 

I noticed that the AD2USB Mono GUI can't talk to a ser2net socket. 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on October 08, 2011, 10:03:44 pm
I'm having trouble with the AD2USB + Vera2 integration and was wondering if anyone can provide some insight. I can't seem to get my alarm to arm/disarm (basically no inputs) from my Vera.

I've gotten the files installed from code.mios.com.
I am able to see the Faults being triggered.
I am able to see the status when it is being armed/disarm on the physical keypad.

I only have 1 partition so I entered 1 in numPartitions
I have 2 physical keypads, one at keypad address 16 and another at 17. I've entered these in keypad address as "16,17"

Any ideas?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: djrobx on October 09, 2011, 02:36:36 am
Have you checked that the AD2USB is working outside of Vera?   You might hook it up to a laptop and run MonoGUI from the NuTech website.

What panel are you using?  You may need to configure the AD2USB's keypad address and add it to your panel if you have not done so already (unless it's a SE panel, in which case the AD2USB needs to be set to address 31).
 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on October 09, 2011, 05:08:48 am
I havent checked that the AD2USB is working outside of Vera, but since I am seeing the states change (Ready/Night) and faults, I assume it's communicating properly.

I am using two 6160 keypads on a Vista 20P (Not SE). How do I add the keypad address for the AD2USB?

*edit*
I just ssh'd into the Vera and looked at the LuaUPnP.log file. Looks like my commands are being read, but I just don't see my alarm disarming. I don't see any noticeable error messages in the log either.

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Thinkfire on October 09, 2011, 10:34:17 am
How are you guys figuring out what addresses your keypads are on?

I am unable to get past that stage in the installation?  (might be helpful to explain that process in the installation page at http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb#no1)

I have 2 keypads, VISTA 20P panel with 2 partitions.  I *assume* the keypads are at 16 and 17 on partition 1.  But I am still not able to control anything.   and still no go.

I tried these variables on partition 1:
16
16,17

Any ideas?

*edit*

I entered 16,17 for partition 2 and now I see that partition 2 Status is: Ready.

Still no status on partition 1.

I cannot seem to store my PIN code and clicking buttons has no effect.

*edit2*
I changed the partition variable from 2 to 1

I now can see the status of the system on partition 1, Stay, Armed, Ready.    BUT  I still cannot seem to store the PIN or control the alarm.

*edit3*

It appears I had to reassign the ad2usb to address 19, so apparently the second panel was on 18.

I put 16,18 in partition one for the address field and now it seems things are working!

Beautiful work.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on October 09, 2011, 01:48:04 pm
Thinkfire,

How did you assign 19 to AD2USB?

To get the addresss of the keypads, push 1 and 3 and hold. It will tell you.

If you want to change it, unplug alarm, disconnect backup battery and when you plug everything back in, press 1 and 3 to make adjustment.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: wseverino on October 09, 2011, 07:48:11 pm
see the following: http://www.nutech.com/images/fbfiles/files/visual_quickstart_guide.pdf

Basically, hook up the AD2USB to your PC, Launch Hypertem and follow the directions in the quickstart guide.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on October 10, 2011, 02:52:08 am
wseverino, thanks for the visual quickstart guide. Unfortunately, I still have some issues getting it to work on my mac.

This is what I did:

1. Installed the FTDI VCP driver for Mac.
2. connected the USB to my Mac
3. sent "screen /dev/tty.usbserial-A5003uxd 115200" and connected to AD2USB
4. sent "=" to boot up AD2USB
5. sent "!" to begin configuration
6. entered "18" as keypad address (since 16 and 17 are my physical keypads)
7. left code as "0000"
8. Y for Module 01, N for the rest
9. Then, I went to my physical keypad and went into programming mode
10. went to *191 10 to config my address (18)
11. Connected my AD2USB back to the vera
12. Still no luck sending commands to the alarm from vera, although I can read all signals

Thoughts?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on October 10, 2011, 03:31:20 am
@waynebrady

We had a customer with the same problem, and I couldn't find what was causing it. So I sent an e-mail to Sean. Here is my e-mail:

Quote from: mcvflorin
We have a customer with a Vista 15P that wants to use the Ademco Vista plugin but something doesn't work. I studied the problem and it seems that I cannot send any command to the panel. I can receive anything, but whenever I try to send something to it, it doesn't work. It says !Sending.done but nothing happens.

So I thought of 3 causes for this:
1. The PIN code is not correct. The customer assured me that it is correct, so this is excluded.
2. The AD2USB (which is on address 18) is not assigned to any partition.
3. The TX connection to the panel is faulty.

Unfortunately I don't know the AD2USB that well to have an answer to the 2nd possible cause, so this is what I need to know: does the AD2USB needs to be assigned a partition to be able to send commands to it?

And here is his answer:

Quote from: Sean Mathews
9 times of out 10 it is because the alarm panel was not programmed to be told that the AD2USB exists.
The alarm panel must be told to enable every keypad on the alarm bus. If the AD2USB is configured
as address 18 and the alarm panel has enabled address this would be programming field *191 for the vista 15.

A "sending.done" would tell me that the TX/RX portions of the bus are correctly connected. If it had been
"sending......done" then it would tell me it was not receiving data back from the panel correctly. I would
say based upon your description the problem exists as a configuration of the panel. It is also possible
that another keypad exists on the same address 18 but I think the results would be different in this case.

This week-end I received an e-mail from this customer saying that after following Sean's indications he got the plugin to work. So a big Thank you! to Sean!

Try this and let me know if it works.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: wseverino on October 10, 2011, 12:08:10 pm
7. left code as "0000"

Shouldn't step 7 be the installer code?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on October 10, 2011, 02:31:05 pm
Let me try putting in my installer code to see if that works. I'll also look out for "sending.done".

I did press *191 10* for the Vista20p. Could I be forgetting to submit/save?

Thoughts?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: wseverino on October 10, 2011, 02:54:28 pm
The installer code is a 4 digit number. Default on a 20P is 4112.

If doing it from the keypad, to enter programming mode by keying in your installer code (default = 4112) plus 800
     (e.g. 4112800).
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on October 11, 2011, 02:40:26 am
Great news! It is now working. But man, it took a lot of experimenting. There needs to be clearer and more straight forward instructions!

Here's what I did.. Changed the code to my installer code and got it working from my MAC terminal.

I was still not able to do anything through the Vera. I tried everything, but finally gave up and did a factory reset on the Vera. I reinstalled everything and it now works flawlessly!

Thanks everyone who helped me get this working!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on October 11, 2011, 03:37:19 am

OK now that everything is working, I am trying to get notifications working (without the help of mios.com).

I already have the LUUP code for sending an email off my mail server. How do I create a listener for alarm's change in status? What about faults?

TIA
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on October 11, 2011, 07:19:30 am
Currently the plugin has events for Armed state changes (armed <-> disarmed), Detailed armed state changes (stay <-> night <-> ...) and Alarms. I plan on adding more events when I find the time.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: wseverino on October 11, 2011, 09:33:55 am
Glad you got her up and running Wayne.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on October 11, 2011, 02:33:48 pm
Mcvflorin,

I see those under the notifications tab, but it requires me to have a mios account?

I'm trying to bypass mios completely and run luup code to send emails from my own mail server. Can that be done?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Thinkfire on October 11, 2011, 06:43:34 pm
Let me try putting in my installer code to see if that works. I'll also look out for "sending.done".

I did press *191 10* for the Vista20p. Could I be forgetting to submit/save?

Thoughts?

I believe you want to press *191 01  (0 for disabling audio, 1 for partition 1)

Then press *99 to exit program mode

Thinkfire,

How did you assign 19 to AD2USB?

To get the addresss of the keypads, push 1 and 3 and hold. It will tell you.

If you want to change it, unplug alarm, disconnect backup battery and when you plug everything back in, press 1 and 3 to make adjustment.

I went in on my laptop, used Putty and changed it via instructions that came with the device.

If you have 2 keypads, like I did, its possible the installer assigned the second keypad to 18, so you would need to use *192 01 to activate a keypad at address 19 on partition 1
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Thinkfire on October 11, 2011, 06:44:50 pm
Currently the plugin has events for Armed state changes (armed <-> disarmed), Detailed armed state changes (stay <-> night <-> ...) and Alarms. I plan on adding more events when I find the time.

Will there be programming to trigger scenes with zone faults?  So we can take advantage of our alarm systems motion sensors and door contacts, fire alarms, etc etc to trigger scenes?


Also some ability to...code our zone faults would be nice.  IE:  Zone 07 faults, after programming your zones, Vera would instead tell you that Door In Living Room is faulting?

I currently have a cheat sheet so I know which zones are what sitting on my desk, but when I look at my statuses on my phone via Home Buddy or get a text message that a zone is faulting, I cannot always have a cheat sheet with me.  Some kind of table would be nice or something.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on October 11, 2011, 07:11:54 pm
I agree with ThinkFire. It would be great to make use of our current sensors to trigger scenes!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Thinkfire on October 11, 2011, 07:23:39 pm
I ended up into this because I had a security system put in and I am deaf.

We had everything rigged up to strobes, including the doorbell.

Problem is the limitations of the system, from what I was told.

So whenever a strobe goes off, I cannot tell whether its the doorbell ringing, there is a fire in the house or whether someone broke in.

So I ventured out to a solution myself, having already had installed 30+ Z-Wave devices in my home, I ventured out to bridge the system.  My local alarm company said it couldn't be done.

With some research I came across AD2USB to trigger scenes when certain states are triggered (flashing lights, so I can tell whats going on).  However, if its, say a doorbell ringing, it triggers a fault which triggers a strobe but does not change the state of the panel, so I am not able to trigger any scenes to kick in that would help me know whats going on.

Hope that makes sense.

I imagine lots of people have motion sensors on their security systems they would love to integrate and take advantage of, so I would not be alone in taking advantage of any features that allow triggers based on zones.

I also gave the alarm company a brief tutorial on how I accomplished this and their jaw dropped.

This thing needs more attention amongst alarm companies and even partnerships, there is a missing niche here that could easily be taken advantage of.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on October 11, 2011, 07:39:00 pm
I have a Vista 10-SE and have installed the AD2USB device via the instructions here http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb

I triple checked all my connections and everything seems to be set up correctly, however, the Partition doesn't seem to be storing my Pin code or it won't accept it. When I don't put a Pin code in, I get a message in the top right of the Dashboard that says "Cannot arm/disarm without pin code". The keypad address is set to 31 (non-addressable keypad setting for Vista 10-SE's), the serial port is set to the AD2USB device installed on that port (#20 ftdi_sio) and the baud is set to 115200. I'm not getting any Status. I did a few reboots to Vera and my alarm panel. I also tried using the installer code but no dice.

Any ideas?

shep29
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on October 11, 2011, 08:18:10 pm
shep29,

Sounds exactly like what I just went through, except I have a 20p.

1. Make sure you enabled the keypad address on the physical keypad by going into programming mode.
2. if that fails, wipe your Vera and try again. i did that last night and it did the trick.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on October 11, 2011, 08:40:30 pm
From what I've read, the address field for a Vista 10-SE should only be 31 (non-addressable mode). Plus, in the programming guide for a 10-SE, there aren't any commands for enabling keypads.

By wiping Vera, you mean doing a factory wipe and setting up my entire Z-Wave network again?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on October 11, 2011, 09:05:21 pm
Factory reset. Make sure you backup, just in case.

But before you do that, did you use Putty to config your ad2usb?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on October 11, 2011, 09:07:16 pm
No I didn't. Wasn't aware I needed to do that. What needs to be config'd?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on October 11, 2011, 09:11:44 pm
You need to config the keypad address number and your installer code. Are you on PC or MAC?

If you read some of the more recent posts on this thread, you'll see the Visual QuickStart PDF.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on October 11, 2011, 09:20:12 pm
I'm on a PC.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Thinkfire on October 11, 2011, 09:59:12 pm
If you are on a 10 SE then you shouldn't need to configure the address on your AD2USB device.  It defaults to 18.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Thinkfire on October 11, 2011, 10:06:41 pm
I'm on a PC.

Upgrade your firmware.  It does not support 10SE out of the box.

Use the AD2USBGUI program, it has a built in feature to update firmware and is the easiest to use visually.

http://www.nutech.com/forums/12.html
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on October 12, 2011, 12:59:49 am
Ok I updated the firmware via the GUI program and then changed the keypad address to 31 and the status started flowing. Man what a journey. Thanks @waynebrady and @Thinkfire for the help and @mcvflorin for the hard work on the plugin.

Anyone able to control via the iVera app for iPhone4? Mine says "unsupported"...
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on October 12, 2011, 03:59:36 am
Will there be programming to trigger scenes with zone faults?  So we can take advantage of our alarm systems motion sensors and door contacts, fire alarms, etc etc to trigger scenes?

Also some ability to...code our zone faults would be nice.  IE:  Zone 07 faults, after programming your zones, Vera would instead tell you that Door In Living Room is faulting?

Yes to both.

@shep29

It was explained in the documentation that all the commands require the PIN code to be present in the PIN code field. For security reasons the stored PIN code is used only for getting the faulted zones when there is more than one partition.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on October 12, 2011, 07:57:05 am
@mcvflorin Thanks I did see that in the documentation but in my case it didn't matter because my AD2USB wasn't programmed with the latest firmware and keypad address 31 for a 10-SE. Whenever I put in the pin code, nothing would happen after I pressed a command (Arm, Stay, etc.) I thought putting the keypad address in the KeypadAddresses field in the plugin would be enough to configure the keypad address. Might be a good idea to add a few lines in the instructions to say that you may need to input KeypadAddresses in the plugin and the AD2USB via the GUI program.

In my iVera app, it shows my Alarm because I assigned the panel and partition to a "room" but it says unsupported due to "no lua status found for this device". Is that because a pin code is required to show the lua status? Sorry, I'm new and not a programmer. If I understand the DSC plugin correctly, there is a remote arm/disarm feature. Can we expect to have that for the AD2USB plugin?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on October 12, 2011, 01:41:28 pm
mcvflorin,

that's great news that we will be able to program faults from our sensors, etc. Any ideas when this will be released?

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on October 12, 2011, 08:09:02 pm
Anyone able to control via the iVera app for iPhone4? Mine says "unsupported"...

@shep29,
I use automator.app and I had a similar problem after I installed my AD2USB with the plugin.  It would not display the Status or Faulted Zones.  When I contacted the developer he mentioned there was something different about the way it was implemented vs. most other devices but he was able to work around it and put out an update that fixed it.  I would recommend contacting the developer of iVera to make them aware of the issue, I'm sure they can fix it.  Or you could switch to automator.app, it works already.

Regards,
kbmcguire
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on October 13, 2011, 07:22:09 am
Any ideas when this will be released?

My schedule is full at the moment, so not in the near future.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on October 13, 2011, 12:47:47 pm
@kbmcguire

I downloaded the Automator.app as a backup but don't see status and can't control the Alarm. There are no buttons for Arm, Stay, Disarm ,etc... Are there settings that need to be changed in the Automator.app?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on October 13, 2011, 07:48:49 pm

Hi @shep29,
Apparently the update hasn't made it to the app store yet.  The developer had sent me an advance copy for testing a few weeks ago and I thought it was already updated in the app store.  I sent him an email to find out when it would be available or if you could get an advance copy as well.  Sorry about that  :-\ , I'll post back here when I get a response.

Regards,
kbmcguire
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: wseverino on October 13, 2011, 07:55:38 pm
FYI the default keypad address for a 10SE is 31.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: automator.app on October 13, 2011, 11:41:29 pm
@kbmcguire

I downloaded the Automator.app as a backup but don't see status and can't control the Alarm. There are no buttons for Arm, Stay, Disarm ,etc... Are there settings that need to be changed in the Automator.app?

I worked with kbmcguire to resolve an issue that caused the alarm panel to not be rendered (it was because the first tab wasn't named 'Control' as it is in most).  This has been corrected in an upcoming release that will be submitted to Apple within a day or two.  Historically it has taken a week or so to get a new version approved but I am sure things are much slower with all the iOS 5 updates.

Thank you for your purchase, and rest assured that the new version with support for the alarm will be out very soon.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mathewss on October 14, 2011, 05:01:33 am
 We only have 8 units left in October!!!! Thats over four months ahead of my
estimates for this year. Thanks everyone for supporting our project.

 I just started the process of building more AD2USB boards today so other than a few resellers that have stock the supplies are limited for the next few months as more are being built. All of the assembly and some of the parts are made in the USA other parts are from overseas where shortages have been an issue in the past. If all goes well we should have more stock in a few months.

 I figured I would post this info here because of the volume of activity in this thread just in case anyone who has been watching wants to jump into the fun and goodness we call AD2USB before the last of this batch is gone.


 Re
 Sean Mathews
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: automator.app on October 18, 2011, 12:54:29 pm
@kbmcguire

I downloaded the Automator.app as a backup but don't see status and can't control the Alarm. There are no buttons for Arm, Stay, Disarm ,etc... Are there settings that need to be changed in the Automator.app?

Thank you for your purchase, and rest assured that the new version with support for the alarm will be out very soon.

Automator version 1.4.5 has been released and should appear in the App Store very soon.  It contains the bug fix that prevented your alarm panel from rendering.  Enjoy!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kadebross on October 19, 2011, 01:25:05 am
@kbmcguire

Did you try setting this up with your ICM prior to buying the AD2USB? Curious as I already have the ICM installed.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on October 19, 2011, 07:06:27 am

@kbmcguire

Did you try setting this up with your ICM prior to buying the AD2USB? Curious as I already have the ICM installed.

No.  I tried generating some interest to get MCV to write a plugin for the ICM but I don't think there is enough demand for it.  However, I am very satisfied with the AD2USB so far.  The plugin still needs work but it's coming along nicely.  I'd recommend trying to sell your ICM for enough money to pay for the AD2USB.

-kbmcguire
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kadebross on October 19, 2011, 08:50:11 am
@kbmcguire thanks for the advice. my AD2USB is on order.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on October 20, 2011, 09:42:47 am
I forgot to update the FaultedZones variable when there is an alarm. This week my schedule is full so I won't be able to fix it until Monday. Thanks for the feedback.

@mcvflorin,
I know your extremely busy but I just wanted to see if you had an ETA for the fix mentioned above?

Thanks,
kbmcguire
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on October 20, 2011, 11:07:06 am
@kbmcguire
I just did, here's the link to the updated file: L_VistaAlarmPanel1.lua (http://code.mios.com/svn_public/mios_vista-alarm-panel-ad2usb/trunk/L_VistaAlarmPanel1.lua)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on October 20, 2011, 12:57:45 pm
@kbmcguire
I just did, here's the link to the updated file: L_VistaAlarmPanel1.lua (http://code.mios.com/svn_public/mios_vista-alarm-panel-ad2usb/trunk/L_VistaAlarmPanel1.lua)

Thanks!  I'll test it out and let you know if I have any problems.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: realbass1 on October 20, 2011, 02:35:42 pm
Question- If I had the old version of this plugin (1.0 I think), do I need to worry about uninstalling anything prior to using this plugin? Thanks for all the hard work!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on October 21, 2011, 05:18:28 am
@realbass1

No, uploading the new files overwrites the old ones. So just upload the new files, restart Luup and reload the UI.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on October 22, 2011, 09:30:56 am

@mcvflorin,
I've been testing the updated plugin (2.22) and found that the faulted zone is getting updated following an active alarm now... Thanks!.  However, my scenes/events are still triggering prior to the FaultedZones variable getting properly set.  In reviewing the logs I can see that it's taking 2-3 seconds for the FaultedZones variable to get set following the Alarm variable getting set to "Active".   I've played around with the lua code in the plugin and found a solution that seems to work for my situation but I'm just not sure if my changes will have any adverse affects.  The change I made was in the checkForAlarms function.  Basically I moved the addFaultedZone up so that the FaultedZones variable gets updated before the Alarm variable gets set to "Active" by the setPartitionState function. 

Here is what that section of code looks like now:
Code: [Select]
local alarm = getPartitionState (partNo, "Alarm")
if (alarm ~= "Active") then
-- Add the faulted zone that caused the alarm to the list.
addFaultedZone (tonumber (zone, 10))
setPartitionState (partNo, "Alarm", "Active")
end

If possible, could you please incorporate this tweak or alternate method into the next version of the plugin.

Thanks,
kbmcguire
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on October 24, 2011, 02:08:43 am
@kbmcguire

Your changes don't have any adverse effects, so you can keep them. I updated that function as you suggested.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on November 02, 2011, 12:08:53 pm
I attempted to add a wave light switch last night and now, my Vista display as NotReady and is no longer reading the events from the AD2USB.

All I did was unplug the Vera and AD2USB and hooked it up an external battery. tried to install a wave light switch with no luck (failure to get into learn mode) and then plugging everything back in.

Anyone experience this with the alarm in Vera not working after this process?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on November 02, 2011, 01:24:10 pm
I attempted to add a wave light switch last night and now, my Vista display as NotReady and is no longer reading the events from the AD2USB.

All I did was unplug the Vera and AD2USB and hooked it up an external battery. tried to install a wave light switch with no luck (failure to get into learn mode) and then plugging everything back in.

Anyone experience this with the alarm in Vera not working after this process?

Yes @waynebrady,
I had the same problem and reported it via this thread already.  It appears to be a quirk in how Vera handles the USB ports.  Here is @mcvflorin's response:
1. The serial port is a hidden device. When the device that's connected to the USB port is unplugged, the hidden serial port device is deleted, along with all the configuration. If you plug the USB device back in, a new hidden serial port device is created, with a new ID.

You will have to go back in and re-assign the port every time you unplug and re-plug the AD2USB.  Maybe future versions of the plugin will at least indicate that the serial port is not configured properly.   ???

kbmcguire
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on November 02, 2011, 02:54:48 pm
Thank you! It drove me crazy trying to figure out what went wrong. I decided to reinstall by creating a new device (didn't upload any new files) and proceeded with the Vista installation process and all is working now.

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: dratifk on November 05, 2011, 09:50:02 am
I'm putting my order in now for the AD2USB. I have a Vista 20P. Just a simple question before I attempt this install. After you connect the wires form the device to the panel and you sucessfully see the heartbeat light do you just plug the usb cable to the Micasaverde? There is no programming required on a PC correct?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: wseverino on November 05, 2011, 10:07:48 am
You will want to plug it into the PC first to setup the A2DUSB. You will need to give it the proper Keypad address along with the installer code. You will also want set up your partitions.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: dratifk on November 05, 2011, 10:46:03 am
Ok I found the instructions on how to do this. But boy is it overwhelming for those without any programing experience. I'm a physician and can figure many things out but I do wish there was one set of instructions from beginning to end. I have a Ademco 20P with default installer code and 2 keypads at address 16 and 17. I really hope when I get this device I can figure it all out. It is great to know there are so many knowledgable and helpful people here.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on November 05, 2011, 12:31:50 pm
I was in your shoes a few weeks ago. People here are knowledgeable and will help you set it up.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: wseverino on November 05, 2011, 05:10:58 pm
No programming skills need just follow the directions.

See the following: http://www.nutech.com/images/fbfiles/files/visual_quickstart_guide.pdf

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: realbass1 on November 09, 2011, 08:58:34 pm
Sorry if this has been addressed before- I didn't see anything in my search. I just installed the new files( I was previously on Version1). It seems a little random, but it seems like the plugin is regularly losing my settings for the keypad addresses (I have one keypad at address 16). Anyone else having similar issues? Thanks in advance.

Realbass1
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Selack98 on November 10, 2011, 05:44:13 pm
Hey wondering if anyone has seen the 4232CBM  module from honeywell,  looks like it is a keypad emulator for the vista panels version 9.1 up,  will the AD2USB setup work for this as well ?  Seeing how they are both keypad emulators.

I have some documentation from honeywell on it as well so if any wants the wiring diagram and programming notes let me know.


http://www.security.honeywell.com/hsc/products/expacc/ac/310799.html
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Selack98 on November 10, 2011, 05:49:49 pm
The 4232CBM documentation I have has the module going to a serial connection and then I am assuming u could use a serial to USB to vera?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on November 11, 2011, 04:55:15 am
It seems a little random, but it seems like the plugin is regularly losing my settings for the keypad addresses (I have one keypad at address 16).

You mean the KeypadAddresses variable loses its value?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: dratifk on November 11, 2011, 05:50:24 pm
Ok I'm having problems. wondering if anyone can help. I sucessfully have putty running. When I arm the system and disarm the system I can see it. I set the address to 18 since I have  2 keypads at 16 and 17. I cant get into programming mode using a keypad.

I hit 4112800 but nothing happens.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: realbass1 on November 13, 2011, 04:53:39 am
It seems a little random, but it seems like the plugin is regularly losing my settings for the keypad addresses (I have one keypad at address 16).

You mean the KeypadAddresses variable loses its value?

Yes. It just happened again this evening. I get an alert saying that no keypad has been assigned to partition 1... even though I had programmed it on wednesday. I was away on vacation and it was fine until tonight. The alarm has been disarmed and armed tonight- it seems to have lost the value sometime in the past few hours.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: realbass1 on November 13, 2011, 04:57:05 am
It's almost as if the partition is recreated or something- When it loses the keypad addresses, all of my notifications are deleted as well.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on November 14, 2011, 05:23:18 am
It's almost as if the partition is recreated or something- When it loses the keypad addresses, all of my notifications are deleted as well.

Does it happen at every Luup restart, or randomly?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on November 14, 2011, 05:25:12 am
I cant get into programming mode using a keypad. I hit 4112800 but nothing happens.

Are you sure that the installer code is the default one? Maybe someone changed it.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: dratifk on November 14, 2011, 08:12:46 am
I guess it could be different. When I power recycle the unit and hit # * within 50 secs I get 05 flash then 04 then 05 then 00. None of those work as installer code. I guess I'll have to get the unlock program from Nutech.

Anyone know the instructions on how to use the unlocker program?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: wseverino on November 14, 2011, 03:34:06 pm
Has anyone noticed with the latest revision a slow response from Vera? Here is whats happening. there have been several times I have not been able to reach my control panel. I pull the plug on the A2DUSB and voila the control panel pops up.

FYI - I removed the Admeco plug-in and my system is acting normal. I was causing my Vera 1's CPU count to be very high. 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: dratifk on November 14, 2011, 07:04:11 pm
I was able to use the unlocker program to get my installer code. WOO WOO
I was able to activate address 18. Simple question -- How do you know how many partitiions on your system?

I have the system setup in Vera I can arm and disarm but it doesn't show the status. Also How can I activate using the iPhone? iVera doesn't show it.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: wseverino on November 14, 2011, 07:32:10 pm
The only iphone/ipad application that it works with is automator.app.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: dratifk on November 14, 2011, 08:10:09 pm
Thanks

Not sure if I should put 1 partition or more. Not sure why arm disarm works but not getting any status info and also not showing plugin version?

Just to refresh: I have 2 physical addresses 16 and 17 with AD2USB on 18. I'm guessing I just need to put in 16,17 for keypad addresses.

In the instructions it says: NOTE #1: The AD2USB's address should not be added to the keypad addresses list for any partition. So I'm guessing I don't put in 18 correct?

Ok in Automator App on the iphone it works but in Vera Dashboard status doesn't show although it works.

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: wseverino on November 14, 2011, 09:18:29 pm
put in the keypadAdress 16,17,18

the keypad 18 is the AD2USB and that's where the program is getting its status from.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on November 15, 2011, 09:41:12 am
@dratifk

wseverino is correct, you must also add the AD2USB's address to the list. The instructions were for an older version of the plugin, and I forgot to update them. Sorry for that.

Also, after installing the plugin and restarting Luup, you must also reload the UI.

@wseverino

Version 2.1 of the plugin was experimental, you shouldn't use that. Try the new 2.32 currently in trunk (http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser/trunk), because it has some optimizations.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: dratifk on November 15, 2011, 10:27:19 am
I have version 2.2 Running and I added address 18. I have status now which shows. I really don't care if the plug in version shows as long as everything works. How do you upgrade the plugin version to 3?

Also, any way to save the pin code. I realize its a secrity risk but I'd like the option in automator app.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on November 15, 2011, 10:39:19 am
Also, any way to save the pin code. I realize its a secrity risk but I'd like the option in automator app.

The PIN code is stored, but in this version it's used only for getting the faulted zones. I will add the possibility to do more things with the stored PIN code in the next version.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: dratifk on November 15, 2011, 10:52:33 am
Thank You. Real happy with the way it works so far. I wish iVera supported this. Automator works but atleast on the iPhone you have to scroll around to arm and disarm and the fields are too small for big fingers. On the iPad the automator app works and looks fine due to the big screen.

I'm guessing to update the plugin you just need to readd the luup files in Mios Developers section Correct? Or do you also need to erase the Ademco partition and panel and redo everything?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on November 15, 2011, 10:59:02 am
I'm guessing to update the plugin you just need to readd the luup files in Mios Developers section Correct? Or do you also need to erase the Ademco partition and panel and redo everything?

This depends of what changes have been made in the new version. To upgrade to 2.32 you need only to upload the new files, restart Luup and reload the UI.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinmrichardson on November 15, 2011, 03:31:01 pm
I hope I am posting this correctly! (1st time user... ;^) 
Not sure what I am doing wrong, but I cannot get the plugin for AD2USB to work. Any help appreciated!
I have a new Vera2 (factory reset just to trouble shoot with Ad2usb... nothing else is on the Vera2 right now) and a new Ad2usb. The Ad2usb works fine on my PC with putty and i set it for keypad address 5 and also added an alpha keypad on my Ademco Vista40 at address 5. I can control the alarm from my PC so all that seems to work fine. I connect the usb to factory fresh vera2, load the plugin files for ui4 found in the instructions at code.mios.com/trac/mios_vista-alarm-panel-ad2usb, add the device with UpnpDevFilename = D_VistaAlarmPanel1.xml and Description = Honeywell Ademco Vista and click create device, restart luup and reload browser. But when I go to the device i just created... I am unable to enter NumPartitions because it is not in the advanced settings. I can't get beyond this point of the install. It never builds the partition device. Any ideas where I'm going wrong? (I also tried the 9 plugin files in trunk 33 just to see if that helped, but for the same result, so whatever I am doing different than everyone else is stopping the install dead in it's tracks!)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: dratifk on November 15, 2011, 07:45:09 pm
I'll try to help since I just got my working. What are the addresses of your physical keypads. For instance on my 20p I have address 16, 17 used so I went with 18 for my AD2USB
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinmrichardson on November 15, 2011, 08:11:16 pm
Thanks! My vista40 has 2 keypads at 1 and 2, and 5 was unconfigured so I set it up as alpha keypad on 5. Then I ran setup on the AD2usb via my pc using putty and told it that it was address 5. Now I am able to see fault data etc from the vista40 and i can type numbers as if I were using a keypad and it works fine, will arm disarm etc from my pc using putty. So that makes me think I have the ad2usb set up correctly with the vista40. The problem seems to come into play when I try to install the plug in on vera. It just does not seem to work for me like it should... I upload the 8 files to vera which works in (i can log in as root on vera and see them all there, with the .lzo suffix) and then I add device/restart luua and reload browser page as desribed in the post above and the device just does not seem to build correctly, becuase I am supposed to then go into advanced settings and set numpartitions to a value (for me it will be 1) but that variable is not in the advanced settings, so I cant set it. Someting in the code is not letting the device build correctly... is there a trick to getting the files uploaded into vera, or a file rename i need to do? I have tried uploading using IE and also chrome, same results.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: dratifk on November 15, 2011, 08:18:44 pm
OK I guess the addresses are different on the vista40. IF you can arm and disarm from the computer that mean you activated address 5 correctly. So the next step was to upload all the files to Mios developers ---> Luup Files. Once you did this does it create a device? Then were you able to creat a Partition 1?

These should be the files:
  D_VistaAlarmPanel1.json
  D_VistaAlarmPanel1.xml
  D_VistaAlarmPartition1.json
  D_VistaAlarmPartition1.xml
  I_VistaAlarmPanel1.xml
  L_VistaAlarmPanel1.lua
  S_AlarmPartition2.xml
  S_VistaAlarmPanel1.xml

From Here: http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/wiki/UI4

What I did was creat a new folder on my desktop and saved the files in the folder by right clicking and save target as. My luup files look like this:
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinmrichardson on November 15, 2011, 09:51:06 pm
i factory reset vera2 again fyi, so i'm doing this now again as we go along here... i created a fresh folder on win-7 desktop and downloaded all 8 files from the web site, then went to mios developers on vera2 and uploaded all 8 files with no issues, they then appeared in the list of files loaded on vera as in your pic above... then i restarted luup and then refreshed browser and I have a new device. I open control panel on the new device and go to advanced and hunt for the  NumPartitions field... it is not there... also I notice a message in upper right of screen Startup Lua Failed... not sure if that due to it wanting me to fill in the numpartitions field and then restart luup, or if this error is part of my issue...? here is the screen shot just after I create the device, where I get stuck every time, showing the numpartitions field is not present and showing the lua fail msg...
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: guessed on November 15, 2011, 10:28:13 pm
Where did the D_Vista*.txt file come from?  Looks like it should be .json instead.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinmrichardson on November 15, 2011, 11:28:41 pm
after doing this about a hundred times trying to see where I'm going wrong, i have noticed a couple of times internet explorer will turn a json, or xml etc into a .txt when doing a save-as... not sure why... anyway was careful to watch out for that and I believe all my files made it to vera2 with the correct file extentions. here is an ls of the /etc/cmh-ludl on vera2 showing all the correct file names (I hope...).
root@MiOS_21460:~# chdir /etc/cmh-ludl
root@MiOS_21460:/etc/cmh-ludl# ls
D_VistaAlarmPanel1.json.lzo      I_VistaAlarmPanel1.xml.lzo
D_VistaAlarmPanel1.xml.lzo       L_VistaAlarmPanel1.lua.lzo
D_VistaAlarmPartition1.json.lzo  S_AlarmPartition2.xml.lzo
D_VistaAlarmPartition1.xml.lzo   S_VistaAlarmPanel1.xml.lzo
root@MiOS_21460:/etc/cmh-ludl#
so, when i restart ludl and refresh browser... the device i created just does not have a numpartitions field, which prevents the child partition from ever getting created...
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: guessed on November 16, 2011, 12:06:39 am
What Firmware version are you on?

@mcvflorin mentioned the other day that they'd introduced a file-upload problem into some of the later releases where ".lua" files were compressed (and in UI4, they should NOT be compressed).

See the reference here:
    http://forum.mios.com/index.php/topic,7750.msg53642.html#msg53642

Anyhow, I see that the one .lua file from this Plugin is compressed, and has the .lzo extension (the convention for pluto-lzo compressed files).  So my "next guess" is that you're running 1350 (or near-to), have the problem outlined in the post I've linked.

If this is the case, then you can probably fix the file-upload function, per the post, and re-upload.  If you want to do it manually, you can run:

Code: [Select]
    pluto-lzo d L_VistaAlarmPanel1.lua.lzo L_VistaAlarmPanel1.lua
and it'll decompress it (leaving the other file there also).


Of course, I could be completely wrong, but the next steps involve getting snippets of your /var/log/cmh/LuaUPnP.log file during the startup sequence (after any "Save" operation, no need to constantly rebuild) and look at it for hints of what's really going wrong.  8)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on November 16, 2011, 02:14:35 am
Hi Kevin,

guessed is correct, it's very likely that the reason for the Startup Lua failed message is that the Lua file is compressed. After replacing the old upload_upnp_file.sh (or decompressing the existing Lua file as per guessed's instructions), restart Luup and reload the Vera UI.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinmrichardson on November 16, 2011, 06:37:58 am
fixed!!! thank you all... I am running 1350... I pluto'd the lua file as recommended and also removed the unwanted compressed lua.lzo file, restarted luup and presto... it asked me for the number of partitions, built the child device partition and let me enter keypad addresses!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: dratifk on November 16, 2011, 07:15:59 am
Glad to hear it you got it working. I knew someone would help you more than I could. This hobby sure has a learning curve. My neighbor spent 25K for high end crestron automation system. My system is less than 2K and I can do pretty much everything he can.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: realbass1 on November 16, 2011, 11:58:32 pm
It's almost as if the partition is recreated or something- When it loses the keypad addresses, all of my notifications are deleted as well.

Does it happen at every Luup restart, or randomly?

It doesn't seem to happen at _every_ luup restart. I just loaded the plugin files again to see if something was corrupted during the upload. Still having the same issue. I'm going to try to get you some verbose logs the next time it happens. Thanks @mvcflorin
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: realbass1 on November 17, 2011, 12:55:16 am
@MCVFlorin
Attached are snippets from my log that seem relevant. Let me know if you need something else. Thanks!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on November 17, 2011, 05:59:12 am
@realbass1

I see that you are using an experimental version of the plugin, which was never finished. Please use the files from the attachment and let me know if you still have that problem.

Edit: It seems that all the attachment names are broken, at least for me. If you see index.php instead of the real name, rename it to something.zip.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: realbass1 on November 17, 2011, 11:36:33 am
@realbass1

I see that you are using an experimental version of the plugin, which was never finished. Please use the files from the attachment and let me know if you still have that problem.

Edit: It seems that all the attachment names are broken, at least for me. If you see index.php instead of the real name, rename it to something.zip.
Thank you @MCVFlorin. I don't know how I would have gotten that version of the plugin (I downloaded everything from http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/wiki/UI4 (http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/wiki/UI4)). I'll push these files up and let you know if there are any issues in the next few hours. Thank you again!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on November 17, 2011, 11:54:10 am
Yeah, those URLs pointed to the wrong files, sorry for that. I modified them to point to the correct files (version 2.32).
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: realbass1 on November 18, 2011, 12:04:40 am
Yeah, those URLs pointed to the wrong files, sorry for that. I modified them to point to the correct files (version 2.32).

Not a problem. It looks like it did the trick! Thank you much!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on November 18, 2011, 10:29:51 am
@wseverino

Did you try the new 2.32 version of the plugin? Does it still slow down you Vera?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: wseverino on November 18, 2011, 11:28:32 am
@MCVFlorin - So far so good with 2.32.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on November 19, 2011, 02:50:28 pm
I upgraded to 2.32 and it's not working. I don't see any status. See attached .jpg. I didn't change anything other than upload the new files from here http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser/trunk

***UPDATE*** I uploaded the zip files from @mcvflorin's post above (renamed it and included".zip" in the filename when saving) and that did the trick.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: rhoba on November 20, 2011, 06:42:31 pm
I need to upgrade my old Moose Z1100 security system was looking at the Honeywell Ademco Vista 21iP, which comes with an IP port (although I'm not sure how general purpose it is).

In my research I discovered Z-wave and the vera3 which looks very attractive.  Then I discovered all the great work that you folks in this panel have been doing integrating the Vista 20 with with the Vera2 via the AD2USB adapter.  So I have some fundamental questions, perhaps one of you would be kind to answer:

1) It appears that most of the security sensors and switches are available with Z-wave (but requiring batteries).   If I bought the Vira3 + appropriate sensors would a Vista20/21ip even be required?

2) If I purchased the Vira3 + Vista-21iP, does the IP port buy me anything?  Or would I still need the AD2USB adapter?   

3) I am a software developer, but so far unfamiliar with the MiOS / Lua / Luup development environments.   Any comments on how difficult (or easy) you find these environments to work in would be appreciated.

Thanks
   
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: dfad1469 on November 20, 2011, 09:28:50 pm
1) Technically, no it would not be required. However, realistically, it is much easier to use an alarm system as an alarm system, and just have it send notifications to Vera. Anytime anything happens with my alarm system (arming, door opening, motion sensor, etc.) it notifies Vera. So the alarm system senors are just as good as Z-Wave, and much cheaper. Plus, I trust my alarm panel to protect my house much more than my Vera.

2) I believe the IP port is to hook up to Honeywell's proprietary system. To hook up at Vista-21ip panel you would still need an AD2USB adapter.

3) MiOS/Lua/Luup is a bit of a pain to work in compared to other established environments (Visual Studio, Eclipse, etc.). There is very little in the way of debug support and everything is trial and error. That is coupled with the fact that the Luup library is sparsely documented (slowly getting better due to user docs, not manufacturer ones) and some of the interfaces are not well thought out (see my previous posts on their IO read/write weirdness). I have written a few plugins, so it can be done, but to answer you question, its a bit clumsy to use.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: rhoba on November 20, 2011, 10:40:50 pm
@dfad1469

Thank you!

One more question, a bit more philosophical :)

I gather that the adapter software you are developing here emulates a keypad and then receives/interprets/sends messages to/from the Vista Control Panel.   So how much reverse engineering, guesswork and trial & error is necessary?  Are these messages relatively "standardized"?  Intercepting/emulating proprietary internal communications can sometimes be challenging as the manufacturer may not be very cooperative... and could make changes to the interface in the future that could make things very difficult (e.g. encryption).    Any thoughts as to how fragile this solution will be?

Thanks again!




 

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on November 21, 2011, 03:20:03 am
Are these messages relatively "standardized"?

The AD2USB offers a good panel abstraction, so I didn't have to handle different panels differently. As to how easy/difficult it was to achieve that, this is a question for Sean (the maker of the AD2USB).
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on November 22, 2011, 02:17:07 pm
Version 2.4 is up for beta testing, and can be downloaded here:
http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser/trunk (http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser/trunk)

New in this version compared to 2.22:
+ Added 'Cheat Sheet' with the zone list and their labels.
+ Added creation of child devices for all the zones in the cheat sheet. When a zone is faulted, the device becomes tripped. This means that the zones can be used in events.
+ Added connection status monitoring, and an event for when the connection is down.
+ Added possibility to choose between Secure Storage and Insecure Storage for the PIN code. In the Insecure Storage mode the PIN code is stored in a file and it can be used for every action, not only to get the faulted zones. This is more convenient but it less secure.
* Now NumPartitions is 1 by default and the plugin won't complain that this variable is not set.
* Optimized the code.
- Removed faulted zones list (FaultedZones variable).

Limitations: To bypass a zone at panel level you still have to use the Bypass Zones field, bypassing the zone device won't bypass it at panel level. That's because unbypassing a zone is done by disarming the panel, and this has the potential to confuse the user and/or cause problems.

I attached some screenshots of the plugin.

Note #1: I recommend making a backup of the Zones variable after you finish adding all the zones, so you won't have to create the list again in case this variable is deleted.

Note #2: The firmware the plugin was installed on was in Spanish. Too lazy to put an English firmware on that box.  ;D
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on November 22, 2011, 03:27:48 pm
@mcvflorin,
Great work!  I'm really excited to take advantage of the child devices for use in events.  Also, thanks for the communication status indication...that seemed to get a lot of people when they unplug the AD2USB for adding other devices.  However, IMO, I don't think it should be displayed so prominently when there is not a problem.  Could it just be hidden when everything is good and displayed when the connection is down?  Not trying to nit pick...just my 2 cents.  I am very appreciative of the work you've put into this plugin.  Again, great work!

In reference to the cheat sheet and "Zones" variable I have a couple of observations/questions: 
1. The cheat sheet never seems to load when clicking on it for the first time (blank "Zones" variable?). 
2. I had a previous beta version (trunk-36) installed and had already started creating my cheat sheet.  It seems that after upgrading to trunk-38, I now have to start over.  Actually, it appears that you may have changed the variable name from "ZoneLabels" to just "Zones".  If that is the case, no biggy on recreating the list but I would like to know how to get rid of the "ZoneLabels" variable if possible?

One more thing.  What happened to the "FaultedZones" variable?  I was using it in my luup code (with plugin v2.22) but the variable doesn't appear to exist in the latest version.  Is there another way/variable that I can use to determine which zone triggered an alarm from luup code?

Thanks,
kbmcguire

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on November 23, 2011, 01:22:26 am
Could it just be hidden when everything is good and displayed when the connection is down?
That's easy to modify.

1. The cheat sheet never seems to load when clicking on it for the first time (blank "Zones" variable?). 
Yeah, that's a MiOS UI limitation. Hopefully this will be fixed in UI5.

I would like to know how to get rid of the "ZoneLabels" variable if possible?
You can get rid of it either by reinstalling the plugin or by modifying the user_data (http://forum.micasaverde.com/index.php/topic,8314.msg53832.html#msg53832).

One more thing.  What happened to the "FaultedZones" variable?  I was using it in my luup code (with plugin v2.22) but the variable doesn't appear to exist in the latest version.  Is there another way/variable that I can use to determine which zone triggered an alarm from luup code?
I removed this variable as I thought that there's no use for it anymore. I'll modify the plugin to store the zone that triggered the alarm in a state variable.

Edit: I added AlarmZone variable which stores the zone that triggered the alarm. I also modified the UI a bit.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on November 23, 2011, 07:49:51 am

@mcvflorin,
Thanks for putting the AlarmZone variable in but without the FaultedZones variable, how is someone to know what zone is preventing the alarm from being "Ready"?  What if I am trying to arm my system remotely but a sensor is bad and I want to bypass it, how would I know which zone to bypass?  I guess what I am saying is that I kinda liked the FaultedZones being displayed on the UI tile from version 2.22.  Is there another way we can display such information somewhere in the UI?

Also, as a test I unplugged the AD2USB adapter... nothing happened, no message and the ConnectionDown variable stayed at 0.  If I reboot I will get an I/O warning message in the top left of the dashboard but nothing on the alarm UI tiles.  In other words, same as before...Everything appears normal but interface not working.  Once I try to initiate a command, then I get the "Connection Down" message in the top left corner of the dashboard but I didn't see it at first because I was scrolled down the page.  I still think we need an indication somewhere on the alarm UI tiles, I just didn't think it was necessary to display "Connection Down: 0" when everything was good.

Thanks,
kbmcguire
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on November 23, 2011, 10:13:44 am
I haven't installed the 2.4 files yet but can the "Connection Down" status be used as a trigger?

@mcvflorin,
Are all the new files UI5 ready?

JOD.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on November 23, 2011, 10:19:42 am
I haven't installed the 2.4 files yet but can the "Connection Down" status be used as a trigger?

Yes @JOD, There is an event now for "Connection Down".

kbmcguire
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on November 23, 2011, 11:14:36 am
Thanks @kbmcguire.

I have to say, this is my favorite plugin to date!

Side note.
So I have events for all the possible keypad scenario's.  Armed, Disarmed, Stay, Away, Instant  etc...(except ConnectionDown)

In the event of an Alarm, I have a scene that should be flashing my exterior lights. However, the lights come on, cycle once and stay on. I'm guessing the Alarm event is being sent twice? (which would stop the code and leave the lights on)

I'm now going to replace that code and use Ap15e's code for the "Blinking X-Mas tree"
http://forum.micasaverde.com/index.php/topic,5127.msg28520.html#msg28520

JOD.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shahhim on November 23, 2011, 12:56:45 pm
What should I do to load the cheat sheet ? Its not loading
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on November 23, 2011, 01:00:42 pm
What should I do to load the cheat sheet ? Its not loading
Just select another tab, then go back to the cheat sheet tab.  It should load the 2nd time. 

It's a limitation of Mios according to @mcvflorin:
Yeah, that's a MiOS UI limitation. Hopefully this will be fixed in UI5.

kbmcguire
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shahhim on November 23, 2011, 01:20:03 pm
Tried other tabs a couple of times. Reloaded everything, still not loading
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on November 23, 2011, 01:30:00 pm

@shahhim,
Are you seeing a progress bar that continuously scrolls from left to right?  That is what I was getting the first time I clicked on the cheat sheet tab but the look could be browser dependant, I use Firefox. 

Also, did you upload the J_VistaAlarmPanel1.js file?  This is a javascript file that appears to be responsible for creating the cheat sheet.  I would also make sure your browser isn't blocking javascript from running and maybe try a different browser.

Hope this helps.

kbmcguire
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shahhim on November 23, 2011, 02:23:34 pm
Thanks @kbmcguire
@mcvflorin - you have done a great job !
I reloaded  J_VistaAlarmPanel1.js  but still unable to load the cheat sheet. Yes, I can see a progress bar that continuously scrolls from left to right but nothing happens even if I go to another tab and come back. I am planning to try another browser + recreate the device from scratch later today, when I am at home.
Regarding downloading all the 9 files, I went to the trunk @39, opened each file and selected "Original Format" at the bottom from the two options [Download in other formats:
Plain Text or Original Format ] and saved on my desktop. I just want to make sure that I am downloading it the right way or Is there any other way of downloading ? Once I used :"Save as" and it uploaded X_XxxxxXxxxx1.mht file format which obviously did not work and now I dont know how to remove those uploaded files from luup files
Thanks for the help
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on November 23, 2011, 02:34:21 pm

@shahhim,
Here is how I've been doing it and it seems to be working.  I download the trunk files as a zip file, then unzip them on my computer and upload them to Vera all at once.  Note: I upload all 9 files even if some of them aren't updated.

To download all the files as a zip file at once, look to the bottom of the main trunk @39 page and click on "Zip Archive" below where it says "Download in other formats".

kbmcguire
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on November 24, 2011, 05:10:40 am
Without the FaultedZones variable, how is someone to know what zone is preventing the alarm from being "Ready"?

Well, the zones have their own devices (motions sensors) so you can see which is tripped. I also modified the plugin to append the zone number at the name. See attached picture.

Also, as a test I unplugged the AD2USB adapter... nothing happened, no message and the ConnectionDown variable stayed at 0.

To find if the connection is up or down, the plugin records the last time it received a message. If it hasn't received any message for more than a minute, it considers the connection down. The recorded time was checked every 5 minutes. I modified the plugin so now this is a configurable parameter (CheckConnectionTimer). Also I reduced the default value to 3 minutes.

I still think we need an indication somewhere on the alarm UI tiles, I just didn't think it was necessary to display "Connection Down: 0" when everything was good.

You can create a virtual switch that will turn on when the connection is down.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on November 24, 2011, 05:15:49 am
Are all the new files UI5 ready?

Not yet, I wanted to make sure that the plugin is good enough before porting it to UI5.

I'm guessing the Alarm event is being sent twice? (which would stop the code and leave the lights on)

The Alarm variable is set to Active only once. I don't know why or if the event is triggered twice. You can look in the logs to see if the event is evaluated twice.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shahhim on November 24, 2011, 12:21:47 pm
Uploaded all 9 files couple of times. Created device couple of times(using all the steps including key pad addresss and Serial port configuration. Still unable to load cheat sheet !!!!
Status on partition changed to "not ready" once. Now status does not update, even if i trip a different sensor
Able to arm/disarm from UI4
Since this problem is persisting, I am thinking DO I NEED TO GO IN AND DELETE ALL 9 FILES OR OVERWRITING SHOULD BE   ENOUGH
Need Help !!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on November 24, 2011, 12:37:42 pm
Hi shahhim,

Overwriting should be enough. What browser do you use? If you use Firefox you can use the FireBug extension to find why the cheat sheet isn't loading. But first, just to be sure, delete all the 9 files from Vera and re-upload them.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shahhim on November 24, 2011, 12:58:13 pm
Thanks mcvflorin,
Browser: Internet explorer. Is Firefox better ? If so, I will download it and use it.
When you say " delete all the 9 files from Vera" - Do you mean, log on to vera using putty, go to /etc/cmh-ludl, locate each file and delete them(because, I think that is the only way to delete them from Vera) and upload again  or you mean delete from my computer, re-download and upload again ?? I just want to be sure before I do anything.

Thanks
shahhim
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on November 24, 2011, 01:32:37 pm
Yes, you must log on to Vera using PuTTY, this is the only way to delete the files. Actually there is another way using Lua, but it's safer to delete them from the console.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shahhim on November 24, 2011, 02:08:39 pm
THANKS MCVFLORIN
Deleted all files from Vera. To be on the safe side downloaded Firefox. Uploaded all 9 files through Firefox
And IT'S WORKING !!!
Very excited to be able to use all the sensors to trigger events !!
Thanks again
shahhim
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on November 27, 2011, 04:27:06 pm
@mcvflorin,
I've noticed that the partition status isn't updating to "Not Ready" whenever a zone is faulted.  The zone shows faulted within seconds but the status will still show "Ready".  I can force it to update if I send a disarm command, even thought the system wasn't armed.

I'm at version 2.4 (Trunk 39).

Thanks,
kbmcguire
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on November 28, 2011, 02:43:46 am
Can you enable DebugMode on the plugin and have a look at the logs, or send me captures from the logs when this happens (only the lines starting with 50 and 52)?

Thanks.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on November 28, 2011, 07:51:42 am
Should be fixed in revision 41. You only need to replace the Lua file. Please try it and let me know if this still happens.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on November 28, 2011, 08:04:52 am
Updated files to the latest trunk (41).  Looks better!  I'll let you know if I have any more issues.

Thanks,
kbmcguire
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on November 28, 2011, 08:11:15 am
By the way, I recommend disabling the DebugMode for the plugin when not debugging, as it's pouring a lot of data into the LuaUPnP.log file.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on November 28, 2011, 04:00:20 pm
Hi mcvflorin,

Any possibility in the near future to add detection for specific faults to trigger events? This would be a great feature so we can all utilize our existing sensors! Let us know..

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on November 28, 2011, 04:03:33 pm
Hi mcvflorin,

Any possibility in the near future to add detection for specific faults to trigger events? This would be a great feature so we can all utilize our existing sensors! Let us know..



Already implemented in the latest beta version of the plugin.  You can get it here: http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser/trunk (http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser/trunk)

kbmcguire
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: wseverino on November 28, 2011, 09:51:28 pm
Lesson learned for the day! When you go into the trunk don't right click on the file name and do a save as.......

I struggled for the last 2 days on the upgrade and found out that it corrupts the files. Best bet is to click on the file name and open up the code so you see it in the SVN repository. Then click the download it in original format at the bottom of the page.

Feel like a real DA!!!

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on November 29, 2011, 07:24:03 am
Downloading as a zip file works good for me and it's quicker than saving each file individually.  Just click the Zip Archive link at the bottom of the main trunk page.  ;)

kbmcguire
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: wseverino on November 29, 2011, 09:57:49 am
Now ya tell me!!!! LMAO! ;D
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on November 29, 2011, 03:26:26 pm
V3/UI5 rev: 2.22

Event trigger:
Armed detailed state:
Device is disarmed.

Does not trigger.

JOD.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on November 29, 2011, 04:20:03 pm
Great feature updates! Few questions:

New in this version compared to 2.22:
+ Added 'Cheat Sheet' with the zone list and their labels. Shep29 --> I had to input my zone list. Is that normal or should it populate itself?
+ Added possibility to choose between Secure Storage and Insecure Storage for the PIN code. In the Insecure Storage mode the PIN code is stored in a file and it can be used for every action, not only to get the faulted zones. This is more convenient but it less secure. Shep 29 --> Where do you make this election?

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on November 30, 2011, 03:58:55 am
@JOD

I uploaded version 2.41 on UI5 marketplace, you should give it a try.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on November 30, 2011, 05:00:21 am
I had to input my zone list. Is that normal or should it populate itself?[/b]
It won't populate itself, so that's normal.

Where do you make this selection? [/b]
In the alarm panel device, Advanced tab. It's a variable called SecureStore.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on November 30, 2011, 08:55:23 am
@JOD
I uploaded version 2.41 on UI5, you should give it a try.
Download from the MM?

JOD.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on November 30, 2011, 09:03:59 am
My previous message was confusing, sorry for that  ;D. I corrected it.

Install the plugin normally, from Apps >> Install Apps.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: dratifk on November 30, 2011, 03:32:19 pm
In the Variable SecureStore. What do you put to make the password store? Default is 0 do you make it 1?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on November 30, 2011, 04:16:57 pm
Quote
+ Added possibility to choose between Secure Storage and Insecure Storage for the PIN code
Suggestion: "Insecure Storage" be renamed Unsecured Storage?
It's petty I know...

JOD.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: nas4a on November 30, 2011, 08:55:03 pm
First, as a relative newbie, this is AMAZING WORK.  I installed my AD2USB last night and got it working via PC, then transferred that to the Vera just now.  Very neat. 

I have an Ademco Vista 10SE - I'm assuming that the status updates are still not available on the 10SE?  I'm not seeing any, and reading the thread, I saw no indication that this had been fixed for a 10SE/address 31.  Can anyone confirm?

Thanks again for sharing your hard work!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on November 30, 2011, 09:34:17 pm
@JOD

I uploaded version 2.41 on UI5 marketplace, you should give it a try.
Downloaded 2.41 from the MM but now displaying an error. 'No keypad address assigned to partition 1."

The address was assigned prior to the upgrade and was still there after. Removed the address and saved. Now displaying two error messages.
Added the address back and saved, now only a single error message "No keypad address assigned to partition 1."
 
System is functional albeit with the error.

JOD.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on December 01, 2011, 03:15:46 am
mcvflorin,

I realize the zone tiles show the red guy as tripped even though it's been cleared/armed. Can you make it so that it resets all tiles since arming it must mean that all sensors are cleared and ready?

Other than that, awesome job. My favorite plug-in by far.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on December 01, 2011, 05:03:29 am
In the Variable SecureStore. What do you put to make the password store? Default is 0 do you make it 1?

Yes.

Suggestion: "Insecure Storage" be renamed Unsecured Storage?

AFAIK insecure and unsecured have different meanings:
Quote from: Wiktionary
insecure = not secure
unsecured = not secured
In this case I meant not secure storage.

I have an Ademco Vista 10SE - I'm assuming that the status updates are still not available on the 10SE?  I'm not seeing any, and reading the thread, I saw no indication that this had been fixed for a 10SE/address 31.

I haven't tested it on a Vista 10SE, but AFAIK it should work if it's properly configured.

Added the address back and saved, now only a single error message "No keypad address assigned to partition 1."

You can enable DebugMode and look into the logs to find what's happening, or give me the logs to investigate.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: wseverino on December 01, 2011, 07:45:14 am
Florin - I can confirm that it does work on the 10SE as I have one.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Floor61 on December 01, 2011, 09:20:39 am
Florin - I can confirm that it does work on the 10SE as I have one.

Thanks for the heads up.  I was able to get general status updates to show, i.e. it will show READY, STAY, AWAY, etc...but I don't get zone-specific faults.  I.e. Fault - Zone 4, etc.  Should it show those as well?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on December 01, 2011, 10:16:38 am
If you have a newer plugin version (2.4+) then you must add the zones in the Cheat Sheet, and the plugin will create a device for each zone in the Cheat Sheet.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on December 01, 2011, 10:20:48 am

AFAIK insecure and unsecured have different meanings:
Quote from: Wiktionary
insecure = not secure
unsecured = not secured
In this case I meant not secure storage.
Insecure = not secure (when referring to feelings and emotions)
Unsecured = not secure / not secured (when referring to protection)


Quote
You can enable DebugMode and look into the logs to find what's happening, or give me the logs to investigate.
Code: [Select]
50 12/01/11 9:49:31.896 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '[0100000110000000----],001,[f70000008001000c2c000000000000],"ARMED ***AWAY***** ALL SECURE **"'. <0x2d536680>
50 12/01/11 9:49:31.897 luup_log:180: (VistaAlarmPanel::getStatusFlags) Active flags: ARMED_AWAY, CHIME_MODE <0x2d536680>
50 12/01/11 9:49:31.898 luup_log:180: (VistaAlarmPanel::getPartitionState) Got Alarm='None' for partition 1 (device #189). <0x2d536680>
50 12/01/11 9:49:31.898 luup_log:180: (VistaAlarmPanel::getPartitionState) Got ArmMode='Armed' for partition 1 (device #189). <0x2d536680>
50 12/01/11 9:49:31.899 luup_log:180: (VistaAlarmPanel::getPartitionState) Got DetailedArmMode='Armed' for partition 1 (device #189). <0x2d536680>



52 12/01/11 9:49:43.055 0x5b 0x30 0x31 0x30 0x30 0x30 0x30 0x30 0x31 0x31 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x2d 0x2d 0x2d 0x2d 0x5d 0x2c 0x30 0x30 0x31 0x2c 0x5b 0x66 0x37 0x30 0x30 0x30 0x30 0x30 0x30 0x38 0x30 0x30 0x31 0x30 0x30 0x30 0x63 0x32 0x63 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x5d 0x2c 0x22 0x41 0x52 0x4d 0x45 0x44 0x20 0x2a 0x2a 0x2a 0x41 0x57 0x41 0x59 0x2a 0x2a 0x2a 0x2a 0x2a 0x20 0x41 0x4c 0x4c 0x20 0x53 0x45 0x43 0x55 0x52 0x45 0x20 0x2a 0x2a 0x22 ([0100000110000000----],001,[f70000008001000c2c000000000000],"ARMED ***AWAY***** ALL SECURE **") <0x2d536680>
50 12/01/11 9:49:43.056 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '[0100000110000000----],001,[f70000008001000c2c000000000000],"ARMED ***AWAY***** ALL SECURE **"'. <0x2d536680>
50 12/01/11 9:49:43.057 luup_log:180: (VistaAlarmPanel::getStatusFlags) Active flags: ARMED_AWAY, CHIME_MODE <0x2d536680>
50 12/01/11 9:49:43.057 luup_log:180: (VistaAlarmPanel::getPartitionState) Got Alarm='None' for partition 1 (device #189). <0x2d536680>
50 12/01/11 9:49:43.058 luup_log:180: (VistaAlarmPanel::getPartitionState) Got ArmMode='Armed' for partition 1 (device #189). <0x2d536680>
50 12/01/11 9:49:43.058 luup_log:180: (VistaAlarmPanel::getPartitionState) Got DetailedArmMode='Armed' for partition 1 (device #189). <0x2d536680>

JOD.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on December 01, 2011, 10:35:16 am
As I can see from the logs you posted, indeed it works OK. But to find why it gives the no keypad error message, you must watch the logs during the plugin startup. Look for a message that looks like this:
(VistaAlarmPanel::getKeypadPartitions) Got these addresses: ..., for partition 1.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on December 01, 2011, 11:25:25 am
Code: [Select]
50 12/01/11 11:05:45.577 luup_log:180: Honeywell Ademco Vista Alarm Panel Plugin version 2.41 <0x2b491680>
50 12/01/11 11:05:45.578 luup_log:180: (VistaAlarmPanel::getDebugMode) Debug mode disabled. <0x2b491680>
50 12/01/11 11:05:45.579 luup_log:180: (VistaAlarmPanel::getNumPartitions) Number of partitions = 1. <0x2b491680>
50 12/01/11 11:05:45.592 luup_log:180: (VistaAlarmPanel::getKeypadPartitions) Got these addresses: 31, for partition 1. <0x2b491680>
50 12/01/11 11:05:45.593 luup_log:180: (VistaAlarmPanel::getStoreMode) Secure store disabled. <0x2b491680>
50 12/01/11 11:05:45.594 luup_log:180: (VistaAlarmPanel::getTtl) TTL = 60. <0x2b491680>
50 12/01/11 11:05:45.600 luup_log:180: (VistaAlarmPanel::getCheckConnectionDelay) Check connection delay = 180. <0x2b491680>
50 12/01/11 11:05:45.602 luup_log:180: (VistaAlarmPanel::main) SUCCESS: Startup successful. <0x2b491680>
50 12/01/11 11:05:45.989 luup_log:219: Honeywell Ademco Vista Alarm Panel Plugin version 2.41 <0x2b491680>
50 12/01/11 11:05:45.990 luup_log:219: (VistaAlarmPanel::getDebugMode) Debug mode disabled. <0x2b491680>
50 12/01/11 11:05:45.991 luup_log:219: (VistaAlarmPanel::getNumPartitions) Number of partitions = 1. <0x2b491680>
50 12/01/11 11:05:45.995 luup_log:219: (VistaAlarmPanel::getKeypadPartitions) Got these addresses: , for partition 1. <0x2b491680>
50 12/01/11 11:05:45.995 luup_log:219: (VistaAlarmPanel::getKeypadPartitions) ERROR: No keypad for partition 1. Terminate. <0x2b491680>
50 12/01/11 11:05:48.977 luup_log:180: (VistaAlarmPanel::processIncoming) ERROR: Invalid message. <0x2d1b1680>
50 12/01/11 11:09:47.180 luup_log:180: Honeywell Ademco Vista Alarm Panel Plugin version 2.41 <0x2b685680>
50 12/01/11 11:09:47.181 luup_log:180: (VistaAlarmPanel::getDebugMode) Debug mode enabled. <0x2b685680>
50 12/01/11 11:09:47.182 luup_log:180: (VistaAlarmPanel::getNumPartitions) Number of partitions = 1. <0x2b685680>
50 12/01/11 11:09:47.182 luup_log:180: (VistaAlarmPanel::appendPartitions) Appending partition #1. <0x2b685680>
50 12/01/11 11:09:47.183 luup_log:180: (VistaAlarmPanel::appendZones) Appending zone #1. <0x2b685680>
50 12/01/11 11:09:47.193 luup_log:180: (VistaAlarmPanel::appendZones) Appending zone #2. <0x2b685680>
50 12/01/11 11:09:47.194 luup_log:180: (VistaAlarmPanel::appendZones) Appending zone #3. <0x2b685680>
50 12/01/11 11:09:47.195 luup_log:180: (VistaAlarmPanel::appendZones) Appending zone #4. <0x2b685680>
50 12/01/11 11:09:47.196 luup_log:180: (VistaAlarmPanel::appendZones) Appending zone #5. <0x2b685680>
50 12/01/11 11:09:47.197 luup_log:180: (VistaAlarmPanel::appendZones) Appending zone #6. <0x2b685680>
50 12/01/11 11:09:47.204 luup_log:180: (VistaAlarmPanel::getChildDevices) Partition 1 device number = 189. <0x2b685680>
50 12/01/11 11:09:47.205 luup_log:180: (VistaAlarmPanel::getChildDevices) Zone #1 device number = 221, name = 'Zone #1 - . <0x2b685680>
50 12/01/11 11:09:47.206 luup_log:180: (VistaAlarmPanel::getChildDevices) Zone #2 device number = 222, name = 'Zone #2 - . <0x2b685680>
50 12/01/11 11:09:47.206 luup_log:180: (VistaAlarmPanel::getChildDevices) Zone #3 device number = 223, name = 'Zone #3 - . <0x2b685680>
50 12/01/11 11:09:47.207 luup_log:180: (VistaAlarmPanel::getChildDevices) Zone #4 device number = 224, name = 'Zone #4 - . <0x2b685680>
50 12/01/11 11:09:47.207 luup_log:180: (VistaAlarmPanel::getChildDevices) Zone #5 device number = 225, name = 'Zone #5 - . <0x2b685680>
50 12/01/11 11:09:47.208 luup_log:180: (VistaAlarmPanel::getChildDevices) Zone #6 device number = 226, name = 'Zone #6 - . <0x2b685680>
50 12/01/11 11:09:47.208 luup_log:180: (VistaAlarmPanel::getKeypadPartitions) Got these addresses: 31, for partition 1. <0x2b685680>
50 12/01/11 11:09:47.209 luup_log:180: (VistaAlarmPanel::getStoreMode) Secure store disabled. <0x2b685680>
50 12/01/11 11:09:47.210 luup_log:180: (VistaAlarmPanel::getTtl) TTL = 60. <0x2b685680>
50 12/01/11 11:09:47.213 luup_log:180: (VistaAlarmPanel::getCheckConnectionDelay) Check connection delay = 180. <0x2b685680>
50 12/01/11 11:09:47.215 luup_log:180: (VistaAlarmPanel::main) SUCCESS: Startup successful. <0x2b685680>
50 12/01/11 11:09:47.570 luup_log:219: Honeywell Ademco Vista Alarm Panel Plugin version 2.41 <0x2b685680>
50 12/01/11 11:09:47.571 luup_log:219: (VistaAlarmPanel::getDebugMode) Debug mode disabled. <0x2b685680>
50 12/01/11 11:09:47.571 luup_log:219: (VistaAlarmPanel::getNumPartitions) Number of partitions = 1. <0x2b685680>
50 12/01/11 11:09:47.575 luup_log:219: (VistaAlarmPanel::getKeypadPartitions) Got these addresses: , for partition 1. <0x2b685680>
50 12/01/11 11:09:47.575 luup_log:219: (VistaAlarmPanel::getKeypadPartitions) ERROR: No keypad for partition 1. Terminate. <0x2b685680>
50 12/01/11 11:09:50.601 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = ' <0x2d3a5680>
50 12/01/11 11:09:50.601 luup_log:180: (VistaAlarmPanel::processIncoming) ERROR: Invalid message. <0x2d3a5680>
50 12/01/11 11:09:54.678 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '[0001000110000000----],001,[f70000008001000028000000000000],"FAULT 01 ZONE 01                "'. <0x2d3a5680>
50 12/01/11 11:09:54.678 luup_log:180: (VistaAlarmPanel::getStatusFlags) Active flags: CHIME_MODE <0x2d3a5680>
50 12/01/11 11:09:54.680 luup_log:180: (VistaAlarmPanel::getPartitionState) Got ArmMode='Disarmed' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:09:54.681 luup_log:180: (VistaAlarmPanel::getPartitionState) Got DetailedArmMode='NotReady' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:09:54.681 luup_log:180: (VistaAlarmPanel::addFaultedZone) Zone #1 TTL = 60 <0x2d3a5680>
50 12/01/11 11:09:54.683 luup_log:180: (VistaAlarmPanel::addFaultedZone) Set zone #1 to tripped. <0x2d3a5680>
50 12/01/11 11:09:58.686 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '[0001000110000000----],001,[f70000008001000028000000000000],"FAULT 01 ZONE 01                "'. <0x2d3a5680>
50 12/01/11 11:09:58.686 luup_log:180: (VistaAlarmPanel::getStatusFlags) Active flags: CHIME_MODE <0x2d3a5680>
50 12/01/11 11:09:58.688 luup_log:180: (VistaAlarmPanel::getPartitionState) Got ArmMode='Disarmed' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:09:58.689 luup_log:180: (VistaAlarmPanel::getPartitionState) Got DetailedArmMode='NotReady' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:09:58.689 luup_log:180: (VistaAlarmPanel::addFaultedZone) Zone #1 TTL = 60 <0x2d3a5680>
50 12/01/11 11:10:02.696 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '[0001000110000000----],001,[f70000008001000028000000000000],"FAULT 01 ZONE 01                "'. <0x2d3a5680>
50 12/01/11 11:10:02.697 luup_log:180: (VistaAlarmPanel::getStatusFlags) Active flags: CHIME_MODE <0x2d3a5680>
50 12/01/11 11:10:02.699 luup_log:180: (VistaAlarmPanel::getPartitionState) Got ArmMode='Disarmed' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:10:02.700 luup_log:180: (VistaAlarmPanel::getPartitionState) Got DetailedArmMode='NotReady' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:10:02.701 luup_log:180: (VistaAlarmPanel::addFaultedZone) Zone #1 TTL = 60 <0x2d3a5680>
50 12/01/11 11:10:06.726 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '[0001000110000000----],001,[f70000008001000028000000000000],"FAULT 01 ZONE 01                "'. <0x2d3a5680>
50 12/01/11 11:10:06.726 luup_log:180: (VistaAlarmPanel::getStatusFlags) Active flags: CHIME_MODE <0x2d3a5680>
50 12/01/11 11:10:06.728 luup_log:180: (VistaAlarmPanel::getPartitionState) Got ArmMode='Disarmed' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:10:06.729 luup_log:180: (VistaAlarmPanel::getPartitionState) Got DetailedArmMode='NotReady' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:10:06.729 luup_log:180: (VistaAlarmPanel::addFaultedZone) Zone #1 TTL = 60 <0x2d3a5680>
50 12/01/11 11:10:10.776 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '[0001000110000000----],001,[f70000008001000028000000000000],"FAULT 01 ZONE 01                "'. <0x2d3a5680>
50 12/01/11 11:10:10.777 luup_log:180: (VistaAlarmPanel::getStatusFlags) Active flags: CHIME_MODE <0x2d3a5680>
50 12/01/11 11:10:10.779 luup_log:180: (VistaAlarmPanel::getPartitionState) Got ArmMode='Disarmed' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:10:10.780 luup_log:180: (VistaAlarmPanel::getPartitionState) Got DetailedArmMode='NotReady' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:10:10.781 luup_log:180: (VistaAlarmPanel::addFaultedZone) Zone #1 TTL = 60 <0x2d3a5680>
50 12/01/11 11:10:14.836 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '[0001000110000000----],001,[f70000008001000028000000000000],"FAULT 01 ZONE 01                "'. <0x2d3a5680>
50 12/01/11 11:10:14.837 luup_log:180: (VistaAlarmPanel::getStatusFlags) Active flags: CHIME_MODE <0x2d3a5680>
50 12/01/11 11:10:14.839 luup_log:180: (VistaAlarmPanel::getPartitionState) Got ArmMode='Disarmed' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:10:14.840 luup_log:180: (VistaAlarmPanel::getPartitionState) Got DetailedArmMode='NotReady' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:10:14.840 luup_log:180: (VistaAlarmPanel::addFaultedZone) Zone #1 TTL = 60 <0x2d3a5680>
50 12/01/11 11:10:16.997 luup_log:180: (VistaAlarmPanel::ttlCountdownTimer) Zone #1 TTL = 55 <0x2b685680>
50 12/01/11 11:10:17.000 luup_log:180: (VistaAlarmPanel::sendStar) Send '*' to partition 1. <0x2b685680>
50 12/01/11 11:10:17.126 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '!Sending...done'. <0x2d3a5680>
50 12/01/11 11:10:17.127 luup_log:180: (VistaAlarmPanel::processIncoming) Drop message. <0x2d3a5680>
50 12/01/11 11:10:19.786 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '[0001000110000000----],001,[f70000008001000028000000000000],"FAULT 01 ZONE 01                "'. <0x2d3a5680>
50 12/01/11 11:10:19.787 luup_log:180: (VistaAlarmPanel::getStatusFlags) Active flags: CHIME_MODE <0x2d3a5680>
50 12/01/11 11:10:19.789 luup_log:180: (VistaAlarmPanel::getPartitionState) Got ArmMode='Disarmed' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:10:19.790 luup_log:180: (VistaAlarmPanel::getPartitionState) Got DetailedArmMode='NotReady' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:10:19.790 luup_log:180: (VistaAlarmPanel::addFaultedZone) Zone #1 TTL = 60 <0x2d3a5680>
50 12/01/11 11:10:22.926 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '[0001000110000000----],001,[f70000008001000028000000000000],"FAULT 01 ZONE 01                "'. <0x2d3a5680>
50 12/01/11 11:10:22.927 luup_log:180: (VistaAlarmPanel::getStatusFlags) Active flags: CHIME_MODE <0x2d3a5680>
50 12/01/11 11:10:22.929 luup_log:180: (VistaAlarmPanel::getPartitionState) Got ArmMode='Disarmed' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:10:22.929 luup_log:180: (VistaAlarmPanel::getPartitionState) Got DetailedArmMode='NotReady' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:10:22.930 luup_log:180: (VistaAlarmPanel::addFaultedZone) Zone #1 TTL = 60 <0x2d3a5680>
50 12/01/11 11:10:24.108 luup_log:0: startTime = 805; currentTime = 1110; endTime = 2315 <0x2b485680>
50 12/01/11 11:10:24.112 luup_log:0: startTime = 100; currentTime = 1110; endTime = 2345 <0x2b485680>
50 12/01/11 11:10:26.926 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '[0001000110000000----],001,[f70000008001000028000000000000],"FAULT 01 ZONE 01                "'. <0x2d3a5680>
50 12/01/11 11:10:26.927 luup_log:180: (VistaAlarmPanel::getStatusFlags) Active flags: CHIME_MODE <0x2d3a5680>
50 12/01/11 11:10:26.929 luup_log:180: (VistaAlarmPanel::getPartitionState) Got ArmMode='Disarmed' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:10:26.929 luup_log:180: (VistaAlarmPanel::getPartitionState) Got DetailedArmMode='NotReady' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:10:26.930 luup_log:180: (VistaAlarmPanel::addFaultedZone) Zone #1 TTL = 60 <0x2d3a5680>
50 12/01/11 11:10:29.110 luup_log:180: (VistaAlarmPanel::sendStar) Send '*' to partition 1. <0x2b685680>
50 12/01/11 11:10:29.113 luup_log:180: (VistaAlarmPanel::sendStar) Send '*' to partition 1. <0x2b685680>
50 12/01/11 11:10:29.118 luup_log:180: (VistaAlarmPanel::sendStar) Send '*' to partition 1. <0x2b685680>
50 12/01/11 11:10:29.121 luup_log:180: (VistaAlarmPanel::sendStar) Send '*' to partition 1. <0x2b685680>
50 12/01/11 11:10:29.159 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '!Sending...done'. <0x2d3a5680>
50 12/01/11 11:10:29.159 luup_log:180: (VistaAlarmPanel::processIncoming) Drop message. <0x2d3a5680>
50 12/01/11 11:10:29.215 luup_log:180: (VistaAlarmPanel::sendStar) Send '*' to partition 1. <0x2b685680>
50 12/01/11 11:10:29.219 luup_log:180: (VistaAlarmPanel::sendStar) Send '*' to partition 1. <0x2b685680>
50 12/01/11 11:10:29.222 luup_log:180: (VistaAlarmPanel::ttlCountdownTimer) Zone #1 TTL = 55 <0x2b685680>
50 12/01/11 11:10:29.225 luup_log:180: (VistaAlarmPanel::sendStar) Send '*' to partition 1. <0x2b685680>
50 12/01/11 11:10:29.415 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '!Sending...done'. <0x2d3a5680>
50 12/01/11 11:10:29.416 luup_log:180: (VistaAlarmPanel::processIncoming) Drop message. <0x2d3a5680>
50 12/01/11 11:10:29.696 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '!Sending...done'. <0x2d3a5680>
50 12/01/11 11:10:29.696 luup_log:180: (VistaAlarmPanel::processIncoming) Drop message. <0x2d3a5680>
50 12/01/11 11:10:29.865 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '!Sending...done'. <0x2d3a5680>
50 12/01/11 11:10:29.866 luup_log:180: (VistaAlarmPanel::processIncoming) Drop message. <0x2d3a5680>
50 12/01/11 11:10:30.095 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '!Sending...done'. <0x2d3a5680>
50 12/01/11 11:10:30.095 luup_log:180: (VistaAlarmPanel::processIncoming) Drop message. <0x2d3a5680>
50 12/01/11 11:10:30.335 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '!Sending...done'. <0x2d3a5680>
50 12/01/11 11:10:30.335 luup_log:180: (VistaAlarmPanel::processIncoming) Drop message. <0x2d3a5680>
50 12/01/11 11:10:30.575 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '!Sending...done'. <0x2d3a5680>
50 12/01/11 11:10:30.575 luup_log:180: (VistaAlarmPanel::processIncoming) Drop message. <0x2d3a5680>
50 12/01/11 11:10:31.025 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '[0001000110000000----],001,[f70000008001000028000000000000],"FAULT 01 ZONE 01                "'. <0x2d3a5680>
50 12/01/11 11:10:31.026 luup_log:180: (VistaAlarmPanel::getStatusFlags) Active flags: CHIME_MODE <0x2d3a5680>
50 12/01/11 11:10:31.029 luup_log:180: (VistaAlarmPanel::getPartitionState) Got ArmMode='Disarmed' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:10:31.029 luup_log:180: (VistaAlarmPanel::getPartitionState) Got DetailedArmMode='NotReady' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:10:31.030 luup_log:180: (VistaAlarmPanel::addFaultedZone) Zone #1 TTL = 60 <0x2d3a5680>
50 12/01/11 11:10:31.738 luup_log:180: (VistaAlarmPanel::sendStar) Send '*' to partition 1. <0x2b685680>
50 12/01/11 11:10:31.975 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '!Sending...done'. <0x2d3a5680>
50 12/01/11 11:10:31.975 luup_log:180: (VistaAlarmPanel::processIncoming) Drop message. <0x2d3a5680>
50 12/01/11 11:10:32.005 luup_log:180: (VistaAlarmPanel::sendStar) Send '*' to partition 1. <0x2b685680>
50 12/01/11 11:10:32.205 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '!Sending...done'. <0x2d3a5680>
50 12/01/11 11:10:32.206 luup_log:180: (VistaAlarmPanel::processIncoming) Drop message. <0x2d3a5680>
50 12/01/11 11:10:34.736 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '[0001000110000000----],001,[f70000008001000028000000000000],"FAULT 01 ZONE 01                "'. <0x2d3a5680>
50 12/01/11 11:10:34.736 luup_log:180: (VistaAlarmPanel::getStatusFlags) Active flags: CHIME_MODE <0x2d3a5680>
50 12/01/11 11:10:34.739 luup_log:180: (VistaAlarmPanel::getPartitionState) Got ArmMode='Disarmed' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:10:34.739 luup_log:180: (VistaAlarmPanel::getPartitionState) Got DetailedArmMode='NotReady' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:10:34.740 luup_log:180: (VistaAlarmPanel::addFaultedZone) Zone #1 TTL = 60 <0x2d3a5680>
50 12/01/11 11:10:38.146 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '[0001000110000000----],001,[f70000008001000028000000000000],"FAULT 01 ZONE 01                "'. <0x2d3a5680>
50 12/01/11 11:10:38.147 luup_log:180: (VistaAlarmPanel::getStatusFlags) Active flags: CHIME_MODE <0x2d3a5680>
50 12/01/11 11:10:38.148 luup_log:180: (VistaAlarmPanel::getPartitionState) Got ArmMode='Disarmed' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:10:38.149 luup_log:180: (VistaAlarmPanel::getPartitionState) Got DetailedArmMode='NotReady' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:10:38.149 luup_log:180: (VistaAlarmPanel::addFaultedZone) Zone #1 TTL = 60 <0x2d3a5680>
50 12/01/11 11:10:42.398 luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '[0001000110000000----],001,[f70000008001000028000000000000],"FAULT 01 ZONE 01                "'. <0x2d3a5680>
50 12/01/11 11:10:42.399 luup_log:180: (VistaAlarmPanel::getStatusFlags) Active flags: CHIME_MODE <0x2d3a5680>
50 12/01/11 11:10:42.401 luup_log:180: (VistaAlarmPanel::getPartitionState) Got ArmMode='Disarmed' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:10:42.401 luup_log:180: (VistaAlarmPanel::getPartitionState) Got DetailedArmMode='NotReady' for partition 1 (device #189). <0x2d3a5680>
50 12/01/11 11:10:42.402 luup_log:180: (VistaAlarmPanel::addFaultedZone) Zone #1 TTL = 60 <0x2d3a5680>
50 12/01/11 11:10:43.215 luup_log:180: (VistaAlarmPanel::ttlCountdownTimer) Zone #1 TTL = 55 <0x2b685680>
50 12/01/11 11:10:43.219 luup_log:180: (VistaAlarmPanel::sendStar) Send '*' to partition 1. <0x2b685680>
50 12/01/11 11:10:43.233 luup_log:180: (VistaAlarmPanel::sendStar) Send '*' to partition 1. <0x2b685680>
50 12/01/11 11:10:43.240 luup_log:111: Received: unknowncommand 14 <0x2cfa5680>

JOD.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on December 01, 2011, 11:54:31 am
I see 2 alarm panel devices: 180 and 219.

Which means that installing the plugin creates another device, which is normal behavior. Sorry for giving you erroneous information.

Please delete device 219, because this is the one that doesn't work.

(Note to self: verify the information you post.)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on December 01, 2011, 01:14:19 pm
HAHA.... It's just a bump in the road.
I just posted some erroneous info on the beta forum then.... Because I didn't see that a new device was created, now I see it, along with the unpinned zone devices!. Sweet.

I'll go revise the post and then delete the device.

JOD.

*Edit. Deleted device #219  & #220 and the error has cleared.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: dratifk on December 01, 2011, 02:29:40 pm
Working great. Thank you for your hard work. I appreciate you answering what may seem stupid and basic questions.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: wseverino on December 01, 2011, 02:54:52 pm
I don't know if anyone noticed this.....but when one of the child devices / security sensors created from the cheat sheet trips the tripped variable does not get reset to 0 when the faulted zone is cleared.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on December 02, 2011, 03:10:18 pm
Anyone with a Vista 10-SE panel getting "Check" 09" errors at their keypads? My alarm went off as a result in the middle of the night and freaked everybody out. This seems to have started when I upgraded to 2.41 but not 100% sure. According to the manual, a "Check 09" error happens when the control panel loses communication with the wireless receiver, which in my case is located inside my 6160RF keypad, which is hard-wired to the panel. It may be unrelated but its coincidental and so I thought I'd post it. I even replaced the keypad and ran new wire from the panel. Thoughts anyone before I rip this panel out and put in a 20P?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on December 02, 2011, 03:32:27 pm
I am also noticing this.

I don't know if anyone noticed this.....but when one of the child devices / security sensors created from the cheat sheet trips the tripped variable does not get reset to 0 when the faulted zone is cleared.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mathewss on December 02, 2011, 11:58:00 pm
Anyone with a Vista 10-SE panel getting "Check" 09" errors at their keypads? My alarm went off as a result in the middle of the night and freaked everybody out. This seems to have started when I upgraded to 2.41 but not 100% sure. According to the manual, a "Check 09" error happens when the control panel loses communication with the wireless receiver, which in my case is located inside my 6160RF keypad, which is hard-wired to the panel. It may be unrelated but its coincidental and so I thought I'd post it. I even replaced the keypad and ran new wire from the panel. Thoughts anyone before I rip this panel out and put in a 20P?

 To answer your question.
   I do not recall any issue of a customer reporting this fault and I have a fair number of people using the AD2USB on SE panels.
Lets record as much info for your event that way if anyone else does I can answer that question differently next time : )

Please post the following to my support queue general@support.nutech.com.

 Your hardware and firmware version.
 Plugin logs during the time 10-20 minutes prior and ending with the time where the event was cleared. 
 What steps were necessary to clear the problem?
 Any other information that you think may be pertinent would be helpful.

@ mcvflorin I will cc you on the ticket and send you the same details for your records.
 
 Thanks @ everyone.
 Sean Mathews
 CTO @ NuTech dot com
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on December 04, 2011, 01:06:33 pm
@mcvflorin,

After upgrading to 2.41, all my scenes relating to the alarm panel events are void of triggers.
Armed Night, Armed Stay, Armed Instant, Not Ready, Ready, Armed, Stay Instant, Disarmed and most importantly Alarm.

I no longer see my panel device #180 & the partition #189 when viewing triggers.
Therefore, scene setup based on an alarm event or panel status is not possible.

JOD.

*Edit. In addition, using the child devices as triggers, I'm seeing a toggle of tripped and untripped every few minutes.
Zone 5 Untripped 12/4/2011 5:51:23 P.M.
Zone 5 Tripped 12/4/2011 5:50:08 P.M.
Zone 5 Untripped 12/4/2011 5:49:35 P.M.
Zone 5 Tripped 12/4/2100 5:47:44 P.M.
Zone 5 Untripped 12/4/2011 5:45:20 P.M.
Zone 5 Tripped 12/4/2011 5:43:50 P.M.
Zone 5 Untripped 12/4/2011 5:36:20 P.M.
Zone 5 Tripped 12/4/2011 5:33:52 P.M.
Zone 5 Untripped 12/4/2011 5:32:26 P.M.
Zone 5 Tripped 12/4/2011 5:31:39 P.M.
 

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on December 06, 2011, 10:34:00 am
I don't know if anyone noticed this.....but when one of the child devices / security sensors created from the cheat sheet trips the tripped variable does not get reset to 0 when the faulted zone is cleared.

Not even after some time? Usually it takes up to TTL seconds for the Tripped variable to be cleared.

@ mcvflorin I will cc you on the ticket and send you the same details for your records.

Thanks.

After upgrading to 2.41, all my scenes relating to the alarm panel events are void of triggers.

But can you create a new scene and use the triggers? I have a suspicion that this isn't plugin related.

*Edit. In addition, using the child devices as triggers, I'm seeing a toggle of tripped and untripped every few minutes.

What do the all knowing logs say? :)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on December 12, 2011, 01:30:16 am
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.

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on December 12, 2011, 03:07:53 am
@waynebrady

This is a panel limitation: it doesn't send FAULT messages when armed.

Anyway, doesn't faulting sensors when the panel is armed trigger the alarm?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: guessed on December 12, 2011, 10:23:42 am
...not when they're either bypassed, or if you're in a Stay mode, and it's the motion sensors.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mathewss on December 12, 2011, 07:21:03 pm
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.

 Hope this helps.

Re
 Sean M
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on December 13, 2011, 04:36:53 am
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.

Now we know what will be the new feature in the next plugin version. :)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: yr1 on December 19, 2011, 10:17:40 am
Downloads of lump files for UI4  requires authentication .

​http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/wiki/UI4
 
Please make them accessible.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JimL on December 19, 2011, 02:47:48 pm
If someone could point me in the right direction to solve this issue.

I installed the AD2USB plugin for my Vera2 UI4.  The NuTech is configured for keypad address 18.
The plugin locates AD2USB unit.   It's connected to my Vista20P system.  Both partitions are activated for keypad 18.

The plugin find the alarm panel and creates two partitions for keypad address 18.  Here is the problem.

Partition 1 will not display ANY status in the icon.
Partition 1 is missing the following variables in the Advanced Tab: Alarm, AlarmMemory, ChimeMode, ArmMode, DetailedArmMode

Partition 1 WILL work if I enter in a code and action.   Status is not displayed for any keypad icons.

Partition 2 works just fine.

I have reinstalled the plug-in: Version 2.41
I get the behavior each time.   Outgoing commands function, but incoming status gets lost (only for part1).

I suspect, I need to delete some variable state and the plug-in files and start over.

Ideas or logs I can scour to look in the right direction?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on December 20, 2011, 04:17:25 am
@yr1

I changed the URLs to point to the public repository. Previously they were pointing to the private repository.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on December 20, 2011, 04:20:06 am
@JimL

You can't have 2 partitions with the same keypad. How many keypads do you have excluding the AD2USB?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: yoabear on December 21, 2011, 08:47:56 pm
Fairly new here and I am having trouble getting the AD2USB to work with vera3.  I have downloaded and installed the plugin in vera.  I have also confirmed that AD2USB is working by installing Putty on my computer as well as AD2USBgui and using the computer to turn on/off the alarm.  However when I connect AD2USB to vera it does seem to connect.

I have set up the correct number of partitions (1) and keypad address (31) in the devices.  I have also set up the serial port, however I have noticed that I get this error...

Data sent, but received JSON is invalid.  

Suggestions?
Thanks Jason
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on December 22, 2011, 09:27:36 am
I haven't seen this error before. When exactly do you get that error?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JimL on December 22, 2011, 01:14:05 pm
@JimL

You can't have 2 partitions with the same keypad. How many keypads do you have excluding the AD2USB?

On the Vista20P, one keypad controls BOTH partitions.

On my installation, I have ONE keypad (Addr 16).   It is a 6150V that controls BOTH partitions.  The DEFAULT partition is #1.
<CODE> *1 or *2 switches partitions at the keypad.

I can set my AD2USB keypad address to ONLY control partition 1.   It is my primary partition.

I made the assumption that by setting the keypad address to be the same for both partitions,
the code would control the appropriate partition separately.  (THAT PART DOES WORK).
However, status, etc.  Isn't happening for Part1.

So, how do you set up the AD2USB code to display AND control both partitions on a V20P?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on December 22, 2011, 01:57:30 pm
On the Vista20P, one keypad controls BOTH partitions.

I didn't know this is possible, which means that the plugin wasn't made to handle this situation. I will have a look at it.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JimL on December 22, 2011, 02:42:54 pm
Please check out the Vista 15/20P User guide "Accessing Other Partitions" (PDF)

A keypad has a "default" partition for display purposes, but can be used to perform actions in other partitions.

The "goto" command was the one I was previously referring to...

The possibility of Multi-partition arming commands is also possible.

I currently use both partitions on my system (1 default for house, and 2 for the garage)   I access the 2nd partition via the "goto" command on the main keypad.  I can disarm the garage w/out disarming the house.

If this requires new coding, I can reconfigure my plug-in to act as designed as a "single keypad" for the primary partition.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on December 23, 2011, 04:48:54 am
Actually the plugin makes use extensively of the GOTO command to control more than one partition. When I said that I didn't know this is possible I was thinking of another way of control (don't ask which is that  :-X). Anyway, I won't get to work on the plugin this year, so most probably this will be fixed in the second week of the new year.
Title: Updating AD2USB firmware on a Mac?
Post by: mogul on December 31, 2011, 06:33:12 pm
Hi all,

I've got an AD2USB hooked into a Vista 20SE security panel. Every command I try with it results in "Sending..............." (with no timeout).

My AD2USB is at firmware version 2.2a1, and I've just realized from reading earlier in this thread that it must be upgraded to 2.2a2 or higher firmware to properly support "non-addressable" keypads on the SE panels (where every keypad is expected to have ID 31).

OK, so I just need to upgrade the firmware using AD2USBGUI, right?  Not so fast... The GUI doesn't seem to be able to do *anything* with the AD2USB,
even with the correct /dev entry in the config (which works fine in Terminal). Nothing in the logs, no responses, no ability to reset, nothing. I tried restarting the GUI. I tried using the upgrade firmware function blindly, with no feedback... Nothing.

I also tried using the separate "console firmware uploader" on nutech.com's forums, but with no luck (argh, not allowed to post links):
www nutech.com/index.php?option=com_fireboard&Itemid=74&func=view&catid=4&id=1158#1176

And yet there seem to be plenty of other people getting through this with no problem.  I'm guessing that I'm stuck in a perfect storm of SE panel, old firmware, Mac host, etc.

So my question is, has anyone with a Mac ever successfully upgraded their AD2USB firmware? Can anyone shed light on why the GUI does absolutely nothing? Can anyone identify another way to update the firmware?

Incidentally, I've mailed and called NuTech support about this too (ref #33109), but as it's now New Year's Eve, there's no one responding.

PLEASE HELP ASAP! I realize it's New Year's Eve, but I'm only at the house
where this problem is happening for another 24 hours, and it'll be at least a month (and several more weekend renters screwing up disabling the alarm!)
before I'm here and able to work on this again!

Thanks,
Bret
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: BigDickMcGee on December 31, 2011, 08:31:37 pm
I didn't have any luck with my Mac OS 10.7; gave up after several hours of frustration... ended up using a Windows XP VM with USB passthrough to perform the AD2USB actions you specify.  Was up and running on Vera soon after.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mogul on December 31, 2011, 09:02:31 pm
As it happens, Sean saw one of my distress signals go up and we just did a GoToMeeting session.  We definitely found some problems trying to work with both the GUI and the firmwareuploader.exe methods on the Mac side, and I'll be putting them in Sean's issue-tracker.

However, similar to you, we fired up a Linux VM and we were able to update the firmware from there. Sure enough, I was able to control my panel mere moments later.

Cheers to Sean, who took time out to help a very stressed out guy on New Year's Eve!
:D :D :D
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mogul on January 01, 2012, 03:10:58 am
Alas, out of the frying pan and into the fire... I can communicate reliably via the terminal, but am having very little luck with getting the Vera plug-in to do anything useful. I've crammed my way through this whole thread, but I'm unsure what I'm doing wrong.

Summary of the system:
* Vista 20SE panel, with a single physical keypad.
* Near as I can tell, one partition. (How do I tell?!)
* Both the physical keypad and AD2USB are set to ID 31 (as expected for the "non-addressable" SE)
* Tested working via terminal connection and a2usbgui... Can arm and disarm system.
* Vera 2 running UI5.

What I've done to set this up:
* Installed Plugin via Apps > Install Apps
* That created two devices, "Ademco Vista Alarm Panel" and "Ademco Vista Partition 1"
* Both display as empty, with nothing on the Control tab except the text "Device Settings"
* Panel has "Advanced > NumPartitions" set to 1.
* I set the Partitions "Advanced > KeypadAddresses" to 31.
* I set "Apps > Develop Apps > Serial Port configuration" to 115200 baud, and set "Used by Device: " to the Panel.
* Made sure everything was saved. No changes in the two devices from the description 4 lines up.
* Rebooted the Vera. No changes.  Double-checked with PC that the AD2USB is still actively communicating happily with the panel.
* I ssh'd into the Vera, and stared dumbly at the .log file scrolling by with no real idea what information may or may not have been relevant.
* Then I ... well, nothing. I have no idea what to do from this point to debug it, so here I am.

I have *not* tried a factory reset, which seemed to work for someone... How destructive is this? Do I have to completely rebuild my network, or can I restore the configuration somehow?

Did I miss any steps? Anyone have other things to try, or steps I can take to help debug what's going on? Or up for looking over my shoulder via GoToMeeting?

Thanks in advance for any help, hopefully sooner rather than later... Per previous post, I'm leaving this location soon and won't be back for another month at least. It'd be torment for me to leave it like this, so close to joy!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: wseverino on January 01, 2012, 09:35:59 am
Did you program the AD2USB with the keypad number? Just setting it up in Vera will not work. From the PC side do you see traffic messages across the AD2USB?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mogul on January 01, 2012, 11:18:42 am
Did you program the AD2USB with the keypad number? Just setting it up in Vera will not work. From the PC side do you see traffic messages across the AD2USB?

Yes, that's what this part was about:

* Both the physical keypad and AD2USB are set to ID 31 (as expected for the "non-addressable" SE)
* Tested working via terminal connection and a2usbgui... Can arm and disarm system.

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: yr1 on January 01, 2012, 05:42:09 pm
I upgraded to UI5  and seem to have found a couple of bugs.  I am using vera2, UI5, Ademco Vista 20P Alarm Panel  with access on a windows laptop.

1. When I include a new thermostat  the alarm panel stops responding ( the thermostats are included and are accessible). 

If I uninstall and reinstall the alarm system and reset the serial port  ( 115,000, 8 none 1) all is well again.

I'm not sure if the issue is that the serial port parameters or the plugin for the thermostat overwriting some code for the plugin. Thermostats are Schlage/trane ZMET400 

2. In UI5,  I am unable to include the Alarm panel as a device in a scene.  What I want to do is to set the alarm panel to "STAY" if the it is no armed at 12:00 at night.
When I create a scene the alarm panel is  inactive grayed out completely with a do not use symbol across its image. ( Other devices thermostats etc are can be added ) so it appears to be a problem with the plugin.

Any help on either f these would be helpfull

YR1

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Floor61 on January 03, 2012, 12:21:08 pm
Question:  I would like to install a Leviton VRCZ4 or VRCS4 in my bedroom.  I would ideally like to have one of the buttons on the 4-button switch ARM my alarm system.  I can't easily add another keypad in the bedroom, and I'd honestly like to avoid having a full keypad in the bedroom anyway.  It's just that my wife and I usually forget to arm the system until we are in bed, and it is a pain to go back downstairs and arm it. 

I have a set-up and working interface between Vera and my Ademco 10SE using the AD2USB and the Honeywell Plug-in.  If I enter my code and choose "STORE," will this allow me to RELIABLY arm my system using a wall switch zone/scene controller?  I obviously could not re-enter my code every time I hit the switch. 

If I can, is the VRCZ4 or VRCS4 better suited to the task?  I'd likely use one of the buttons to control a lamp in the bedroom, one of the buttons to turn on/off ALL of my outside lights, and one of the buttons to arm the alarm system.  I'm not concerned about disarming, as this is obviously a security concern if it can be disarmed via this switch.  The fourth switch I will likely leave free and eventually wire to a to-be-installed motorized roller blind in our foyer. 

Thoughts on if this can be done?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on January 03, 2012, 12:46:04 pm
Question: I would ideally like to have one of the buttons on the 4-button switch ARM my alarm system.
Create a scene where Arming the system is one of the commands. Assign that scene to a button press or even set it up as a timed event every night, or both.

JOD.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Floor61 on January 03, 2012, 01:33:03 pm
Question: I would ideally like to have one of the buttons on the 4-button switch ARM my alarm system.
Create a scene where Arming the system is one of the commands. Assign that scene to a button press or even set it up as a timed event every night, or both.

JOD.

Thanks.  I figured that was how to do it in theory.  I guess my biggest question was that assuming I enter my code and click store on the dashboard, that the plug-in will reference my stored code and send any signal initiated to the panel via the button press with the code as well.  It just seemed like I sometimes had to re-enter my code even after I clicked Store, and I wasn't sure why that was the case, and I figured it may cause issues in this application.

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on January 03, 2012, 03:07:33 pm
From what I remember (as I don't have a functional system to do a walk through with you) is you first need to input the code at the dashboard device, then go to Automation / Scene setup and select the action (Arm / Disarm etc.) and then save.
IIRC, the password does not save at the dashboard device after the engine has been restarted, so each time you want to add an Arm / Disarm command to a scene, you'll need to re-enter the code at the dashboard device first.

But once you have the scene created and saved, the code is stored for that scene.

JOD.

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Floor61 on January 04, 2012, 01:25:15 pm
Awesome info.  Thanks JOD.  I'll give it a shot when I get my switch.  Thanks for all your help.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on January 04, 2012, 02:58:01 pm
Early this morning while I was asleep, I received two event triggers of my alarm going into STAY and NIGHT mode by itself. I know because I had set up alarm detail status changes to shoot me an email.

Anyone ever experience this before? I recall this happening a couple of times in the past.

My don't store my passcode so I don't think it can trigger on its own. Is this the keypad acting up or someone is messing with my Vera? AD2USB?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on January 05, 2012, 12:13:26 pm
There was a problem with the latest version published on apps.mios: the device file for the partition was missing. This caused some of the issues reported here. I added the file back and published the new version.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mogul on January 05, 2012, 12:39:06 pm
That seems to have helped! I have a lot more in the two devices that were created:
* In the Panel device, I have a "Clear message" button that doesn't seem to do much (no message is showing except "clear message" on the dashboard).
* In the Partition device, I have a place to store a code, and six buttons for Arm mode, lettered macro buttons, an entry for Bypass mode, and a button for "Chime mode" (no idea what that does). The "Status:" displayed is empty.

I'm not sure if this is all I *should* be seeing... Does that sound right? Should there be something in the status field on the partition, or a message displayed on the panel?

I guess I'll have to wait until I'm on the premises to really try it out... I'm reluctant to accidentally cause an alarm when I'm not about to see what's actually going on.  Thanks for making the fix!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: billp on January 05, 2012, 01:48:14 pm
There was a problem with the latest version published on apps.mios: the device file for the partition was missing. This caused some of the issues reported here. I added the file back and published the new version.

Newbie here!  I must say the Vera3 is fun and frustrating at the same time.  The interface takes a while to understand.  The hotline has been fabulous in getting me up and running.  The one thing they could not get going was my Honeywell Vista panel.  Well now after a couple of days it is now working and now I know why! 

Thanks mcvflorin!!! ;D
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on January 05, 2012, 02:59:44 pm
There was a problem with the latest version published on apps.mios: the device file for the partition was missing. This caused some of the issues reported here. I added the file back and published the new version.

I've always gotten my files from the trunk here: http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser/trunk

Was that affected?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on January 06, 2012, 06:03:06 am
Was that affected?

No, but the version in trunk is for UI4, so if you're using it on UI5 no events/triggers will be available.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: yoabear on January 10, 2012, 04:15:06 pm
Hello -
I am running on vera 3 UI5 and something changed with the latest firmware update.  I am now getting this error.  However the serial port seems to be configured correctly...

 ???

Ademco Vista Alarm Panel[4] : Failed to open IO Port

Does this error occur only if the serial port is not configured correctly?  Or can it occur if AD2USB is not sending information correctly?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on January 11, 2012, 03:22:56 am
Hello yoabear,

Reload Luup and reassign the serial port to the alarm device. Just to be sure, after reloading Luup refresh the UI using Ctrl + F5, then reassign the port.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: yoabear on January 11, 2012, 04:48:49 pm
Thanks - That worked!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: realbass1 on January 13, 2012, 01:28:18 pm
First off... this is my favorite plugin so far. Thanks MCVFlorin- great job. I just have a question for those of you that are running it (and I'm not on the latest release yet - on 2.32). Has anyone experienced a weird issue where after an alarm is triggered, the alarm cannot be reset by a keypad? It can only be reset by using this plugin. I can deactivate the alarm just fine from the keypad, but making the alarm armable again (code+ "off" button ) after the alarm is deactivated is only possible using this plugin.

It could be something funky with my Vista 21IP panel, but it's only been happening since I've plugged the A2USB device in. Thanks all!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on January 13, 2012, 02:43:42 pm
I have noticed that as well. It seemed to happen after 2.21, but I'm not 100% on that.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shahhim on January 13, 2012, 02:55:44 pm
It has happened to me once also. My daughter could not disarm from any keypad and I had to disarm from my droid app. I thought my daughter was not punching in the code properly but she insisted that she was. Have not tested it out again
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: billp on January 14, 2012, 02:33:36 pm
First off... this is my favorite plugin so far. Thanks MCVFlorin- great job. I just have a question for those of you that are running it (and I'm not on the latest release yet - on 2.32). Has anyone experienced a weird issue where after an alarm is triggered, the alarm cannot be reset by a keypad? It can only be reset by using this plugin. I can deactivate the alarm just fine from the keypad, but making the alarm armable again (code+ "off" button ) after the alarm is deactivated is only possible using this plugin.

It could be something funky with my Vista 21IP panel, but it's only been happening since I've plugged the A2USB device in. Thanks all!



Same here! good find! 20P
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on January 14, 2012, 05:54:39 pm
I upgraded to UI5  and seem to have found a couple of bugs.  I am using vera2, UI5, Ademco Vista 20P Alarm Panel  with access on a windows laptop.

1. When I include a new thermostat  the alarm panel stops responding ( the thermostats are included and are accessible). 

If I uninstall and reinstall the alarm system and reset the serial port  ( 115,000, 8 none 1) all is well again.

I'm not sure if the issue is that the serial port parameters or the plugin for the thermostat overwriting some code for the plugin. Thermostats are Schlage/trane ZMET400 

2. In UI5,  I am unable to include the Alarm panel as a device in a scene.  What I want to do is to set the alarm panel to "STAY" if the it is no armed at 12:00 at night.
When I create a scene the alarm panel is  inactive grayed out completely with a do not use symbol across its image. ( Other devices thermostats etc are can be added ) so it appears to be a problem with the plugin.

Any help on either f these would be helpfull

YR1

I too am having this problem with adding the alarm panel as a device in a scene and was wondering if there is a fix. using vera 3 with UI5,

Thanks
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: realbass1 on January 16, 2012, 01:13:16 pm
Well, I'm glad that I'm not the only one- was beginning to think that my Vista panel was going bad. For the developers-

I'm using Vera 2 UI4.

Let me know if you folks need any logs and such.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mathewss on January 16, 2012, 11:38:49 pm
 One possible cause is that only one person can be sending data to the panel at a  time. If you have two keypads in your house you probably already know what happens when you have two people trying to disarm at the same time. Someone usually gets told to stop so the other can disarm the system.

 Even with the 15/20P where each keypad has a unique address the panel itself does not seem to think this matters and lumps all keypad entries into one fifo bucket. I have not tested this issue on a Vista128BP or high end commercial panel but its on my todo list.

 If the plugin is sending data to the panel this will interrupt the arm/disarm process from a real keypad.

 The most common offender is the programmatic send '*' to get a list of faults. This should only be sent when needed normally just after the system reboots or changes state such as during disarming the system. Once a '*' is send another does not need to be sent until said state change occurs.

I have looked at some workarounds. One would be to tell the driver if anyone is transmitting and let it decide if it should go into a sleep state or send anyway.  See related feature request  feature request (https://antfarm.nutech.com/issues/44) .

 The currently proposed feature should have no adverse effects on any drivers as long as they are following the current communication protocol. We are simply adding a new message to the API say !KEY:18  I would classify this feature as being trivial to add to the current beta 2.2a.5
but the beta still has a few glitches so its probably not going to be stable for a week or at most two.

Re
 Sean M



 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on January 17, 2012, 07:22:50 am
Has anyone experienced a weird issue where after an alarm is triggered, the alarm cannot be reset by a keypad?

The most common offender is the programmatic send '*' to get a list of faults. This should only be sent when needed normally just after the system reboots or changes state such as during disarming the system. Once a '*' is send another does not need to be sent until said state change occurs.

Can someone with plugin version 2.41 upload this file and see if this still happens? The plugin sends '*' only if the panel is in the Not Ready state, i.e. the flags ARMED_AWAY, ARMED_STAY and READY are not set. I think that when the alarm is active, none of the these flags are set, so the plugin sends the '*' character. I modified the plugin to send '*' only if the alarm is not active.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: billp on January 17, 2012, 12:56:21 pm
Has anyone experienced a weird issue where after an alarm is triggered, the alarm cannot be reset by a keypad?

The most common offender is the programmatic send '*' to get a list of faults. This should only be sent when needed normally just after the system reboots or changes state such as during disarming the system. Once a '*' is send another does not need to be sent until said state change occurs.

Can someone with plugin version 2.41 upload this file and see if this still happens? The plugin sends '*' only if the panel is in the Not Ready state, i.e. the flags ARMED_AWAY, ARMED_STAY and READY are not set. I think that when the alarm is active, none of the these flags are set, so the plugin sends the '*' character. I modified the plugin to send '*' only if the alarm is not active.

I have a Vera3 and a 20P. I'm a newbie here so hopefully I did this right. I downloaded the said file to my computer and uploaded it and then restarted the luup which went fine. I then went to my alarm panel, created an error condition, went to my keyboard using my password and *, which I still could not clear the error. The only way that I can clear it is by using my fob or the alarm panel interface on Vera.

 sorry, password and off
Bill P.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on January 17, 2012, 04:51:50 pm
MCVflorin-

Is it possible to make this plugin report faults PRIOR to disarming?

I'm trying to set up a sign to trigger prior to disarming and can't seem to get a fault reading from my front door.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on January 18, 2012, 05:15:18 am
Is it possible to make this plugin report faults PRIOR to disarming?

Unfortunately this isn't possible. The panel must be disarmed, and the Press * to see faults message must be displayed on the keypad to be possible to get the faulted zones.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mogul on January 21, 2012, 10:59:08 pm
That seems to have helped! I have a lot more in the two devices that were created:
[...]
I guess I'll have to wait until I'm on the premises to really try it out... I'm reluctant to accidentally cause an alarm when I'm not about to see what's actually going on.  Thanks for making the fix!

I wound up back on the premises today, sooner than I thought, so I was able to try it out for the first time since the fixed UI5 version was posted. Initially I found the partition buttons were having no effect, and my hopes fell. At some point (maybe after simply checking and reconfirming the serial port settings) I suddenly found it was working... Tremendously exciting! Tried it out from Home Buddy on my phone and found it worked there as well. Great!

I noticed that it *stops* working occasionally, then starts working again later. I'm not sure if this is something to do with the stored code being cleared, me editing rooms/scenes/triggers, etc. or if it's losing the open serial port and reopening it. At one point I'd pressed the Arm button, and saw no response, then was sitting next to the panel a few minutes later when it suddenly starting beeping as it armed! I scrambled to the web UI to try disarming it from there before using the physical keypad... and it worked! It seems like there was some kind of buffering of the commands that went through once it re-established control. That's worrying... I'd rather get an error message than to have the command buffered. Unfortunately I don't remember what I was doing before that which might have caused it to start working.

Note I'm on UI5, and I also found I was unable to use the alarm partition in a scene... It's got a greyed circle with a slash on it. Reading back I saw this post:

I upgraded to UI5  and seem to have found a couple of bugs.  I am using vera2, UI5, Ademco Vista 20P Alarm Panel  with access on a windows laptop.

1. When I include a new thermostat  the alarm panel stops responding ( the thermostats are included and are accessible). 

If I uninstall and reinstall the alarm system and reset the serial port  ( 115,000, 8 none 1) all is well again.

I'm not sure if the issue is that the serial port parameters or the plugin for the thermostat overwriting some code for the plugin. Thermostats are Schlage/trane ZMET400 

2. In UI5,  I am unable to include the Alarm panel as a device in a scene.  What I want to do is to set the alarm panel to "STAY" if the it is no armed at 12:00 at night.
When I create a scene the alarm panel is  inactive grayed out completely with a do not use symbol across its image. ( Other devices thermostats etc are can be added ) so it appears to be a problem with the plugin.

I think that yr1 and I are seeing the exact same issues!

In case anyone wants to do some live debugging (via GoToMeeting and ssh), I'll be here for about another 14 hours.

(For the record, I'm trying to make a scene that disarms the alarm when a valid PIN code is entered at the front door lock.)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on January 21, 2012, 11:11:38 pm
Quote
Note I'm on UI5, and I also found I was unable to use the alarm partition in a scene

No, but the version in trunk is for UI4, so if you're using it on UI5 no events/triggers will be available.

There are no triggers in yesterday's beta either, hopefully it gets addressed for the next release.

JOD.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on January 23, 2012, 11:48:43 am
@mogul

When creating a scene open the Advanced tab and add the action like in the attachment. You must use the advanced scene editor because UI5 has simplified creating scenes for basic devices at the expense of creating scenes for complex plugins.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mogul on January 23, 2012, 12:52:48 pm
When creating a scene open the Advanced tab and add the action like in the attachment. You must use the advanced scene editor because UI5 has simplified creating scenes for basic devices at the expense of creating scenes for complex plugins.

Well, at least there's a way! How can I find out what other values could go in the State parameter? (I'm assuming the opposite is Armed, but you never know...)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on January 23, 2012, 01:01:02 pm
Look in this table here: http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb#Onthedashboard
Excepting Ready and NotReady, all the values there can be use for the State parameter.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mogul on January 23, 2012, 01:03:56 pm
Look in this table here: http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb#Onthedashboard
Excepting Ready and NotReady, all the values there can be use for the State parameter.

So shouldn't Disarmed be listed there too?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on January 23, 2012, 01:10:56 pm
Actually that table doesn't list all the possible values for the State variable, it lists only the states the panel can be in (the Status variable). When the panel is Disarmed it's either Ready or Not Ready.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mogul on January 23, 2012, 01:15:12 pm
Actually that table doesn't list all the possible values for the State variable, it lists only the states the panel can be in (the Status variable). When the panel is Disarmed it's either Ready or Not Ready.

Right, I figured that, just trying to point out that this isn't really a reference for doing the advanced setup... Maybe there needs to be documentation, explicitly in the UI, not just for this particular plugin, but for everything exposed when doing an advanced edit.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on January 23, 2012, 01:21:12 pm
I agree about the documentation and it's on my TODO list.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: realbass1 on January 23, 2012, 04:23:19 pm
Is the plugin on code.mios.com the latest version? I'd like to upgrade to the latest version to see if some of my issues (not being able to arm my panel from a keypad after an alarm has been triggered and now... alarm arming itself randomly)

Thank you folks.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on January 24, 2012, 01:44:45 am
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.

Now we know what will be the new feature in the next plugin version. :)


So there is no way to do this now with 5800 series sensors, have to wait for it in an update?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on January 24, 2012, 05:08:46 am
So there is no way to do this now with 5800 series sensors, have to wait for it in an update?

I'm afraid this update won't come anytime soon. Got a couple of plugins to update/make first.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: gelert on January 29, 2012, 10:19:16 am
Hi all,

I was thinking about getting "Total Connect", but this seems like a great alternative.  I have a Vista panel but not the AD2USB or Vera.  Based on reading this thread, it seems that:
1. Getting Vera+AD2USB would cost more upfront and take some more tinkering
2. Vera+AD2USB would cost a lot less ongoing (relative to say $20/month for Total Connect)
3. Vera+AD2USB can do everything Total Connect can do and a lot more

Thanks for any insight,
Peter
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on January 29, 2012, 12:00:50 pm
Excepting Ready and NotReady, all the values there can be use for the State parameter.
So shouldn't Disarmed be listed there too?
Actually that table doesn't list all the possible values for the State variable, it lists only the states the panel can be in (the Status variable). When the panel is Disarmed it's either Ready or Not Ready.
@mcvflorin, I'm seeing "Disarmed" in two areas. "Armed state" where Armed and Disarmed can be used as triggers, and under "Armed detailed state" where Disarmed does not function as a trigger.

Since Disarmed is not an Armed detailed state, should we remove the reference from that area?

JOD
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: guessed on January 29, 2012, 12:18:40 pm
@JOD,
Disarmed is supposed to be part of both ArmedState and ArmedDetailedState.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on January 29, 2012, 01:45:59 pm
I can understand Disarmed being part of the Armed state, it's either armed or disarmed.

But having it as a detailed state of Armed, when It's not armed, seems illogical. It's like saying a light is Off, and then being asked at what level of brightness is it shining?

If it's part of the logic protocol, OK, I accept it. I'm not one to go against the grain.  ;)

JOD.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: guessed on January 29, 2012, 01:55:53 pm
Think about ArmedState being light a light switch, it's either On (Armed) or Off (Disarmed). 

The detailed states are simply bundled into one of those two buckets.  It's not that different from asking a Dimmable light what it's light level is (0 == Off, 1..100 == On).

The first StateVariable is for simplistic Scene scripting, the latter is for more detailed scripting, where you need to know, well, the details... with a full spectrum of values from "disarmed" through "armed" (not that it's linear, but ...)
Title: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: futzle on January 29, 2012, 02:42:44 pm
The Disarmed DetailedState is used in my panel's plugin to indicate "Disarmed but not ready to arm". This is used if, for instance, a window sensor on the perimeter is open.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on January 29, 2012, 03:07:16 pm
Understood, thank you.

@mcvflorin,
The Device is Disarmed under Armed detailed state is broken as a trigger.
Also, we have a typo in the Device is armed NIGHT-STAY

JOD.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on January 30, 2012, 08:13:38 am
@JOD

I removed the Disarmed detailed arm mode event and fixed the typo in version 2.42 which I just published.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: gelert on February 04, 2012, 09:54:26 pm
Question for kbmcguire or the other trailblazers: would it be possible for you to post any code you have written - eg for sending fault notifications.  Would be very helpful for us newbies.  Thx
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on February 05, 2012, 08:57:57 am
Question for kbmcguire or the other trailblazers: would it be possible for you to post any code you have written - eg for sending fault notifications.  Would be very helpful for us newbies.  Thx

Now that fault notifications and zone descriptors are part of the plugin it kinda makes my code irrelevant but I am still using luup code myself because it lets me customize things a bit more if needed.  I use automator.app's push notification feature for most of my fault and alarm notifications but this code could be adapted to email notifications, etc.

Here is the code I use for sending notifications to my iphone when an alarm is active:
Code: [Select]
-- Alarm Panel Device Number
local AlarmDevNo = 58

-- Replace zone numbers with descriptions (list shortened for posting purposes)
function getzonedesc(str)
  str = string.gsub (str, "4", " Dining Room Door")
  str = string.gsub (str, "3", " Guest Bath Door")
  str = string.gsub (str, "2", " Front Windows")
  str = string.gsub (str, "1", " Front Door")
  str = string.gsub (str, "0", "")
  str = string.gsub (str, "None", " No Faults")
  str = string.gsub (str, ",", "\n")
 return str
end


-- see http://push.automatorapp.com for more information

-- enter your automator.app unique device ids here. if multiple separate by a comma (pushdevices is a global variable defined in startup luup)
local devices = pushdevices

-- Get AlarmZone variable
local faultedzones = luup.variable_get("urn:micasaverde-com:serviceId:VistaAlarmPanel1","AlarmZone",AlarmDevNo)

-- the message to send
local message = '-- House Alarm Active --\n' .. 'Zone:'
message = message .. getzonedesc(faultedzones)

-- auto increment the icon's badge number
local badge = "+1"

-- the sound to use. currently may be an empty string for none or 'default'
local sound = 'default'

-- timeout to use when contacting the automator push web service in seconds
local timeout = 15

-- utility method to make text URL friendly
function url_encode(str)
 if (str) then
  str = string.gsub (str, "\n", "\r\n")
  str = string.gsub (str, "([^%w ])",
   function (c) return string.format ("%%%02X", string.byte(c)) end)
  str = string.gsub (str, " ", "+")
 end
 return str
end

-- make the actual call
luup.inet.wget( 'http://push.automatorapp.com/notify.php?devices='..devices..'&badge='..url_encode(badge)..'&message='..url_encode(message)..'&sound='.. sound, timeout)

Again, I wrote this before @mcvflorin updated the plugin to include the zone descriptors, cheat sheet, so I had to make my own cross reference from zone numbers.  Everything below the line "-- see http://push.automatorapp.com for more information" is taken from automator.app's example from their website...except where I get the AlarmZone variable and assemble the message to be sent.  If you took away the function I wrote for substituting the alarm descriptions and the code that sends the push notification, there really isn't much to it.

Code: [Select]
-- Alarm Panel Device Number
local AlarmDevNo = 58

-- Get AlarmZone variable
local faultedzones = luup.variable_get("urn:micasaverde-com:serviceId:VistaAlarmPanel1","AlarmZone",AlarmDevNo)

-- the message to send
local message = '-- House Alarm Active --\n' .. 'Zone:'
message = message .. faultedzones

The message variable in the above code could be used as the body of an email message or some other means of notification.

@gelert, I'm not sure if this is what you were looking for but feel free to ask for clarification if needed.  I'm not an expert but I manage to fumble my way through this stuff.  Hopefully I can help but if not I'm sure others here are more than willing.

kbmcguire

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: gelert on February 05, 2012, 02:37:30 pm
@kbmcguire, yes exactly... thanks so much for posting!  Here's my story in case this is helpful to other readers: I was thinking about getting Honeywell Total Connect so I could control my panel (Vista 20SE) with my iphone over the internet and receive notifications... but then I saw this thread and it seems like a much better deal.

So I ordered a VeraLite from Ebay, downloaded Firefox, and ordered the AD2USB (plus USB cord and wire) from Nutech.  I followed the AD2USB directions and had no problems getting it to work with the GUI.  Then I plugged it into the Vera and followed the UI5 directions for the plugin.  Everything seems to work right away.  I downloaded automator.app for my iphone, and it works great as well (though I understand they're updating the interface for UI5).

Now I just need to decide how to implement the notifications (OOTB plug-in vs. kbcmguire's code to automator.app vs. email to a dedicated gmail account). 

Thanks to everyone who's posted & improved this thing over the past few months! @MCVFlorin, your plugin sold a Vera box to someone with no prior Home Automation experience.  One question: is it possible to add a scene trigger based on the physical "D" button being pressed?  I ask because this button has no zone / is otherwise useless on the SE panels.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on February 06, 2012, 10:32:36 am
One question: is it possible to add a scene trigger based on the physical "D" button being pressed?  I ask because this button has no zone / is otherwise useless on the SE panels.

AFAIK pressing one of the letter buttons with no command assigned to it doesn't send any signal visible by the AD2USB, so that isn't possible. Can't you assign a macro to it?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: nas4a on February 06, 2012, 08:13:13 pm
Running UI4 - I had a successfully running setup until just the other day.  I'm not sure what changed.  I added an additional door lock, and tried to do some scenes where the door lock will trigger alarm settings. 

It says "Connection Down" in the message dialogue.  Any ideas?  Everything is connected correctly, and the panel accepts commands from the physical keypads for the system.  It's just like Vera doesn't communicate right anymore.

Any thoughts?  Do I need to re-boot?  If so, in what order?  (AD2USB first?  Vera first?) 
Do I need to reconfigure the serial port or something?

Edit to add:  If I click I/O on the panel device, nothing happens.  I think this is how I set up the serial port initially, but it doesn't do anythign now.  Help!

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on February 07, 2012, 04:38:08 am
@nas4a
Go to Apps >> Develop Apps >> Serial Port configuration, re-assign the port to the alarm device and see if this helps.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: nas4a on February 07, 2012, 09:02:13 am
Got it.  Thanks!!!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on February 15, 2012, 08:39:32 am
Where can I get the latest plugin files for Vera2 UI4?

I'm having an issue where my Dashboard in Vera and Automator.App is showing Faults in zones that I know are not faulted while in Ready mode. I'm able to Arm the alarm without any issues. It seems that after a zone is tripped while in Ready mode (say a door opens), the zone stays faulted in Dashboard even after the doors is shut.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on February 15, 2012, 08:45:06 am
@shep29,
Here is the link for the latest build: http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser/trunk (http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser/trunk)

You might also check your TTL setting under the advanced tab of the alarm panel device.  I believe it is the timeout for how long the plugin waits to check if a zone fault has cleared.  (TTL= Time To Live?)

Hope this helps,
kbmcguire
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on February 15, 2012, 09:02:27 am
@kbmcguire

Thanks, turns out I was running the latest version but I uploaded the files anyway and reloaded everything. Still showing Faults on most zones. TTL is set to 60. Do you know what number works better?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on February 15, 2012, 09:07:45 am
@shep29,
I am at 60 also, that's the default.  I assume your serial port is configured properly?  Anytime you unplug the AD2USB adapter you have to go in and set up the serial port settings again.  I've noticed symptoms like you are describing when I forget to reconfigure the port myself.  You should also get a comm failure message if this is the case.

kbmcguire
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on February 15, 2012, 09:16:08 am
@kbmcguire

The serial port seems set. I don't get any comm failures and I can Arm/Disarm the alarm from the Dashboard or mobile device no problem. Still showing Faults on most zones in Dashboard while the Alarm is in Ready mode.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on February 15, 2012, 09:34:25 am
@shep29,
What does the FaultedZones under the advanced tab of the alarm panel device have in it? 

Also, is your cheat sheet filled out?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on February 15, 2012, 10:09:59 am
FaultedZones says "12,9" but these zones are not faulted. Yes the cheat sheet is completely filled out. I have 28 total zones.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on February 15, 2012, 10:29:46 am
@shep29,
Have you tried resetting the panel?  You might also try disarming the system from the keypad a couple of times in a row.  I've had to do this following an alarm to clear everything, the second time clears the fault memory or something.  I imagine you wouldn't be able to arm it if this was the case but it can't hurt to try anyway.

Also, this may seem like a dumb question but have you checked to ensure nothing is disabled via the checkbox under the advanced tab?  I would check the zones (child devices) as well as the panel and partition devices.  I know you said it is arming and disarming but I'm running out of ideas. 

Sounds like you may need to dig into the logs to analyze the messages from the panel first.  If you can confirm that those zones aren't somehow being reported as faulted then @mcvflorin will probably need to step in and help you. 

Hoping @mcvflorin will jump in here soon...

kbmcguire
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on February 15, 2012, 10:43:03 am
Hoping @mcvflorin will jump in here soon...
Here I am :). Thanks for the help.

@shep29
I believe there are some scenarios I haven't tested, like what happens if Luup is reloaded while a zone is faulted. I'm going to test this and try to come with a solution.

Edit: Indeed, if the Luup engine is restarted while a zone is tripped, that zone won't be untripped. The problem is that the information about when a zone was last tripped is kept in memory, which is lost when Luup restarts. I'm working on a quick fix for this right now.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on February 24, 2012, 09:08:39 am
I fixed the faulted zones issue in version 2.43. There's also another issue a user reported which I fixed: zones with leading zero(s) couldn't be deleted.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on February 24, 2012, 11:01:35 am
@mcvflorin

I keep getting a "Startup Lua Failed" error. Also, the buttons on the Partition and Panel modules are jumbled. See images. I uploaded the new files, restarted Luup, refreshed Firefox browser and rebooted my Vera2. Ideas?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on February 24, 2012, 11:10:11 am
I assume you got the files from trunk. Please get them from tags/2.43_UI4: http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser/tags/2.43_UI4
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on February 24, 2012, 11:45:42 am
OK that worked, no more Lua error, however, I see still see faulted zones. There's even a glass break sensor faulted, which is odd. See image.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on February 24, 2012, 12:02:36 pm
I see still see faulted zones.
I think I know why this happens. Working on a fix right now.

Edit: Done, I commited over the 2.43_UI4 tag, so you should get the files from there again. You can get only the Lua file.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on February 24, 2012, 01:36:52 pm
Now getting "Startup Lua Failed" error again after uploading the new file...
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on February 24, 2012, 01:48:55 pm
Are you sure you didn't get the UI5 file? The first line from the Lua file should be this one if it's the UI4 version:
Code: [Select]
module("L_VistaAlarmPanel1", package.seeall)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on February 24, 2012, 02:00:00 pm
I downloaded the entire zip file this time but uploaded just the Lua file and now not getting the Startup error but still seeing faulted zones. Image attached.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on February 24, 2012, 02:04:52 pm
My alarm panel no longer shows up on my home buddy app, works fine on the browser. Update related maybe.?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on February 24, 2012, 02:10:58 pm
@shep29
Can you take a look at the logs and tell me what error do you see?

@SteveZ
Most likely it's because of the update. I changed the device type of the partition because it was conflicting with the other alarm panel plugins.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on February 24, 2012, 02:43:09 pm
Sorry, don't know how to view the logs.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on February 24, 2012, 02:48:27 pm
Put this URL in the browser: http://<Vera_IP>/cgi-bin/cmh/log.sh?Device=LuaUPnP

Look for the lines that start with 01, those are the critical messages (including errors). While watching the log with that URL, reload LuaUPnP.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on February 24, 2012, 02:59:59 pm
I'm getting a "Server Not Found" error for that URL.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on February 24, 2012, 03:02:33 pm
I will have to check this on Monday, I'm going home now and I'll be AFK the entire week-end.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mattwhit on February 26, 2012, 05:32:11 pm
Same problem here... No alarm options showing up on the Home Buddy app.  Also, alarm triggers are not working.  Can see and control from the UI5 interface.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on February 28, 2012, 08:05:06 am
I will have to check this on Monday, I'm going home now and I'll be AFK the entire week-end.

Suddenly, all of the previous Faulted zones are now showing no faults. Yesterday, most just went away, except a few, and so I tripped them and did a Luup and Browser refresh and they went away as well. Prior to this, I changed TTL to 120 since I have 28 zones so maybe that did the trick? I'll keep monitoring this.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on February 28, 2012, 09:09:11 am
I'm still at plugin version 2.41 but I noticed this weekend after unplugging the AD2USB to add some new zwave devices, and then reconnecting everything, any zones that were tripped prior to being disconnected were still indicating tripped even though they were not. I found that tripping the zone and returning it to normal would update the status on Vera. I wonder if this is what you were experiencing @shep29. 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on February 28, 2012, 10:38:03 am
I updated the plugin again. This time it should really work.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on March 01, 2012, 03:16:09 pm
Still not showing up in home buddy app. Plugin version still 2.43, any ideas?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on March 02, 2012, 04:14:27 am
As I said, I changed the device type of the partition to prevent it from conflicting with the other alarm panel plugins. If you're not using any other alarm panel plugin upload the attached files on Vera.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on March 02, 2012, 07:52:05 am
As I said, I changed the device type of the partition to prevent it from conflicting with the other alarm panel plugins. If you're not using any other alarm panel plugin upload the attached files on Vera.

@mcvflorin

Are those 2 files for UI4 or UI5?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on March 02, 2012, 07:58:30 am
Those are for UI5. These are for UI4.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on March 02, 2012, 07:09:55 pm
Thanks mcvflorin, worked great
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mattwhit on March 03, 2012, 11:19:16 am
Home Buddy is working for me again too.  Triggers still are not firing. ( I have an automation that shuts everything off and locks all of the doors; triggered by an "armed away" state; also one for bedtime "night stay") Both used to work.  No longer firing...

mcvflorin, thank you for all of your work on this app!!!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on March 03, 2012, 01:52:01 pm
I had one of my triggers also not working, motion sensor to turn on a light.  i deleted the scene and re-did it and it is working now, so you might try that.

edited to add. try changing the trigger from stay instant and stay away to just armed.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mattwhit on March 03, 2012, 02:04:25 pm
Setting the trigger to "Armed state" > "Device is ARMED" does trip the trigger... Used to be able to use for armed away... If I set to armed stay, I really don't want the everything to shut down.  I created the scene using 'return not (luup.is_night())' so it will only run during the daylight hours...  Thanks for the suggestion Steve...
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on March 07, 2012, 03:55:37 pm
Any updates on this? Would be a great feature for us Vista owners! :)

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.

Now we know what will be the new feature in the next plugin version. :)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on March 08, 2012, 03:44:53 am
@waynebrady
Not anytime soon. I still got the GE Concord plugin in the works and some features to add to the Elk plugin.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: realbass1 on March 16, 2012, 01:56:13 am
Those are for UI5. These are for UI4.

Awesome! I just updated to the latest version and these files were exactly what I was looking for. Thanks MCVFlorin!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: realbass1 on March 16, 2012, 02:40:14 pm
Alrighty- just installed the latest version.

I'm currently still having issues with a couple of things. After installing the new plugin last night, there have been two instances where my alarm auto armed itself in Night-Stay mode (which also happens to be what I have my "A" button on my keypad set to- not sure if it's sending an "A" to the panel or not). When this happens I am usually able to immediately disarm it. It happen while I was away from the house today and my wife was walking around downstairs after it armed itself and set the alarm off. While she was able to silence the alarm, we are still having problems with reset the alarm into "ready" (which I'm assuming is because the plugin is sending * to get alarm status).

Anyone else still seeing these issues?

Thanks!!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mathewss on March 17, 2012, 10:19:10 pm
Alrighty- just installed the latest version.

I'm currently still having issues with a couple of things. After installing the new plugin last night, there have been two instances where my alarm auto armed itself in Night-Stay mode (which also happens to be what I have my "A" button on my keypad set to- not sure if it's sending an "A" to the panel or not). When this happens I am usually able to immediately disarm it. It happen while I was away from the house today and my wife was walking around downstairs after it armed itself and set the alarm off. While she was able to silence the alarm, we are still having problems with reset the alarm into "ready" (which I'm assuming is because the plugin is sending * to get alarm status).

Anyone else still seeing these issues?

Thanks!!

What is your AD2USB firmware version?
Re
 Sean M

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: realbass1 on March 18, 2012, 12:19:45 am


What is your AD2USB firmware version?
Re
 Sean M

I actually don't remember, but I do know I had the latest firmware when I installed everything 6 months ago. Has new firmware come out since then?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mathewss on March 18, 2012, 12:58:40 am


What is your AD2USB firmware version?
Re
 Sean M

I actually don't remember, but I do know I had the latest firmware when I installed everything 6 months ago. Has new firmware come out since then?

Yes several versions. Connect with a terminal program such as putty and press V when its booted up and paste back the version string.

Re
 Sean M
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: realbass1 on March 18, 2012, 01:19:44 am


Yes several versions. Connect with a terminal program such as putty and press V when its booted up and paste back the version string.

Re
 Sean M

!VER:000005a7,V2.2a.2,TX;RX;SM;VZ;RF;ZX;PE;RE;AU

Thanks!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mathewss on March 18, 2012, 10:15:09 pm
Please upgrade to 2.2a.4 that. 2.2a.2 only required sending a single character down to the AD2USB to trigger a F1-F4 button. 2.2a.4 requires sending 3 so tripping by accident an alarm is much more difficult. 2.2a.4 has a few glitches but nothing critical. If you want better support for Vista 128 or 50 panels you should try the beta 2.2a.5


Re
 Sean M
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: realbass1 on March 18, 2012, 11:56:45 pm
Please upgrade to 2.2a.4 that. 2.2a.2 only required sending a single character down to the AD2USB to trigger a F1-F4 button. 2.2a.4 requires sending 3 so tripping by accident an alarm is much more difficult. 2.2a.4 has a few glitches but nothing critical. If you want better support for Vista 128 or 50 panels you should try the beta 2.2a.5


Re
 Sean M

Thank you Sean. I have just completed the upgrade and will provide an update soon. Thanks!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mattwhit on March 19, 2012, 11:50:05 pm
Firmware just upgraded to 1.5.346 (UI5)... lost all visibility with Home Buddy...
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: garrettwp on March 20, 2012, 12:11:28 am
Could be related to HomeBuddy. You can give my app a try. It is available in the market (AutHomation and AutHomationHD) or you can have a look in the Remote forum under AutHomation where you can try a beta vera of version 2.0. The alarm should be supported under my app. But this can give you an idea if this is a plugin issue for the alarm panel or if it is a HomeBuddy issue.

- Garrett
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mattwhit on March 20, 2012, 12:18:52 am
Thanks Garrett...  I do have your app installed and it does work...
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: garrettwp on March 20, 2012, 12:29:18 am
Thanks for confirming that it works. So it appears that HomeBuddy is not working. I know that rakstar is working on a newer version. So hopefully that will be fixed in time.

- Garrett
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mattwhit on March 20, 2012, 12:39:16 am
NP... just loaded the Beta... Like the interface, very slick!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Tired on March 20, 2012, 12:47:25 am
Stop me if you've heard this before.... but I've gone through all 25 pages of this and haven't found it.

I've got a rebranded 20SE that's working fine with this plugin, but I have a slightly annoying problem.

Anytime there's some fault (say, me walking by the motion sensor), all the panels (remember this is an SE) say "Fault 08 Motion Sensor" and then on the next message (either a repeat of the "Fault 08..." or "****Disarmed**** Ready to arm") their display backlights turn on for a minute or so.

Is anybody else experiencing this too? Maybe those with an SE alarm?

I assume it's the "*" being sent that turns on the backlight, right? Can the plugin refrain from sending the "*" if the message starts with "Fault" since it's obviously reporting a fault. Or look for the "Disarmed. Press * to show faults" message?

Yeah, I can look at it as a feature- I know that Vera is communicating with my alarm panel every time I see that backlight. But the problem is that if my wife notices this, I might have to fess up and admit that I've bought Vera, the AD2USB, and a whole bunch of other stuff that she hasn't noticed yet.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mattwhit on March 20, 2012, 01:15:23 am
I too noticed that my 6160 keypad that is mounted by the panel lights up and displays the fault.  This was a new keypad so I thought it was a new feature... Makes sense that the AD2USB is causing this...  I have two other panels (both graphic touch TUXW and 6271) no problem with these... Panel is Vista 21ip...
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on March 20, 2012, 04:28:29 am
@Tired and @mattwhit
Please try the attached file for your UI.

Edit: Corrected the attached files.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mattwhit on March 20, 2012, 11:48:33 am
Uploaded, now I'm getting "Ademco Vista Alarm Panel[83] : Lua Engine Failed to Load"
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on March 20, 2012, 11:55:27 am
I fixed the files now, please download and try again.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mattwhit on March 20, 2012, 12:17:04 pm
Thanks mcvflorin...

Working again but no go on the Home Buddy app and the 6160 panel still lights and automatically shows the fault.  (unplugged the AD2USB from Vera 2 and faulting notification on the panel returned to normal; zone tripped displays fault press * with no display backlighting) this doesn't bother me, I actually kind of like seeing the fault but can understand where constantly tripping a motion sensor would get annoying
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Tired on March 21, 2012, 12:16:40 am
Thanks! It's working for me under UI4.

After the initial disarm, it shows "Disarmed-Press * to show faults" and then the backlight turns on, but subsequent trips of the sensors don't cause the backlight to turn on.

As mentioned before, this is on what I assume to be a rebranded SE alarm with the common panel address. Though the key layout of the panel is different from the 6160, it has a alpha-numeric (bitmapped) display identical to the 6160 family.

Homebuddy also seems to work, though I haven't exercised it that extensively.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on March 21, 2012, 04:57:37 am
@mattwhit
Please upload the files attached on these posts for compatibility with HomeBuddy.
http://forum.micasaverde.com/index.php/topic,7266.msg64937.html#msg64937
http://forum.micasaverde.com/index.php/topic,7266.msg64955.html#msg64955

The plugin still sends '*' when it receives the message Press * for faults, but it doesn't send when the message is FAULT xx.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mattwhit on March 21, 2012, 02:01:27 pm
mcvflorin,

I uploaded those files back on March 2nd.  It fixed the issue.  Just reloaded them, still no Home Buddy recognition.  AutHomation works fine.  One other note: My Apps shows the AD2USB plugin at 2.44, the Ademco Vista Alarm Panel device indicates 2.45. Screen shots attached.
 I'm running UI5 1.5.346.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on March 22, 2012, 05:42:58 am
One other note: My Apps shows the AD2USB plugin at 2.44, the Ademco Vista Alarm Panel device indicates 2.45. Screen shots attached.

That's normal, the Lua file you uploaded is from version 2.45. When did Home Buddy stopped recognizing the plugin?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: realbass1 on March 27, 2012, 01:00:49 pm
Please upgrade to 2.2a.4 that. 2.2a.2 only required sending a single character down to the AD2USB to trigger a F1-F4 button. 2.2a.4 requires sending 3 so tripping by accident an alarm is much more difficult. 2.2a.4 has a few glitches but nothing critical. If you want better support for Vista 128 or 50 panels you should try the beta 2.2a.5


Re
 Sean M

Since the upgrade I have not received a single false arming. Thanks!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Tired on April 01, 2012, 03:10:28 pm
Again, stop me if you've heard this before, but my dashboard was reporting a door that triggered even though it had been closed longer than the timeout. Opening and closing the door didn't cause the problem to fix itself, but hitting the refresh/reload button (that one with the two circular arrows) rebooted things.

Is this a known/addressed problem, or is it possibly a quirk of my system?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin 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?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Tired 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.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: stevekcameron 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!
Title: Re: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: jwiz 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
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves 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:

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!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: stevekcameron 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.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: jimpapa 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)


Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady 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!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin 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 (http://wiki.micasaverde.com/index.php/ExpressControls3in1)).
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: jimpapa 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 (http://wiki.micasaverde.com/index.php/ExpressControls3in1)).
[/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.

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on April 09, 2012, 10:32:28 am
@jimpapa
Yes, this parameter is configurable.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: jimpapa on April 09, 2012, 02:11:14 pm
Got it!  Changed TTL value.  Worked as expected   Thanks !!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves 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.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin 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.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves 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. :(
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on April 10, 2012, 11:37:12 am
I made you project admin, please see if you can checkout the code.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves on April 10, 2012, 12:34:41 pm
That worked, thanks! (How's that for fine grained permissions? :)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: stevekcameron on April 10, 2012, 03:40:57 pm
So 31 is added as the keypad address.  However, I still get a "connection down" message.

I have gone back to the ad2usb via Putty and verified its connecting.  The serial connections is set at 115200.  I was getting a "missing port" error before, and that corrected it. 

Anyway, I'm not sure what I'm doing wrong.

Thanks for your help.

Steve
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: stevekcameron on April 10, 2012, 05:12:19 pm
I have no idea what changed.. but suddenly the tech Gods have shined down on me and its working.. now I can start messing with all the cool stuff you guys are doing!!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves on April 10, 2012, 08:09:59 pm
@mcvflorin,

The code to handle the "!REL", "!EXP", and "!RFX" messages has been checked into trunk. Users just have to enter the zone address/channel (for REL, EXP) or serial no / loop (for RFX) into the cheat sheet, and the plugin will then trigger faults / clears using the "!" messages for those zones. For any zones without entered serial numbers, addresses, etc., the behavior is unchanged from the previous implementation (i.e. "*" to scroll through faults, and TTL for zone clear)

I actually didn't alter the TTL behavior at all, even for zones with serial numbers / addresses. So, if for some reason, the zone is not cleared by RFX, REL, etc., the TTL will clear the zone.

Also, my code doesn't verify that any entered RFX devices are assigned to zones in the panel, so the potential is there for Vera to use RF devices that aren't configured in the panel. (Want to know if your neighbors are home? Just configure their device serial numbers as a virtual zone in your Vera :)

Here are some possible issues:

1. With RFX fault and clear messages, a motion detector zone is typically only in the faulted state for a few seconds. This contrasts with the the TTL clear method, where the zone could be faulted for many minutes at a time. If this causes problems for the users, it may make sense to add an configuration option for "TTL clear only" which would configure the plugin to ignore REL, EXP, and RFX zone clear messages.

2. I still don't know if it's a good idea to leave TTL "enabled" for zones that will be also cleared directly by the REL, EXP, and RFX messages. My testing hasn't shown this to be a problem, but we'll see how it works for everyone else.

Also, if you haven't already seen it, there's a good guide on the NuTech site for configuring virtual REL devices that are triggered by any on-board hard wired zones. (Zones 1-8) As the zones are on the same board as the panel CPU, the AD2USB device can't "sniff" for events unless they are configured to send REL messages.

http://www.nutech.com/index.php?option=com_fireboard&Itemid=74&func=view&id=656&catid=4#656

Let me know if you see any problems,

Hugh

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on April 13, 2012, 05:14:13 pm
@hugheaves,

Any chance this is compatible with UI4?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves on April 13, 2012, 11:27:41 pm
@hugheaves,

Any chance this is compatible with UI4?

I'm almost certain that this will be compatible with UI4. The changes are in the "common code" that's used by both UI4 and UI5, and are written in a fairly generic way. That said, I don't actually have a UI4 device on which to test, so I won't know for sure until someone with access to UI4 has chance to try things out.

And of course, it's obviously up to @mcvflorin to decide what code and features go into the official releases. The whole thing has to "pass muster" first. :)

Hugh
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on April 18, 2012, 08:49:55 am
I really need to make a version compatible with both UI4 and UI5...

Until then, the changes from the trunk files must be added to the files in branches/UI4.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Thinkfire on April 19, 2012, 02:21:23 pm
Hi,

First off, THANK YOU for this plugin.  What a lifesaver.  :)

One issue I am having and can't figure out.  I've read at least 3/4s of this thread and not seeing a solution.

I have a zone called Slider.  I set up a scene, whenever slider is faulted, the back porch light is triggered and it sends a notification to my email.  I set a notification in the actual slider zone. 

What happens:

Slider is opened, back porch light comes on, I get a notification.

Great!

Except...

I close the slider.

I try to turn the back porch light off, it turns back on instantly.  I wait 2 minutes.  Try again.  I wait 5 minutes, try again.

The only way I can get my back porch light to stay off is by disabling the scene that turns it on when the slider sensor is faulted.

It's like the system still thinks my slider door is open....even though my alarm shows a ready state, so....it knows the zone is no longer faulted...

Hmmm?  Ideas?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves on April 19, 2012, 03:15:27 pm
I really need to make a version compatible with both UI4 and UI5...

Until then, the changes from the trunk files must be added to the files in branches/UI4.

Ah, I missed the UI4 branch... I've checked in the files there as well. (there was only a one line difference between the existing UI4 and UI5 versions due to the different module() mechanism).

However, I just realized that one of the "minor" changes I made in the trunk version adds a requirement for the "bit" library [ i.e. require ("bit") ] which I use to help decode the !RFX messages. On UI5, this loads the nixio.bit native library, but not having access to a UI4 box to test on, I don't know if this library is available on UI4.

If there is no "bit" library on UI4, let me know, and I'll rewrite the code without that dependency.

Hugh
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on April 19, 2012, 04:29:13 pm
@hughheaves

I have a Vera2 running UI4 and I uploaded your two new files but I keep getting a "Startup Lua Failed" error. I grabbed them from Branches/UI4...
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Thinkfire on April 19, 2012, 04:54:55 pm
Hi,

First off, THANK YOU for this plugin.  What a lifesaver.  :)

One issue I am having and can't figure out.  I've read at least 3/4s of this thread and not seeing a solution.

I have a zone called Slider.  I set up a scene, whenever slider is faulted, the back porch light is triggered and it sends a notification to my email.  I set a notification in the actual slider zone. 

What happens:

Slider is opened, back porch light comes on, I get a notification.

Great!

Except...

I close the slider.

I try to turn the back porch light off, it turns back on instantly.  I wait 2 minutes.  Try again.  I wait 5 minutes, try again.

The only way I can get my back porch light to stay off is by disabling the scene that turns it on when the slider sensor is faulted.

It's like the system still thinks my slider door is open....even though my alarm shows a ready state, so....it knows the zone is no longer faulted...

Hmmm?  Ideas?

Some additional information:

The Slider Zone tile still has a red guy on it.  All my zones that have been trpiped since installing this are red and not resetting back to normal.  I also noticed that under all of the tripped ones, under the advanced tab, there is this:

Variables
Armed   1
Tripped   1
LastTrip   random number (assuming its a time stamp)

and the ones that have not been tripped yet, don't have a lasttrip setting and

Variables
Armed   1
Tripped   0

My alarm system recognizes these zones as no longer being faulted and displays a ready state in my UI4 tile for the alarm partition....so....it would appear that it's not resetting the zones once they are tripped.  How do I fix this?

I've also noticed that it's not reporting the zone thats faulted.  It's only saying Ready or NotReady.  I have tried to store the PIN, but that doesn't seem to help.  The PIN works when I Arm, Disarm, Stay etc the alarm...so....it's not storing the PIN or its not using it to retrieving the zone that is at fault?

EDIT:  Zones are resetting now.  For some reason the TTL was set to 1200000, lol....

I am still not able to get it to show the faulted zone when its in a NotReady state.  When you store the PIN, is there any indicator that it is actually storing the PIN successfully?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Thinkfire on April 19, 2012, 07:30:55 pm
I've created several test scenes for zones to trigger another event (outdoor lighting when a door is opened).

I also setup notifications so that I could see if it was triggering.

I got things working properly so I decided to remove the notifications.

Saved.

Notification was back in there again.  This time twice.

Deleted.

Saved.

Back in there 3 times.

Deleted.

Saved.

Back in there 4 times.

So I decided to also delete the scenes that was testing to see if that would help.

Deleted the scene.

Saved.

Now the scene is back in there twice.

Deleted the scene.

Saved.

Now the scene is back 3 times.

...

I deleted the other test scene I had setup.

Same thing.  Keeps replicating.


HALP!  I got many copies of scenes and notifications.  And they are all related/linked to the zones in some form or shape.  I don't know how to get rid of them.

EDIT:  ACK!  Every time I click to save a change (even on stuff totally different) it creates another instance of those 2 scenes.  I have like 13 duplicates of 2 different scenes now.  I can't work on anything unless I want more duplicates to pop up.  *facepalm*

Getting 42 text messages everytime someone opens that slider.....agggghhhhhhH!!!!!!  lol

EDIT:  The only way to fix it was to delete the entire partition and alarm panel module.  Ill have to re-add everything and see how it goes this time.

EDIT:

I added the alarm panel back and all those dang scenes came back....ugh, I am so stuck....now they won't even go away after deleting the alarm panel again.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves on April 19, 2012, 10:55:08 pm
I have a Vera2 running UI4 and I uploaded your two new files but I keep getting a "Startup Lua Failed" error. I grabbed them from Branches/UI4...

@shep29, thanks for trying it out. I believe I've fixed the issue (when merging my UI5 changes into the UI4 branch, I accidentally copied the UI5 init function name). If you have a minute, download it and give it a try.

@mcvflorin, Does MCV have any Internet accessible UI4 devices that I could use for testing UI4 code? I haven't been around long enough to aquire a collection of Vera's (yet) like most of the other developers. :) If I had SSH access, it wouldn't even need an AD2USB as I could just redirect ser2net over an SSH TCP tunnel back to the one I have here.

Hugh
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on April 20, 2012, 07:18:33 am
@hugheaves  Downloaded (although there was no option for downloading as a zip file) and seemed to install OK. Version now says 2.45. Can't open Cheat Sheet tab though. Says "Opening Cheat Sheet..." Normally, I would have to click on the Cheat Sheet tab twice to get it to open but that's not working anymore.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on April 20, 2012, 12:39:39 pm
I've also noticed that it's not reporting the zone thats faulted.  It's only saying Ready or NotReady.  I have tried to store the PIN, but that doesn't seem to help.  The PIN works when I Arm, Disarm, Stay etc the alarm...so....it's not storing the PIN or its not using it to retrieving the zone that is at fault?

EDIT:  Zones are resetting now.  For some reason the TTL was set to 1200000, lol....

The plugin displays only the partition status. Zones have their own device, so to see which zone is faulted just look at its device. If it's a red running man then this means the zone is faulted/tripped.

If the zone hasn't been faulted for at least 20 minutes (1200 seconds) then it is reset (it is set as not faulted/tripped). 20 minutes is the default OnTime (http://wiki.micasaverde.com/index.php/ExpressControls3in1#On_Time) value for the 3-in-1 sensors, so I decided to use the same value for this plugin's sensors.

The PIN code is used for getting the faulted zones only if you have more than 1 partition.

As for your other issues, I don't think they are caused by the plugin. Please enable Tech Support and submit a trouble ticket so I can investigate. I will check it out on Monday.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves on April 20, 2012, 01:49:55 pm
@shep29,

Thanks for trying (again!). Seems like a little improvement, at least it didn't blow up right away. :) You mentioned that you'd copied my two new files from branches/UI4... Did you perchance copy the other files from branches/UI4 as well?

I'm asking because you may not have known there were actually other modified (future 2.45+) files in branch/UI4 that were there before I made my changes. If you didn't grab all the files, you may now have an "out of sync" mix of code from the released 2.44 and (the yet to be released) 2.45+.

If that's not the problem, I'm going to have to find a way to run my code on UI4. (I see that MCV's selling some super cheap refurb Vera 2's on ebay, so that might be an option :)

Hugh
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on April 20, 2012, 02:16:46 pm
@hugheaves

OK, I uploaded all files and can now get the Cheat Sheet with the new Address/Serial# and Channel/Loop # columns. Looking good!

Do I have to remove each of my 21 wireless zones and add them back in with the Serial #/Loop # in order for this to work? I don't see an "edit" button :)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves on April 20, 2012, 02:34:53 pm
@hugheaves
Do I have to remove each of my 21 wireless zones and add them back in with the Serial #/Loop # in order for this to work? I don't see an "edit" button :)

Yeah, unfortunately, I didn't try to add any edit functionality to the GUI. It probably makes sense to do so now that there's more places to make a typo in the settings.

A work around is that if you add another device with the same zone number and click "Add", the new settings will replace the existing settings for that zone. That way, you can at least cut and paste your existing zone name into the name field, add the serial no/channel info, and then just click "Add" to add the new settings.

The other way (much more risky, but useful is you have a lot of zones), is to manually edit the "Zone" variable itself. You can cut and paste the entire zone variable value into a text editor, make your changes and then paste it back into the Zone variable value. Beware that there is not much (if any) validation on the raw zone variable, so if you mess something up (add invalid chars, newlines, extra or missing delimiters, etc.) you'll probably have to wipe the entire plugin and start over.

The format of the variable is:

ZoneNumber1-AddressOrSerialNumber1-ChannelOrLoopNumber1-ZoneName1;ZoneNumber2-AddressOrSerialNumber2-ChannelOrLoopNumber2-ZoneName2;ZoneNumber3-AddressOrSerialNumber3-ChannelOrLoopNumber3-ZoneName3

etc... Notice there is no semicolon after the last zone, and there are no line breaks.

Hugh
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Thinkfire on April 20, 2012, 03:42:33 pm
I've also noticed that it's not reporting the zone thats faulted.  It's only saying Ready or NotReady.  I have tried to store the PIN, but that doesn't seem to help.  The PIN works when I Arm, Disarm, Stay etc the alarm...so....it's not storing the PIN or its not using it to retrieving the zone that is at fault?

EDIT:  Zones are resetting now.  For some reason the TTL was set to 1200000, lol....

The plugin displays only the partition status. Zones have their own device, so to see which zone is faulted just look at its device. If it's a red running man then this means the zone is faulted/tripped.

If the zone hasn't been faulted for at least 20 minutes (1200 seconds) then it is reset (it is set as not faulted/tripped). 20 minutes is the default OnTime (http://wiki.micasaverde.com/index.php/ExpressControls3in1#On_Time) value for the 3-in-1 sensors, so I decided to use the same value for this plugin's sensors.


Also, I noticed the red guy in individual zones.  Thats working.

The PIN code is used for getting the faulted zones only if you have more than 1 partition.

As for your other issues, I don't think they are caused by the plugin. Please enable Tech Support and submit a trouble ticket so I can investigate. I will check it out on Monday.

OK.  Well I finally got them to go away permanently.  I deleted the Alarm System altogether, readded it, the scenes all came back with it, but this time manually deleting them worked and they didn't replicate like they were before.  Recreated my zones.  All seems fine, they haven't come back.  If you still want to take a peek, I would be more than happy to submit a ticket.  Otherwise, I am good to go...for now.

I just thought I remembered the actual alarm panel box showing the faulted zone as well, I kind of liked that.  As I have my zones scattered in different categories based on their locations, so I have to scrolled around to see which zone is currently faulted.  That and each zone stays faulted for 20 minutes (per your default setting) so I can see multiple zones faulted even though they aren't anymore.  Any chance you can put the faulted zone back in the same back with the Ready/NotReady box where it shows the status?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on April 20, 2012, 07:34:47 pm
@hugheaves

This update you did sounds great and was wondering where i can find it, or do i need to wait for the official release?

Thanks.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on April 20, 2012, 08:28:21 pm
@hugheaves

OK, I installed all files and everything seems to be working properly. I added the serial/loop #'s for all my wireless zones. Now I guess the question is, what can I do with this new functionality? Ideally, I'd like to be able to get alerts from my motion sensors but only when my alarm is armed in Stay mode.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on April 20, 2012, 09:09:10 pm
I'm agree with ThinkFire. I liked that the faulted zones showed, but it has since disappeared from the previous major release :( any chance it can be added back in?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves on April 21, 2012, 01:07:04 pm
This update you did sounds great and was wondering where i can find it, or do i need to wait for the official release?

@SteveZ, the latest code can be downloaded from code.mios.com:

UI5: http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser/trunk
UI4: http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser/branches/UI4

If you decide to install, make sure you grab the latest versions of all the files, not just the ones I had modified. There are various ways to upload them. In UI5, you can upload the code using the Vera "Apps" tab. (Select "Apps" -> "Develop Apps" -> "Luup files").

Before you jump in, keep in mind that:

I don't want to scare you off, but want to make sure you understand the implications. :)

On the plus side, it would be nice to have a few more people trying out the new code.

Hugh
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves on April 21, 2012, 01:20:57 pm
OK, I installed all files and everything seems to be working properly. I added the serial/loop #'s for all my wireless zones. Now I guess the question is, what can I do with this new functionality? Ideally, I'd like to be able to get alerts from my motion sensors but only when my alarm is armed in Stay mode.

@shep29, glad you got it working. As you know, with the new code, Vera will see your motion sensors being triggered regardless of the arming mode of the actual partition. However, you can tell Vera whether to respond to these triggers using the arm/disarm mode of the individual motion sensor devices.

If you only want to see alerts in stay mode, I'd create two scenes: One that arms all the individual motion sensors with a trigger of the actual partition being armed in "stay" mode. And another that disarms the individual sensors when the partition is put in a mode other than stay. Then, you can use the triggers of the individual motion sensors to create your alerts, but specify that the triggers are only activated when the motion sensor is in the "armed' mode.

Does that answer your question?

Hugh
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on April 21, 2012, 10:18:58 pm
@hugheaves

Ok, I set up two scenes. One triggers as an event when the alarm is armed in Stay mode and one triggers as an event when the alarm is in Ready mode (off). Then I set the command tabs for each scene to Arm and Disarm each motion depending on which event triggered (Arm for Stay and Off for Ready). Then I set up the notifications tab of each individual motion to alert me when an Armed motion is tripped. To test, I set my alarm to Stay, walked around the house to trigger the motions and the alerts started coming in! I hit my SMS alert quota quickly though so can't test the Ready scene until tomorrow. Very cool! Thanks!

One thing I forgot to add is that I'm unsure of the addresses/channels of my hard wired zones # 1-8 so can't set those up. Any insight on that? Just realized those need to be set up in the panel programming from one of your older posts where you reference one of the Nutech forums here http://www.nutech.com/index.php?option=com_fireboard&Itemid=74&func=view&id=656&catid=4#656

***Update*** OK I tried programming the relays for my hardwired motion detector zones # 5-8 according to the instructions in my Vista 20P manual and using the Nutech site but no dice. I keep getting a "Check 112 Error Relay Module". From what I can tell, 112 refers to the Address/Channel I put in, which was 12/1, 12/2, 12/3 and 12/4. Seems like it is looking for the physical relay wired to my panel. Do you have to do something to special to tell the panel that these are virtual relays?   
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on April 23, 2012, 09:02:46 am
I liked that the faulted zones showed, any chance it can be added back in?

Would it be OK if the status of the zones were shown in the Cheat Sheet?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves on April 23, 2012, 06:06:30 pm
I keep getting a "Check 112 Error Relay Module". From what I can tell, 112 refers to the Address/Channel I put in, which was 12/1, 12/2, 12/3 and 12/4. Seems like it is looking for the physical relay wired to my panel. Do you have to do something to special to tell the panel that these are virtual relays?   

Did you turn on the virtual relay support in the AD2USB itself? I believe it's turned off by default. If you haven't already, you'll need to use a terminal emulator to access the AD2USB USB serial port directly, and use the "!" menu command to turn on the virtual relay devices in the AD2USB.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on April 24, 2012, 08:14:59 am
Did you turn on the virtual relay support in the AD2USB itself? I believe it's turned off by default. If you haven't already, you'll need to use a terminal emulator to access the AD2USB USB serial port directly, and use the "!" menu command to turn on the virtual relay devices in the AD2USB.

No I didn't and my PC crashed yesterday so I can't hook up to the AD2USB to change settings! I hijacked my wife's Mac Book Pro but having trouble getting the virtual keypad GUI to recognize the AD2USB in the USB slot. Scanning the Nutech forums now for a solution...
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves on April 24, 2012, 09:50:26 am
@shep29,

You can also program the AD2USB while it's still connected to your Vera from the Vera command line. (via SSH). The commands are:

1. Connect to Vera via SSH:

    ssh root@Your.Vera.IP.Address

2. Stop the Luup stack: (command may be different on UI4)

    /usr/bin/Stop_cmh.sh

3. Start ser2net to connect to the AD2USB and listen on TCP port 4444 in telnet mode

    ser2net -C "4444:telnet:0:/dev/ttyUSB0:115200 1STOPBIT NONE"

4. Telnet to port 4444 (i.e. connect to ser2net / AD2USB):

    telnet localhost 4444

5. Configure AD2USB with the "!" command. When done press "Ctrl-]" and then "e" to exit telnet

6. Reboot:

    reboot

On UI5, here's what it looks like:

Code: [Select]
razor:~ hugh$ ssh root@veralite
root@MiOS_35002000:~# /usr/bin/Stop_cmh.sh
OK
root@MiOS_35002000:~# ser2net -C "4444:telnet:0:/dev/ttyUSB0:115200 1STOPBIT NONE"
root@MiOS_35002000:~# telnet localhost 4444

Entering character mode
Escape character is '^]'.

!REL:13,03,01
[0000000100000000----],007,[f70000051007000008020000000000],"FAULT 07                        "
!REL:13,03,00
[1000000100000000----],008,[f70000051008001c08020000000000],"****DISARMED****  Ready to Arm  "
!>Keypad Address       (18) :>
!>Code               (0000) :>
!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 (Y) :>Y
!>relay module #02 (Y) :>Y
!>relay module #03 (Y) :>Y
!>relay module #04 (Y) :>Y
!>Emulate Long Range Radio Y/N: (N) :>N
!>Address Filter Mask  (ffffffff) :>
!>Deduplicate          (N) :>
!Reading configuration.
!UART init.
[1000000100000000----],008,[f70000051008001c08020000000000],"****DISARMED****  Ready to Arm  "
Console escape. Commands are:

 l go to line mode
 c go to character mode
 z suspend telnet
 e exit telnet
root@MiOS_35002000:~# reboot
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on April 24, 2012, 11:25:52 am
@hugheaves

Here's a stupid question from a non-programmer: do I need to connect my PC directly to Vera to do this? Or can it just be connected to my LAN? Can I use PuTTY to connect to Vera via SSH (step 1)? My personal computer is dead and my wife took her Mac to work but I do have my work computer where I am able to access putty. I just can't download any programs like ad2usbgui. My IT dept. has it locked down.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves on April 24, 2012, 12:17:24 pm
@shep29,

Yes, you just connect to your Vera via the LAN. (so your PC and the Vera need to be on the same LAN, but not directly connected) And you're right, on Windows, you can use an SSH client like PuTTY instead of the "ssh" command.

This page has more info:
http://wiki.micasaverde.com/index.php/Logon_Vera_SSH
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on April 24, 2012, 12:35:55 pm
@hugheaves

OK, I'm in! But I keep getting a "Connection closed by local host" message after I try to telnet (after I hit enter at step 4). I tried it a few times. Any ideas?

***EDIT*** I keep getting a "Connection closed by foreign host" message after I hit enter after typing in step 4.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves on April 25, 2012, 08:54:45 pm
I keep getting a "Connection closed by foreign host" message after I hit enter after typing in step 4.

Hmmm, that's a tricky one. It's likely that there are some differences with making this work on UI4. Is there also a line that says "Port already in use" before you get the "Connection closed..." error message, or do you just get the "Connection closed..." error message by itself?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on April 26, 2012, 08:07:07 am
Hmmm, that's a tricky one. It's likely that there are some differences with making this work on UI4. Is there also a line that says "Port already in use" before you get the "Connection closed..." error message, or do you just get the "Connection closed..." error message by itself?

No I just get the "Connection closed..." error. Also tried it on my wife's Mac. No dice. Is there a place I can find the right commands for UI4?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on May 03, 2012, 02:45:39 pm
I'm contemplating about upgrading to UI5, but I'm worried I might run into problems with this Vista plugin. Anything I should know before I upgrade to UI5? What are the added benefits from upgrading from UI4 to UI5?

Thanks in advance!!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Thinkfire on May 08, 2012, 11:44:31 am
I liked that the faulted zones showed, any chance it can be added back in?

Would it be OK if the status of the zones were shown in the Cheat Sheet?

Well it would be ok.   But it's just nice to see it on our dashboard in one spot somewhere no matter the zone.  I have mine all scattered throughout my dashboard based on the location of the sensor.  So when I see "Not Ready" as status, I have to scroll up and down and look all over to figure out which zone is still faulted.   It used to show in the same box, so you just had to glance at it to see which zone is faulty.  Or if you need to make a separate "zone status" box that would be nice as well, I could just put it in the same category as the alarm panel one and have them side by side.  So when a zone is faulted, no need to scroll all over the place and check all my zones.

Also, when will this recognize open vs close rather than just "triggered"?  Or is that a limitation of AD2USB?   I have another setup tied into my system which recognizes open/close so I know its not a limitation of the security panel.  See http://forum.micasaverde.com/index.php/topic,10366.msg71291.html#msg71291 (http://forum.micasaverde.com/index.php/topic,10366.msg71291.html#msg71291) for details.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Thinkfire on May 08, 2012, 06:58:21 pm
I'm contemplating about upgrading to UI5, but I'm worried I might run into problems with this Vista plugin. Anything I should know before I upgrade to UI5? What are the added benefits from upgrading from UI4 to UI5?

Thanks in advance!!

Same here.  I would like to know what kind of problems to expect if I upgrade.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on May 14, 2012, 04:09:36 pm
Would someone confirm for me:  Does your lock show as locked when in the Armed state?
Ver 2.43

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on May 15, 2012, 07:34:33 am
@JOD,

I tested this on both UI5 (1.5.373) an UI4 (1.1.1245), and the lock shows unlocked when in Armed state. I checked the plugin and the Armed variable is updated fine, so I think it's a UI issue.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: garrettwp on May 15, 2012, 07:42:32 am
It must be a UI issue as I am getting the same thing with my DSC Panel.

- Garrett
Title: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: jwiz on May 15, 2012, 08:03:03 am
Same here with an Elk M1Gold panel

John


Sent from my iPad using Tapatalk HD
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: waynebrady on May 24, 2012, 06:29:32 pm
Is it possible to trigger panic mode via the Vera?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on May 25, 2012, 04:27:13 am
Yes, you must program one of the letter buttons (A, B, C, D) to trigger panic mode and press the buttons from the plugin.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shahhim on May 29, 2012, 06:43:02 pm
Is it possible to ARM AWAY with Home Buddy or will it arm in STAY mode only(since as per ADEMCO V20P settings, to ARM AWAY the door has to open and close or else it defaults to STAY)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on May 30, 2012, 03:22:30 am
That depends on how the panel is configured.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kwik5 on May 30, 2012, 09:29:09 am
I have installed the app and made all the changes as described in the installation. The partition status is "Ready".

When I try to click on any of the action buttons, I get a "No Implementation" popup. (see attachment)

Any help would be appreciated.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on May 30, 2012, 09:36:03 am
Do you receive the same message if you click an action button from the device control panel (wrench button)?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kwik5 on May 30, 2012, 09:38:12 am
Yes, same message.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sabolcik on June 10, 2012, 01:43:36 am
This looks like a really interesting plugin.  I just got my Vera about a week ago and I have been installing numerous light switches.  I want to take the jump to getting my security panel to work with my system.

I've been browsing around the WEB sites for a few hours and can't seem to find any newbie instructions on how to get the plugin installed properly.  I've been able to log into my vera as root, but it's not entirely clear to me how to take the XML and other files for the plug in and get them installed into my VERA.

I understand that once I do that step, I won't get support for MCV, but I'm ready to give it a shot.  Anyone able to spare a few minutes to walk me through the installation steps or point me to a prior thread that calls out how to install the plugins?

Thanks in advance for any support.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on June 10, 2012, 12:21:29 pm
@Sabolcik,

Welcome! You can download v2.45 from the toolbar on your Dashboard. Apps > Install apps.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on June 11, 2012, 07:48:40 am
Also, the instructions for configuring the plugin are on the help page.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on June 11, 2012, 01:21:59 pm
I've had a few instances of false alarms:
Both....
GUI showing alarm/with no physical alarm.
And...
physical alarm/with no physical zones tripped but showing tripped in the GUI.
6/9/2012 12:00:07 A.M. EST.

Currently the GUI is Armed with tripped zones but no GUI or physical alarm. 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: wseverino on June 12, 2012, 09:44:58 am
Does the alarm panel show them tripped?

I have noticed it takes Vera awhile to reset a zone once its been tripped.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on June 12, 2012, 10:09:09 am
I was at work and not able to view the physical panel, but it did show those zones as tripped all day in the UI, when I got home last night of course Vera was working perfectly, turned the lights on as the door opened and disarmed the panel before I could get to the keypad.
Good point though, I'll deploy a camera tonight with a view of one of the keypads to keep an eye on it.

And for now I'm going to assume the panel was clear, ready and armed because I did receive an email telling me the panel "Armed Away" when the wife left for work, when I logged in last night from home everything in the UI mirrored the keypad as clear and ready, I even remoted into my work PC and logged into Mios to see if it was a remote issue, but that too showed all zones as ready.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on June 14, 2012, 02:55:54 pm
Had another false instance early this morning. Date: 6/14/2012 3:58:42 A.M. EDT with an Alarm ENTRY/EXIT DELAY - Keypad beeping and "Disarm System Now" being announced.

Jumped out of bed (grabbed the .45) and saw 2 zones tripped; zone 1 (front door) & zone 6 (garage overhead door - which is an instant zone) viewed my camera's and both doors were closed.  ???

Clearly zone 1 tripped first, triggering the entry/exit delay, but zone 6 tripping (I would have thought)should have triggered the ALARM? Does anyone know if tripping a delayed zone and then an instant zone behaves that way normally?

It then auto armed (as it should) at 04:00hrs announcing "ARMED, Exit Now" but still showing tripped in the UI and clear on the keypad  ???
It continued to show tripped in the UI until 07:00hrs when the front door was opened and closed, then both those zones reset in the UI.
@JOD < dragging butt today with only 3hrs sleep.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on June 15, 2012, 10:25:51 pm
@mcvflorin,
Thank you for looking into this for me.

Forgot to mention in my previous post that my garage overhead door openers are plugged into controlled receptacles that are turned off when the doors are closed and the alarm armed, and only turned on when the alarm is disarmed; so the chances of zone 6 being physically tripped (on several occasions) after arming would be slim.

I thought about the possibility of having a bad sensor on zone 1, but with talking keypads I would have noticed hearing "Fault, zone 1" and seeing the door closed, so I doubted that scenario too, but good catch on the LastTrip variable, and I have no clue why it's not being updated.
It's very strange.

Again, thank you.

Quote
These are the messages received from the panel around 3:58 AM on 06/14:


06/14/12 3:57:50.927    "ARMED ***AWAY***** ALL SECURE **"
06/14/12 3:58:02.086    "ARMED ***AWAY***** ALL SECURE **"
06/14/12 3:58:13.086    "ARMED ***AWAY***** ALL SECURE **"
06/14/12 3:58:24.246    "ARMED ***AWAY***** ALL SECURE **"
06/14/12 3:58:35.227    "ARMED ***AWAY***** ALL SECURE **"
06/14/12 3:58:41.906    "DISARM SYSTEM   or alarm occurs"
06/14/12 3:58:52.396    "DISARM SYSTEM   or alarm occurs"
06/14/12 3:58:54.906    "DISARM SYSTEM   or alarm occurs "
06/14/12 3:58:58.496    "****DISARMED****  READY TO ARM"
06/14/12 3:59:09.636    "****DISARMED****  READY TO ARM"
06/14/12 3:59:20.636    "****DISARMED****  READY TO ARM"
06/14/12 3:59:31.776    "****DISARMED****  READY TO ARM"
06/14/12 3:59:42.786    "****DISARMED****  READY TO ARM"
06/14/12 3:59:53.916    "****DISARMED****  READY TO ARM"


As you probably know, the panel cannot report the faulted zones when the panel is armed so the plugin can't set a sensor as tripped when the panel is armed. Sensors 1 and 6 were probably already marked as tripped because when zone 1 was actually tripped at 7:35 AM the Tripped variable wasn't updated. The question is why didn't the plugin update the sensors to 'not tripped' after the last trip at 10:53 PM on 06/13?


52    06/14/12 7:35:43.446    "FAULT 01 ZONE 01"
06    06/14/12 7:35:43.447    Device_Variable::m_szValue_set device: 237 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: LastTrip was: 1339642425 now: 1339673743 #hooks: 0 upnp: 0 v:0x10b82e8/NONE duplicate:0
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on June 22, 2012, 09:57:18 am
After installing yesterday's private beta, zone 1 & 6 are behaving nicely now.
One thing to note about the UI lock status, it's now reversed.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on June 22, 2012, 10:04:20 am
If I'm not mistaken the lock icon is wrong. The red and yellow stripes icons are not used anymore. I also noticed this bug.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on June 24, 2012, 06:23:06 pm
Quote
The question is why didn't the plugin update the sensors to 'not tripped' after the last trip
One plausible explanation......

Trip a zone - restart the engine - then untrip the zone. In my system the zones do not update.

Restart the engine again - the zone updates to untripped.
Can you replicate?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on June 25, 2012, 05:56:13 am
Theoretically I handle this case. At the plugin startup I go through all the zones and check the last timestamp they were tripped.

Code: [Select]
-- Check if there are any faulted zones that need to be updated.
for zoneNo, zone in pairs(g_zones) do
local lastTrip = luup.variable_get(SID.SECURITY_SENSOR, "LastTrip", zone.device) or 0
if (os.difftime(os.time(), lastTrip) >= TTL) then
removeFaultedZone(zoneNo)
end
end

I'll enable Debug Mode for your plugin and will look through the logs if I can connect to your unit.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on June 25, 2012, 09:02:41 am
Quote
if I can connect to your unit
Email sent with access code.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves on June 25, 2012, 09:47:38 am
Quote
The question is why didn't the plugin update the sensors to 'not tripped' after the last trip
One plausible explanation......

Trip a zone - restart the engine - then untrip the zone. In my system the zones do not update.

Restart the engine again - the zone updates to untripped.
Can you replicate?

@JOD,

I've spent quite a bit of time working with the code for the plug-in, so I think I can answer this question for you...

When a zone is tripped, the (current version of the) plug-in adds the zone to a "g_faultedZones" list. The plugin then periodically checks zones in this list, and sets the zone back to "unfaulted" status after the zone's TTL has expired.

When the engine is restarted, g_faultedZones is cleared (by the restart). Then, zones that have exceeded their TTL are cleared right away, and zones that are still within the TTL are left in the faulted state. However, the plug-in does not add these currently faulted zones back in to the g_faultedZones list, so they will never timeout.

A quick fix would be to change the startup code so that the faulted zones that are not cleared at startup are added back into the g_faultedZones list.

Hugh
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on June 25, 2012, 10:02:39 am
@hugheaves

I though about this too, but then I remembered that I handled this case. The code from my previous post is from the startup function. At startup I parse the whole zones list, not only the faulted ones. Theoretically it should work, but I'll try to find why it doesn't.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves on June 25, 2012, 10:09:52 am
@hugheaves

I though about this too, but then I remembered that I handled this case. The code from my previous post is from the startup function. At startup I parse the whole zones list, not only the faulted ones. Theoretically it should work, but I'll try to find why it doesn't.

I think the startup code is good, except for the fact that if the zone is in faulted status at startup, but hasn't _yet_ reached it's TTL, it needs to be added to the g_faultedZones list. (so the plugin will keep checking for it's TTL expiration)

Here's the TTL loop code that only checks zones is g_faultedZones:

Code: [Select]
function ttlCountdownTimer()
for _, zone in pairs(g_faultedZones) do
local lastTrip = luup.variable_get(SID.SECURITY_SENSOR, "LastTrip", g_zones[zone].device) or 0
if (os.difftime(os.time(), lastTrip) >= TTL) then
removeFaultedZone(zone)
end
end

luup.call_delay("ttlCountdownTimer", TIMER_INTERVAL, "")
end

Maybe something like this would work for the startup:

Code: [Select]
-- Check if there are any faulted zones that need to be updated.
-- If they're faulted, but not ready to be updated, add them to the g_faultedZones list
for zoneNo, zone in pairs(g_zones) do
local lastTrip = luup.variable_get(SID.SECURITY_SENSOR, "LastTrip", zone.device) or 0
if (os.difftime(os.time(), lastTrip) >= TTL) then
removeFaultedZone(zoneNo)
elseif ((luup.variable_get(SID.SECURITY_SENSOR, "Tripped", zone.device) or "0") == "1")
addFaultedZone(zoneNo)
end
end
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on June 26, 2012, 10:25:01 am
@hugheaves

Indeed, that could fix JOD's issues. I'll upload the modified file on his Vera.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on June 26, 2012, 11:23:57 am
Thank you @mcvflorin & @hugheaves.

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on June 27, 2012, 12:50:01 pm
Quote
I'll upload the modified file on his Vera
Unfortunately this did not help.
Zones do not reset if the engine is restarted while zones are tripped.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves on June 27, 2012, 03:15:17 pm
Quote
I'll upload the modified file on his Vera
Unfortunately this did not help.
Zones do not reset if the engine is restarted while zones are tripped.

JOD, I don't have access to the exact code that @mcvflorin uploaded. However, if he implemented it as I proposed, you'd still need to wait about 20 minutes (by default) for the zones to reset, even after a restart.

Are they still not resetting after the timeout expires?

Hugh
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on June 27, 2012, 03:31:26 pm
With the system operating normally, tripping a zone, watching the device change in the UI, and then untripping the zone, it's taking between ~2 - 4 minutes to reset in the UI.

Restarting the engine with tripped zones, the zones will show tripped in the UI even after waiting an hour.
The weird part to me is, if I restart the engine for a 2nd time, after waiting that hour, they reset in the ~2 - 4 minute range again.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on June 28, 2012, 02:17:17 pm
The wife came home today and said the alarm went off the moment she opened the door as there was no entry delay to give her time to disarm the panel.

My panel auto arms in Arm Away (assuming all zones are secured) upon a 45 minute no response from our Ping Sensors, maybe the wife went shopping and didn’t arm the system (was my thinking when I created the scene) which happened today.  ;D

However, I'm remembering (now) reading something somewhere if the Exit Delay is not engaged (opening and closing a door) during the arming sequence, the panel will Arm Instant. Is this true?

Would someone confirm if the Arm Instant engages (even if you select Arm Away) if the door is not opened and closed during arming?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves on June 28, 2012, 03:58:17 pm
Would someone confirm if the Arm Instant engages (even if you select Arm Away) if the door is not opened and closed during arming?

The panel's "*84 - Auto Stay Arm" programming option controls whether the alarm reverts to "STAY" mode when armed "AWAY" and you don't exit / open a door. This option is enabled by default. (meaning if you don't exit, the arm mode changes to "STAY" when armed "AWAY")  AFAIK there is not any option to arm "INSTANT" if you don't exit the premises. (as doing so would only ensure false alarms)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on June 28, 2012, 04:56:43 pm
Hmmm.....So it is something I can change?
But I'm wondering how it's enabled now vs not being enabled before and there has always been an exit delay when we come home, even when it's auto-arming.

I'm sure it was @mcvflorin who wrote somewhere (although I could not find the reference) that the Away reverts to Stay mode (as you indicated) but Stay is Instant, so we are saying the same thing anyway.

And there are two "Instant" modes. ArmedInstant / MAXIMUM and  StayInstant / INSTANT, neither of which are showing in my logs when the system is auto armed when the exit delay is not used. So I'm perplexed how the alarm went off this morning, when it armed in the same manner as it's armed right now. Log output below.

The wife is on her way home now so I'll see what happens here shortly when she opens the door this time.
Quote
50   06/28/12 16:44:25.238   luup_log:180: (VistaAlarmPanel::processIncoming) Incoming data = '[0100000110000000----],001,[f70000008001000c2c000000000000],"ARMED ***AWAY***** ALL SECURE **"'. <0x312d6680>
50   06/28/12 16:44:25.239   luup_log:180: (VistaAlarmPanel::getStatusFlags) Active flags: ARMED_AWAY, CHIME_MODE
*Edit. Exit / Entry Delay was functional, so the only thing I can assume now is, it was a coincidence that the alarm went off before.....Sigh.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sabolcik on June 29, 2012, 07:09:04 pm
@Sabolcik,

Welcome! You can download v2.45 from the toolbar on your Dashboard. Apps > Install apps.

Thanks for the feedback.  I've actually made much progress since my initial post.  So I've got the ad2usb installed, got the plugin downloaded, and have my panel up and running.

I created all my zones for my sensors.  I seem to be having the same issue with the faulted zones never clearing.  If I understand it correctly I need to update the TTL time to something other than 20 minutes if I want to have a more real time feedback.

I finally also have basic scene scripting running so I am going to try to use the created zones in some scenes.  Based on the reading of the entire thread it sounds like using the sensors in scenes is somewhat fragile but we'll see.

Thanks again for the feedback and the patience with my totally noob questions.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on July 02, 2012, 04:56:48 pm
Quote
I seem to be having the same issue with the faulted zones never clearing.  If I understand it correctly I need to update the TTL time to something other than 20 minutes if I want to have a more real time feedback.
I'm not sure why it's set at the default of 20 minutes, maybe to cutdown on the load presented to Vera?
I changed my TTL to 15 seconds over the weekend and a restart no longer keeps the zones tripped, although I'm not sure why it would have made any difference.....
Quote
I am going to try to use the created zones in some scenes.
In my garage I use it to turn off the exhaust fan when the overhead door is open, and in the house I have it turn off the HVAC if a window or slider is opened.
It's been very reliable.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on July 03, 2012, 04:23:39 am
The reason the TTL is 20 minutes by default is because that is the OnTime value for motion sensor in the 3-in-1 sensor. It's also 20 minutes to prevent spamming our server with notifications. For example if the TTL is 15 seconds in an area with a lot of movement this means that a notification would be sent every 15-20 seconds.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on July 03, 2012, 11:18:42 am
The reason the TTL is 20 minutes......... to prevent spamming our server with notifications
Understood.
What would be beneficial to users and MCV alike (since it costs MCV $ to send the msg's) is an email server of sorts, built into Mios/Vera seperate from your servers, such as AP15e's SND, which is what I use, since I generate about 2k notifications/day.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sabolcik on July 13, 2012, 10:07:01 am
I have been using the plugin with my panel successfully for a few weeks.  I do notice a few issues and I'm not certain if others are seeing the same:

Whenever I arm the panel the UI never shows the panel as armed. The locked icon doesn't change and the status always shows as "Not Ready" even though my panel indicates the alarm is armed and/or ready.

Otherwise, the plugin seems to work fine. This issue is a really hassle as I can't tell remotely if the alarm is armed.  Additionally, I want to create some scenes to do things like turn on the lights in an entryway if the alarm is armed and the door sensor trips.  That won't work without the armed status working correctly.  Right before I added the AD2USB to my panel I had smoke detectors enabled in the system.  The smoke detectors were already in the house in the existing system but they were not enabled for some reason.  My panel indicates that one of the sensors should be checked; however, the panel ready light still shows the panel is ready.

Any ideas?  I am runing the 2.45 version of the plugin.

Thanks!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: JOD on July 13, 2012, 10:51:06 am
Quote
Whenever I arm the panel the UI never shows the panel as armed
Are you arming the panel from Vera?

Quote
The locked icon doesn't change
With 2.45 - Always showing locked is a known bug.

Quote
the status always shows as "Not Ready"
Do the zones change state as they are tripped/untripped?

Are you able to view the log files?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on July 13, 2012, 11:09:56 am
@sabolcik

This could happen because the keypad address is not the correct one. How many partition do you have?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: dratifk on July 14, 2012, 10:56:19 am
Hi I've been using this plugin for a while now without problems. However, I recently upgraded my firmware and had to reinstall the Alarm plugin. I'm trying to store my PIN so I don't have to type it in every time using Automator.  I changed the secure state to 1 from default of 0 and then type in the pin and hit store.  It works for a while but hen defaults back to no pin stored.

Am I doing this right? Whats the proper way to store pin so you never have to type it again. Before people get started I know this isn't the securest thing to do. But I had it working before and note sure if the more recent plugin is working or not.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on July 16, 2012, 06:53:47 am
@draftik

SecureStore must be 0 for PIN code storing to work.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sabolcik on July 17, 2012, 10:10:15 pm
@sabolcik

This could happen because the keypad address is not the correct one. How many partition do you have?

I'm not sure about partitions.  The alarm guy said that there were 2 other keypad devices.  I have a hardwired keypad, plus another "virtual" (for lack of a better term) keypad that is used for the wireless sensor interface.  I believe the address is for the keypad is set correctly.

Quote
Whenever I arm the panel the UI never shows the panel as armed
Are you arming the panel from Vera?

I am using the UI to arm and disarm the system

Quote
The locked icon doesn't change
With 2.45 - Always showing locked is a known bug.

Quote
the status always shows as "Not Ready"
Do the zones change state as they are tripped/untripped?

Yes.  For example if I put the system in "chime" mode the door sensors that I created with the cheat sheet will trip.

Are you able to view the log files?

Yes.  For example here is the log file when I attempt to arm the system to "stay" mode then disarm the system.  I set the pin code right before arming the system so I'm not sure why it says undefined.

08   07/17/12 21:07:44.066   JobHandler_LuaUPnP::HandleActionRequest device: 51 service: urn:micasaverde-com:serviceId:AlarmPartition2 action: RequestArmMode <0x2dd01680>
08   07/17/12 21:07:44.066   JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=51 <0x2dd01680>
08   07/17/12 21:07:44.067   JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:micasaverde-com:serviceId:AlarmPartition2 <0x2dd01680>
08   07/17/12 21:07:44.067   JobHandler_LuaUPnP::HandleActionRequest argument action=RequestArmMode <0x2dd01680>
08   07/17/12 21:07:44.067   JobHandler_LuaUPnP::HandleActionRequest argument State=Stay <0x2dd01680>
08   07/17/12 21:07:44.068   JobHandler_LuaUPnP::HandleActionRequest argument PINCode=undefined <0x2dd01680>
08   07/17/12 21:07:44.068   JobHandler_LuaUPnP::HandleActionRequest argument rand=0.4155951489228755 <0x2dd01680>
08   07/17/12 21:07:47.483   JobHandler_LuaUPnP::HandleActionRequest device: 51 service: urn:micasaverde-com:serviceId:AlarmPartition2 action: RequestArmMode <0x2dd01680>
08   07/17/12 21:07:47.483   JobHandler_LuaUPnP::HandleActionRequest argument DeviceNum=51 <0x2dd01680>
08   07/17/12 21:07:47.484   JobHandler_LuaUPnP::HandleActionRequest argument serviceId=urn:micasaverde-com:serviceId:AlarmPartition2 <0x2dd01680>
08   07/17/12 21:07:47.484   JobHandler_LuaUPnP::HandleActionRequest argument action=RequestArmMode <0x2dd01680>
08   07/17/12 21:07:47.484   JobHandler_LuaUPnP::HandleActionRequest argument State=Disarmed <0x2dd01680>
08   07/17/12 21:07:47.484   JobHandler_LuaUPnP::HandleActionRequest argument PINCode=undefined <0x2dd01680>
08   07/17/12 21:07:47.484   JobHandler_LuaUPnP::HandleActionRequest argument rand=0.9335246295668185 <0x2dd01680>

Any ideas?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on July 18, 2012, 07:00:21 am
@sabolcik

Can you post here an incoming message from the AD2USB?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sabolcik on July 18, 2012, 09:04:27 am
@sabolcik

Can you post here an incoming message from the AD2USB?

Do you mean, for example, using putty to see the raw stream from the ad2usb?  Yes I can do that this evening.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on July 18, 2012, 09:52:37 am
You can also get the incoming messages from the LuaUPnP.log if you enable verbose logging. Look for lines starting with 52.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sabolcik on July 19, 2012, 10:38:23 pm
You can also get the incoming messages from the LuaUPnP.log if you enable verbose logging. Look for lines starting with 52.

Enabled verbose logging and got the following messages from the security panel.  Any ideas?

52   07/19/12 21:23:53.561   0x5b 0x31 0x30 0x30 0x30 0x30 0x30 0x30 0x31 0x30 0x30 0x30 0x30 0x30 0x31 0x31 0x30 0x2d 0x2d 0x2d 0x2d 0x5d 0x2c 0x30 0x30 0x39 0x2c 0x5b 0x66 0x37 0x30 0x30 0x30 0x30 0x66 0x66 0x31 0x30 0x30 0x39 0x30 0x30 0x33 0x32 0x30 0x38 0x30 0x32 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x5d 0x2c 0x22 0x2a 0x2a 0x2a 0x2a 0x44 0x49 0x53 0x41 0x52 0x4d 0x45 0x44 0x2a 0x2a 0x2a 0x2a 0x46 0x49 0x52 0x45 0x20 0x54 0x52 0x4f 0x55 0x42 0x4c 0x45 0x20 0x20 0x30 0x39 0x22 ([1000000100000110----],009,[f70000ff1009003208020000000000],"****DISARMED****FIRE TROUBLE  09") <0x2dc83680>
52   07/19/12 21:24:01.451   0x5b 0x31 0x30 0x30 0x30 0x30 0x30 0x30 0x31 0x30 0x30 0x30 0x30 0x30 0x31 0x31 0x30 0x2d 0x2d 0x2d 0x2d 0x5d 0x2c 0x30 0x30 0x39 0x2c 0x5b 0x66 0x37 0x30 0x30 0x30 0x30 0x66 0x66 0x31 0x30 0x30 0x39 0x30 0x30 0x33 0x32 0x30 0x38 0x30 0x32 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x5d 0x2c 0x22 0x2a 0x2a 0x2a 0x2a 0x44 0x49 0x53 0x41 0x52 0x4d 0x45 0x44 0x2a 0x2a 0x2a 0x2a 0x46 0x49 0x52 0x45 0x20 0x54 0x52 0x4f 0x55 0x42 0x4c 0x45 0x20 0x20 0x30 0x39 0x22 ([1000000100000110----],009,[f70000ff1009003208020000000000],"****DISARMED****FIRE TROUBLE  09") <0x2dc83680>
52   07/19/12 21:25:21.081   0x5b 0x30 0x30 0x31 0x31 0x30 0x33 0x30 0x31 0x30 0x30 0x30 0x30 0x30 0x31 0x31 0x30 0x2d 0x2d 0x2d 0x2d 0x5d 0x2c 0x30 0x30 0x39 0x2c 0x5b 0x66 0x37 0x30 0x30 0x30 0x30 0x66 0x66 0x31 0x30 0x30 0x39 0x30 0x33 0x61 0x32 0x30 0x38 0x30 0x32 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x5d 0x2c 0x22 0x41 0x52 0x4d 0x45 0x44 0x20 0x2a 0x2a 0x2a 0x53 0x54 0x41 0x59 0x2a 0x2a 0x2a 0x46 0x49 0x52 0x45 0x20 0x54 0x52 0x4f 0x55 0x42 0x4c 0x45 0x20 0x20 0x30 0x39 0x22 ([0011030100000110----],009,[f70000ff100903a208020000000000],"ARMED ***STAY***FIRE TROUBLE  09") <0x2dc83680>
52   07/19/12 21:25:24.951   0x5b 0x30 0x30 0x31 0x31 0x30 0x30 0x30 0x31 0x30 0x30 0x30 0x30 0x30 0x31 0x31 0x30 0x2d 0x2d 0x2d 0x2d 0x5d 0x2c 0x30 0x30 0x39 0x2c 0x5b 0x66 0x37 0x30 0x30 0x30 0x30 0x66 0x66 0x31 0x30 0x30 0x39 0x30 0x30 0x61 0x32 0x30 0x38 0x30 0x32 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x30 0x5d 0x2c 0x22 0x41 0x52 0x4d 0x45 0x44 0x20 0x2a 0x2a 0x2a 0x53 0x54 0x41 0x59 0x2a 0x2a 0x2a 0x46 0x49 0x52 0x45 0x20 0x54 0x52 0x4f 0x55 0x42 0x4c 0x45 0x20 0x20 0x30 0x39 0x22 ([0011000100000110----],009,[f70000ff100900a208020000000000],"ARMED ***STAY***FIRE TROUBLE  09") <0x2dc83680>

As I mentioned earlier Zone 9 reports an error on my display panel but the light on the hardwired display reports the system as READY even with that Zone 9 Error while the plugin UI always shows "NOT READY".
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on July 20, 2012, 06:38:37 am
First, the panel sends messages to devices on address 16 to 23, which means that you have 8 keypads(?).
Secondly, if the plugin detects an alarm, it doesn't update the partition status variable, so whatever the last state it was in, this is what will be shown on the dashboard. So this is a plugin limitation, which will be fixed in the next plugin version, whenever it may be.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sabolcik on July 20, 2012, 10:17:17 am
First, the panel sends messages to devices on address 16 to 23, which means that you have 8 keypads(?).
Secondly, if the plugin detects an alarm, it doesn't update the partition status variable, so whatever the last state it was in, this is what will be shown on the dashboard. So this is a plugin limitation, which will be fixed in the next plugin version, whenever it may be.

OK - thanks. That's what I suspected was that the fault on the fire alarm was causing the plugin issues.  The panels 16-23 being enabled is because my installed enabled all the panels on the controller while we were debugging the AD2USB.  So if I clear the fire fault on that particular zone I believe that will fix the issue using the existing version of the plugin.  Do you agree?

Thanks for the support.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on July 20, 2012, 11:48:35 am
Do you agree?

Yes, as long as the panel doesn't report any alarm or fire trouble, it should update correctly.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: gelert on July 22, 2012, 12:16:20 am
Sorry if this was covered earlier and I missed it... but is Hugh's !RFX code ever going to be integrated into the official version?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: gelert on July 23, 2012, 12:36:19 pm
Also... does anyone know if there is a luup command to toggle the chime on/off or to simulate numeric keypad button-push?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: gelert on July 24, 2012, 12:45:00 am
Here is the code to set the chime mode, in case anyone cares:

luup.call_action("urn:micasaverde-com:serviceId:VistaAlarmPanel1","SetChimeMode",{Mode="1",PINCode="1111"},Partition_Device)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on July 24, 2012, 04:04:23 am
Sorry if this was covered earlier and I missed it... but is Hugh's !RFX code ever going to be integrated into the official version?

Yes, I'll release Hugh's version after I'm done with the Elk plugin, because I also want to merge UI4 and UI5 versions to make it easier to maintain, meanwhile you can get his version for UI5 from here (http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser#trunk) and for UI4 from here (http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser/branches/UI4).

Also... does anyone know if there is a luup command to toggle the chime on/off or to simulate numeric keypad button-push?

There isn't any command to simulate numeric keypad button push because I didn't think someone would ever use it.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: gelert on July 24, 2012, 09:48:36 pm
OK, thanks - I agree numeric entry isn't broadly useful but could potentially be helpful (eg, for remotely programming the system or for a scene that arms with a secondary/babysitter user code)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: dratifk on July 24, 2012, 11:06:28 pm
@draftik

SecureStore must be 0 for PIN code storing to work.


OK SecureStore is set to 0. But when I reload the page it stops storing it. Then What I have to do is enter the code and hit store then hit disarm then the alarm beeps and once I close out  and hit disam it beeps. I lose the code after reboot of unit or after reloading page.

Is this normal. No way to permanently store code? I could have sworn it didn't behave this way with UI4
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: M2MExpert on July 25, 2012, 12:31:16 am
Hi All.

I'm pretty new here  but I have successfully installed my Vista lite and my AD2USB interface. Seems to work OK so far. I need to play more with it. I do have a question though.

Is it possible to create a setup that will automatically bypass a zone if the alarm is disarmed? I want to auto bypass when my upstairs windows are open so that if I leave I can leave them open but still arm the system without manually bypassing every time.

Thanks for the great plug-in
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: gelert on July 25, 2012, 12:50:48 pm
I'm no expert, either.. but a couple of ideas:

1. If the plugin had a numeric entry capability ;) then you could enable quick bypass on the panel (in *23) and have a scene that initiaties a quick bypass (code + 6 + #) before arming

2. I've never tried it, but there is a luup action where you can bypass all. The code would be something like:
luup.call_action("urn:micasaverde-com:serviceId:VistaAlarmPanel1","BypassZones",{Zones="all",PINCode="1111"},Partition_Device)

Obivously substitute your pincode - I haven't tried this, but it should work (and it uses the quick bypass in the function, so you need to have that enabled on the panel regardless).
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Handyman on August 01, 2012, 10:30:39 am
Hi All -

I just got a Vera a couple of weeks ago and have some stupid newbie questions. First, I am reading correctly that the ad2usb and VeraLite must remain hard wired together? And if this is the case, how have people accomplished this? In my situation the alarm panel and VeraLite are on different floors and would need around 100 feet of cable.

Also, is there somewhere that new users can go for very basic, baby-step instructions? I'm a pretty handy guy - I have wired in the switches and receptacles, have scenes and timers all set up and everything is working happily. But it seems like everyone on this forum is a major league rocket scientist/programmer. I wouldn't even know what to do with a Luup. Is there help for the feeble minded?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: M2MExpert on August 08, 2012, 04:24:07 pm
@hanifich The vera and the AD2USB need to be fairly close to each other. The vera communicates to the AD2USB through the USB cable. You would be better off running a 4 wire for the AD2USB to bring it closer to the Vera rather than using a 100 ft USB cable. USB isn't reliable at that distance.

To set up the AD2USB is not hard and doesn't require Luup programming.

Follow this:

http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb
http://www.nutech.com/index.php?option=com_fireboard&Itemid=74&func=view&catid=4&id=13
http://www.nutech.com/index.php?parent_id=1&option=com_easyfaq&Itemid=84

and this:

http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/wiki/UI5


Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: M2MExpert on August 08, 2012, 04:33:18 pm
OK, now my turn to ask another question. I replaced my 15P with a 20P. Now I have 2 partitions. I specified that in the config for the number of partitions. Both partitions appear  but partition 2 is the only one that shows status and the state of the system. The buttons on part 1 work but no status is indicated. It is only reflected on part 2.

I'm also having trouble with my zones. I have them set up in the cheat sheet but when I trigger a zone, I don't see it change state on the corresponding device. I do see it indicated on the Ademco Keypad.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on August 09, 2012, 09:41:43 am
@jvilla

This could happen because the keypad addresses are not correct. Can you post here some messages received from the AD2USB?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: M2MExpert on August 09, 2012, 10:54:10 am

This could happen because the keypad addresses are not correct. Can you post here some messages received from the AD2USB?

Sure would be more than happy. How the heck do I get at the messages?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on August 09, 2012, 11:32:23 am
How the heck do I get at the messages?

The easiest way is to view the logs in the browser. First enable Verbose Logging from Setup >> Logs and save, then put this URL in your browser:
http://vera_ip/cgi-bin/cmh/log.sh?Device=LuaUPnP

Look for the lines starting with 52, these are the messages received from the serial devices. The messages from the AD2USB look like this:
Code: [Select]
[01000001000---------],0e5,[f707000600e5800c0c020000],"ARMED ***AWAY***** ALL SECURE **"
[001000010000--------],010,[f70700060010808c08020000],"ARMED ***STAY** ZONE BYPASSED "
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: M2MExpert on August 09, 2012, 02:54:55 pm
OK, great info. Working on it now.

Any tricks to getting the log to stop scrolling so fast so I can copy/paste or pipe it to a file?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: M2MExpert on August 09, 2012, 04:55:29 pm
Any tricks to getting the log to stop scrolling so fast so I can copy/paste or pipe it to a file?

Never mind I figured it out (how to get the logs)
Attached is the log generated after I triggered both partitions. Partition 2 doesn't respond to key presses but displays results from Partition 1 (weird).
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: M2MExpert on August 10, 2012, 08:27:55 am
The issue seems to be compatibility or configuration. When set the partitions to "1" and only use the single partition, everything seems to stabilize. Something happens when I add that second partition.


Frustrating............
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on August 10, 2012, 09:45:48 am
According to the logs you attached the keypad addresses for one partition should be 16,17 and for the other it should be 18. Please check that the KeypadAddresses variable is correct for each partition.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: M2MExpert on August 10, 2012, 10:04:07 am
Hmmmm. I have 3 keypads 16 (6150RF),17 (6150V),18 (AD2USB). I need to split them up? I can't have all the keypads work on both partitions?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Handyman on August 10, 2012, 10:22:51 am
M2M - thanks for the assistance!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on August 10, 2012, 01:03:28 pm
Hmmmm. I have 3 keypads 16 (6150RF),17 (6150V),18 (AD2USB). I need to split them up? I can't have all the keypads work on both partitions?

You can't have a keypad assigned to more than one partition. This is a panel limitation. To control more than one partition with a single keypad you'd have to either:
1. use the GOTO command to switch between partitions temporarily
2. create a COMMON partition

Consult the Programming Manual or the User Manual to find how this is done.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: M2MExpert on August 10, 2012, 01:27:46 pm
You can't have a keypad assigned to more than one partition.


Ah, OK that makes sense. I don't really need 2 partitions. I upgraded from a 15P which only had one anyway. I'm better off just leaving it as it is.

Thanks for all the help on this one.

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: M2MExpert on August 13, 2012, 11:06:18 pm
You guys are going to be sick of me...... ;D

I have another issue that popped up. I have SecureStore = 0 but my pin code doesn't seem to be retained when I do any "SAVE" functions or reboot.

This concerns me in the event I forget to re-enter it. Am I missing something?

Also, can someone help me understand why the zones have a bypass button? I was hoping when I pressed  bypass that it would cause the panel to bypass that zone and go into a ready state. That doesn't seem to happen.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: M2MExpert on August 14, 2012, 11:14:03 am
I'm no expert, either.. but a couple of ideas:

1. If the plugin had a numeric entry capability ;) then you could enable quick bypass on the panel (in *23) and have a scene that initiaties a quick bypass (code + 6 + #) before arming

I agree. That would be extremely useful.

Quote
2. I've never tried it, but there is a luup action where you can bypass all. The code would be something like:
luup.call_action("urn:micasaverde-com:serviceId:VistaAlarmPanel1","BypassZones",{Zones="all",PINCode="(MyCodeHere)"},Partition_Device)


I have quick bypass enabled.

I created a scene and added your code (using my passcode, of course)

It seems to run OK but nothing happens.

Here is the log entries for when I run it:

08      08/14/12 10:57:09.837   Scene::RunScene running 25 Luup Bypass <0x2e695680>
08      08/14/12 10:57:09.837   JobHandler_LuaUPnP::HandleActionRequest device: 0 service: urn:micasaverde-com:serviceId:VistaAlarmPanel1 action: BypassZones <0x2e695680>
08      08/14/12 10:57:09.838   JobHandler_LuaUPnP::HandleActionRequest argument Zones=all <0x2e695680>
08      08/14/12 10:57:09.838   JobHandler_LuaUPnP::HandleActionRequest argument PINCode=(MyCodeHere) <0x2e695680>

I should hear a beep but I don't. I can do it within the Alarm Partition device of the plug-in OK and I can do it from the Keypad.

Any other thoughts?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: M2MExpert on August 15, 2012, 08:03:47 am

Limitations: To bypass a zone at panel level you still have to use the Bypass Zones field, bypassing the zone device won't bypass it at panel level. That's because unbypassing a zone is done by disarming the panel, and this has the potential to confuse the user and/or cause problems.


I'm reading every post in the thread beginning to end....

Bummer, I've noticed this. (Posted a question about it). Is it possible to put a variable setting that would allow this functionality? It would really make it easier to create scenes that could autobypass zones. I still can't figure out how to  do it in Luup.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: M2MExpert on August 15, 2012, 10:31:47 am
...... my garage overhead door openers are plugged into controlled receptacles that are turned off when the doors are closed and the alarm armed, and only turned on when the alarm is disarmed


How are you monitoring the armed state?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: gelert on August 17, 2012, 06:33:20 pm

I have quick bypass enabled.

I created a scene and added your code (using my passcode, of course)

It seems to run OK but nothing happens.

Here is the log entries for when I run it:

08      08/14/12 10:57:09.837   Scene::RunScene running 25 Luup Bypass <0x2e695680>
08      08/14/12 10:57:09.837   JobHandler_LuaUPnP::HandleActionRequest device: 0 service: urn:micasaverde-com:serviceId:VistaAlarmPanel1 action: BypassZones <0x2e695680>
08      08/14/12 10:57:09.838   JobHandler_LuaUPnP::HandleActionRequest argument Zones=all <0x2e695680>
08      08/14/12 10:57:09.838   JobHandler_LuaUPnP::HandleActionRequest argument PINCode=(MyCodeHere) <0x2e695680>

I should hear a beep but I don't. I can do it within the Alarm Partition device of the plug-in OK and I can do it from the Keypad.

Any other thoughts?

@MCVFlorin: Perhaps the quick bypass command is wrong in the plugin code - it looks like it sends "PINCode 6 #" (which I copied into my post) ... whereas, at least using my 20SE keypad, it only works if you omit the # and just type "PINCode 6" ?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: M2MExpert on August 18, 2012, 09:10:47 am

@MCVFlorin: Perhaps the quick bypass command is wrong in the plugin code - it looks like it sends "PINCode 6 #" (which I copied into my post) ... whereas, at least using my 20SE keypad, it only works if you omit the # and just type "PINCode 6" ?

How can you tell what it sends? I'm new to Luup and Lua so I'm tryiing to learn how to troubleshoot the code.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: gelert on August 19, 2012, 08:04:06 pm
It ain't easy - I looked at http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser/trunk/L_VistaAlarmPanel1.lua
(line 335 is the bypassZones function) and this one shows the actions/arguments http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser/trunk/S_VistaAlarmPanel1.xml
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: M2MExpert on August 20, 2012, 08:35:26 am
It ain't easy - I looked at http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser/trunk/L_VistaAlarmPanel1.lua
(line 335 is the bypassZones function) and this one shows the actions/arguments http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser/trunk/S_VistaAlarmPanel1.xml

Thanks..... This is helpful and I see what you are talking about.

On another note..... is there any way to trigger scenes based on the alarm panel status? There seems to be no way to capture items from the alarm panel, only the zones. At least the add trigger drop down doesn't think so. The alarm panel does appear as a selectable device but that's about it.

The upside is that I've managed to automate everything I want aside from this issue and auto bypassing zones based on zone fault. It took a lot of Combination Switches and Virtual Switches though ;)

I gotta learn to write code........ being a hardware/networking guy just ain't enough these days.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: gelert on August 20, 2012, 12:30:59 pm
It ain't easy - I looked at http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser/trunk/L_VistaAlarmPanel1.lua
(line 335 is the bypassZones function) and this one shows the actions/arguments http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser/trunk/S_VistaAlarmPanel1.xml

Thanks..... This is helpful and I see what you are talking about.

On another note..... is there any way to trigger scenes based on the alarm panel status? There seems to be no way to capture items from the alarm panel, only the zones. At least the add trigger drop down doesn't think so. The alarm panel does appear as a selectable device but that's about it.

The upside is that I've managed to automate everything I want aside from this issue and auto bypassing zones based on zone fault. It took a lot of Combination Switches and Virtual Switches though ;)

I gotta learn to write code........ being a hardware/networking guy just ain't enough these days.

You should be able to trigger events based on the *partition* device being armed, disarmed, etc. -- does that help?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: M2MExpert on August 20, 2012, 01:35:59 pm

You should be able to trigger events based on the *partition* device being armed, disarmed, etc. -- does that help?

I thought that too, but it didn't seem to work for me.

Has anyone else in Forumland  gotten it to work that way?

EDIT:

Seeing some funky errors in my log file. At least, I think it's an error. Anyone ever see something like this?

50      08/20/12 17:16:46.377   luup_log:30: Honeywell Ademco Vista Alarm Panel Plugin version 2.45 __LEAK__ this:270336 start:270336 to 0x1081000 <0x2b615680>

50      08/20/12 17:16:49.416   luup_log:30: (VistaAlarmPanel::processIncoming) ERROR: Invalid message. __LEAK__ this:28672 start:1036288 to 0x113c000 <0x2f215680>
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: gelert on August 20, 2012, 08:18:15 pm
I have a lot of leak messages, too, but everything works fine... so I'm not sure what it means.

Regarding the partition triggers, mine are all in one scene that runs a different luup event for each one.. and I've never had any issues, sorry
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kbmcguire on August 23, 2012, 07:52:04 pm
@mcvflorin,
Is there a variable that stores the ID number of the last user who armed or disarmed the system?  I'm not sure if that is even something that is available using the AD2USB adapter but I see where some of the other alarm panel plugins have a similar variable and it is something I would like to use in my luup code.  Thanks.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: thebobman on September 01, 2012, 06:32:10 pm
Ok...so I got an AD2USB last week, read an awful lot, and got myself to inside the 1 yard line... Mios properly reflects armed, disarmed, ready, not ready status of my Ademco system etc on my Vera , I just cannot talk to it. Buttin presses, even remote, have no effect. Here is what I have:

Ademco Vista 20p
6160 Alpha Keyboard
5881 ENH Wireless Receiver
5800TM Transmitter
5828V Wireless Keyboard
5827 Wireless Keyboard
VM101 Broadband Alarm Transmitter (Address 20)
AD2USB (Address 19)

I am currently set in the plugin on Vera at with keyboard addresses 16(always the initial keyboard), 19, and 20. The partition was set at 1 automatically, fine as I have only 1. And the port is also configured.

What have I missed?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: M2MExpert on September 01, 2012, 08:17:00 pm
Ok...so I got an AD2USB last week, read an awful lot, and got myself to inside the 1 yard line... Mios properly reflects armed, disarmed, ready, not ready status of my Ademco system etc on my Vera , I just cannot talk to it. Buttin presses, even remote, have no effect. Here is what I have:

Ademco Vista 20p
6160 Alpha Keyboard
5881 ENH Wireless Receiver
5800TM Transmitter
5828V Wireless Keyboard
5827 Wireless Keyboard
VM101 Broadband Alarm Transmitter (Address 20)
AD2USB (Address 19)

I am currently set in the plugin on Vera at with keyboard addresses 16(always the initial keyboard), 19, and 20. The partition was set at 1 automatically, fine as I have only 1. And the port is also configured.

What have I missed?

Have you entered the PIN code in the settings of the partition device? I had that happen and found out that sometimes the PIN code gets lost even if secure store is set to "0". Not sure why, I think reboots will reset it.

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: thebobman on September 01, 2012, 09:56:59 pm
I did enter the pin code, and saw at the top of the screen it said pin code stored.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: gelert on September 03, 2012, 07:35:40 pm
I think you'd need to post the log of what happens when you try to arm it, etc... here are mcvflorin's instructions for that:

The easiest way is to view the logs in the browser. First enable Verbose Logging from Setup >> Logs and save, then put this URL in your browser:
http://vera_ip/cgi-bin/cmh/log.sh?Device=LuaUPnP

Look for the lines starting with 52, these are the messages received from the serial devices
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: M2MExpert on September 11, 2012, 08:09:12 pm

I have quick bypass enabled.

I created a scene and added your code (using my passcode, of course)

It seems to run OK but nothing happens.

Here is the log entries for when I run it:

08      08/14/12 10:57:09.837   Scene::RunScene running 25 Luup Bypass <0x2e695680>
08      08/14/12 10:57:09.837   JobHandler_LuaUPnP::HandleActionRequest device: 0 service: urn:micasaverde-com:serviceId:VistaAlarmPanel1 action: BypassZones <0x2e695680>
08      08/14/12 10:57:09.838   JobHandler_LuaUPnP::HandleActionRequest argument Zones=all <0x2e695680>
08      08/14/12 10:57:09.838   JobHandler_LuaUPnP::HandleActionRequest argument PINCode=(MyCodeHere) <0x2e695680>

I should hear a beep but I don't. I can do it within the Alarm Partition device of the plug-in OK and I can do it from the Keypad.

Any other thoughts?

@MCVFlorin: Perhaps the quick bypass command is wrong in the plugin code - it looks like it sends "PINCode 6 #" (which I copied into my post) ... whereas, at least using my 20SE keypad, it only works if you omit the # and just type "PINCode 6" ?

I'd like to revisit this subject. I've still not been able to find a workable solution.

I'm sure somebody must be smarter than me and want to do something similar.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: M2MExpert on September 13, 2012, 10:46:57 pm
I'm trying to use code presented earlier in this thread:

Code: [Select]
luup.call_action("urn:micasaverde-com:serviceId:VistaAlarmPanel:1","BypassZones",{Zones="all",PINCode="XXXX"},Partition_Device)

This is the log:

08   09/13/12 21:52:21.834   Scene::RunScene running 39 Bypass Zones <0x31fb2680>
01   09/13/12 21:52:21.834   GetLuaInterface can't find device type: 0/0x12d87a8 str: (null) <0x31fb2680>
08   09/13/12 21:52:21.834   JobHandler_LuaUPnP::HandleActionRequest device: 0 service: urn:micasaverde-com:serviceId:VistaAlarmPanel:1 action: BypassZones <0x31fb2680>
08   09/13/12 21:52:21.835   JobHandler_LuaUPnP::HandleActionRequest argument Zones=all <0x31fb2680>
08   09/13/12 21:52:21.835   JobHandler_LuaUPnP::HandleActionRequest argument PINCode=**** <0x31fb2680>
02   09/13/12 21:52:21.835   JobHandler_LuaUPnP::HandleActionRequest can't handle service: urn:micasaverde-com:serviceId:VistaAlarmPanel:1 <0x31fb2680>

Seems like the device isn't defined right or something.


Solved: Removed ":" and put in device ID for the Partition device. I can now bypass zones programatically.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: triangledave on November 24, 2012, 03:31:57 am
On the home stretch, but not quite there.  I am running UI5 and have a Vista 20p connected visa AD2USB and am using plugin version 2.45.  I've gone through the set up carefully and am most of the way there.  (have keypads set for 16 and 17 with 17 being the AD2USB I am assuming.  I entered *190 on the keypad for keypad 17.  I set the baud rate according to the instructions.

I can see 2 partitions.  At this time I only have 4 sensors connected via RF to partition 1 (although I need to verify that the sensors are only on partition 1.

When I arm the system (arm Stay for example)  the new status immediately shows on the dashboard.  When I disarm, the same thing.  When I open a window contact, the partition shows not ready immediately (although the not ready shows up only in partition 2, which is why I want to double check my alarm system settings).

I've also added 4 zones for the sensors and they show up on the dashboard. 

I have 2 things remaining-

1-The system will not arm when I click the arm button on the partition icon, nor will it disarm.  I get info from the panel, but none seems to send (I have quick are active on the panel)

2-See the status of the sensors.  It seems like I am missing a step to connect the manually created sensor zones to the alarm sensor devices so that I can see their status.

Any thoughts to help point me in a direction would be very much appreciated.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: wseverino on November 24, 2012, 08:11:26 am
Make sure you have your PIN entered when you hit ARM/DISARM in the UI.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: triangledave on November 25, 2012, 12:15:26 pm
Yes, I have tried arming and disarming with PIN, no luck.  At this point it is not very important for me to be able to arm and disarm via Vera.  the two things I am focused on are to be able to trigger a scene should the alarm be tripped--probably turning on lights, but I can imagine other things as well  :-)  The other thing is to be able to access the sensors and their states (armed/disarmed) to be able to use them for other purposes when not armed and possibly for conditional responses when armed.  For example, turn on outside lights if specific sensors are triggered.

Since I accurately can see the status of the panel, the next step would ideally be seeing the status of the sensors.  I've added them on the "cheat sheet" but it seems like there should be a setting somewhere for Vera to be able to make the connection to the specific sensors on the alarm system.  Any ideas?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on November 26, 2012, 06:18:53 am
The plugin makes the connection between the Vera devices and the panel devices using the zone number. This is how the messages related to the zones are sent from the AD2USB. So if you created Zone #01 and the panel reports that zone #1 is faulted, the plugin will set Zone #01 to tripped.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: triangledave on November 27, 2012, 12:34:29 am
Aha, that makes sense.  I deleted the old sensors that I created in the cheat sheet and re-added the four sensors using the zone numbers that match the zones on the vista 20 p--four devices starting with 09 since I am using wireless.  I then triggered zone 10.  The status change immediately showed on the Vera Ademco alarm panel icon.  Unfortunately the newly created zone 10 sensor showed no change.  Closer, but not quite there. 

I know communication is happening at least to the vera because the panel status has been accurate and available the whole time.

It seems like there is just one more setting or thing to check somewhere and I will have it.

Help is very much appreciated, will summarize.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB: capturing a message
Post by: papaworx on November 30, 2012, 04:45:54 pm
Can I capture e.g. a motion detector tripp event, when the partition is not armed, eg. for turning on a light?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: triangledave on November 30, 2012, 07:41:21 pm
Though I am not yet there, from other info about the alarm panel--vera connection, it sounds like the alarm sensors are available to vera as a z-wave sensor available in both armed and unarmed state.  I believe your answer is yes and I hope to get my set up to that level of operation.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: papaworx on December 01, 2012, 11:21:51 am
Thanks, I figured it out:
1. Create a Scene, e.g. "HallMotion"
2. In this scene create a Trigger e.g. "HallWalker"; Device dropdoewn: 'Hall Motion etc.'; Event: 'a sensor is tripped'; and then 'Device is tripped'
3. immediate: turn on Hallway light,
4. at 2 minutes: turn off hallway light,
5. at 3 minutes: turn off halway light (just to be sure).
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: triangledave on December 01, 2012, 01:56:13 pm
Papaworx,

Do you have a fully functional connection between a Vista panel and your Vera?  If so, would you be willing to walk through your settings?  I am still trying to figure out why the sensors are not active on Vera when I know I have connectivity between Vera and my Vista 20p.

David
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: papaworx on December 01, 2012, 03:37:08 pm
Firstly, I have to retract the above statement. It worked the first time, but not the second. I had to manually reset the trip flag, before it worked again. I am now experimenting with SmartSwitch.

Now to triangledave's question: after getting Vera talking with AD2USB, which in turn talked with my Vista 20p panel, I opened the 'Ademco Vista Alarm Panel' box in my UI5 window. I selected 'Cheat Sheet' and added all the zones of my alarmsystem together with meaningful names. Fortunately, the original installer had recorded them in a list on the inside of the alarm panel lid. For example, the motion detector in the hallway now appears as 'Front Hall Motion'.

But the SmartSwitch doesn't function consistently. Again, once the motion detector flag is tripped, it doesn't set itself back.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: triangledave on December 02, 2012, 12:34:52 am
A little bit more info.  I was able to ssh to Vera and was saw this line when I opened a sensor for the Vista 20p:

06   12/01/12 21:27:35.216   Device_Variable::m_szValue_set device: 33 service: urn:micasaverde-com:serviceId:AlarmPartition2 variable: DetailedArmMode was: Ready now: NotReady #hooks: 0 upnp: 0 v:0x888190/NONE duplicate:0

I've added the zones/devices on the cheat sheet according to zone #.  The window/door sensor above that was tripped was alarm zone 13, and was added in the cheat sheet as zone 13.  However, the status of the sensor did not change in Vera.  The status of the alarm did change in Vera (which looks like the log line above). 

Any ideas why is says ServiceID: AlarmPartition2?  I only have one partition active as far as I know.

Device 33 is the alarm panel's ID on vera.

Any further thoughts on what step I've missed?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: papaworx on December 02, 2012, 08:02:53 am
In Alarm Panel... under the Advanced tag it should say: NumPartitions ... 1
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: triangledave on December 02, 2012, 11:26:48 am
I did set it at 1 partition.  However, previously I set it at 2 partitions because I was a little unsure of the setting and the Vista 20p does have 2 partitions--I was not sure if it was "active" as described in the set up.

What I think I might do is delete the whole thing on Vera and start over to see if that helps.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on December 02, 2012, 11:49:50 am
I did set it at 1 partition.  However, previously I set it at 2 partitions because I was a little unsure of the setting and the Vista 20p does have 2 partitions--I was not sure if it was "active" as described in the set up.

What I think I might do is delete the whole thing on Vera and start over to see if that helps.

did you configure the ad2usb with your pc first giving it the correct address?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: triangledave on December 02, 2012, 01:25:16 pm
SteveZ,

No, I did not.  I did not see that step on any of the set up links.  Do you have info on that?  I am assuming that I plug the ad2usb into the computer via USB, somehow log into the device and configure it to be keypad #17.  This makes sense because you have to address a keypad at the keypad.  However, I just went over the set up links and there is no mention of configuring the ad2usb.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on December 02, 2012, 01:54:59 pm
go to http://www.nutech.com/index.php?option=com_fireboard&Itemid=74&func=showcat&catid=4 and follow the instructions to install the ad2usbgui software, once your in that there is a area to change the address.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: triangledave on December 03, 2012, 12:10:46 am
Pretty much there, noob error.  After working through the steps in the link from SteveZ, there was a notation on one of the steps that the AD2USB comes with keypad 18 as default.  Small lightbulb went off--I was trying to have my set up use id 17, my next available keypad. When I was to the end of the steps to control the panel via my computer, I realized that I probably did not need to do that, but that my issue was probably with the keypad activation on the panel itself.  I went back to my panel keypad and entered #191 and saw that the keypad ID was not active.  I entered
*191  and then entered 11 and got three chimes--keypad active--success!!  I can arm and disarm my system using vera, AND I can see the status of the alarm panel sensors!! 

At first I noticed that the alarm zone did not appear to reset on Vera.  My zone 13 (the window sensor I've been working with), still shows as tripped even though the window is closed and the panel (both on Vera and at the physical keypad) show Disarmed Ready to Arm.  This sounds a little bit like what papaworx was running into.  I went back to the code.mios instructions and found the TTL setting.  For some reason my TTL was set to 1200.  I changed the setting to 15 and saved.  I tripped the sensor again and then closed it.  After a short pause, the sensor icon on vera showed as untripped.  I might play around with a shorter TTL, but for now I am happy the whole system works.

Also,  if this is the correct place, it might help future noobs if the Installation and set up section on http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb  stated that the default address for the AD2USB is 18 for Vista 20p and that keypad id 18 must be enabled.  It states it on the page, but clearer language might help clarify.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on December 03, 2012, 12:43:36 pm
The sensor's tripped state will reset after TTL seconds have passed without the panel reporting the sensor as faulted. The default is 1200 seconds (20 minutes), which is the same as the default time period after which the Z-Wave motion sensors report that they are not tripped anymore. Another reason for this value is to reduce the number of notifications. In areas with a lot of motion, if the TTL is 15 seconds, there could be 1 notification every 15 seconds.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: triangledave on December 03, 2012, 09:21:29 pm
Thanks for the info,  I'll remember that for any motion sensors I install.  With the door and window sensors, the volume of notifications is low except for possibly the front door.  I'll probably keep playing with the TTL on the other sensors so that they can be used for other functions beyond the alarm.

Any idea where the tipping point is for bogging down the system? 



Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on December 05, 2012, 11:35:16 am
Any idea where the tipping point is for bogging down the system?
Probably pretty high, but this depends on how comfortable you are with receiving many e-mails :).
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: GroundLoop on December 12, 2012, 01:35:09 am
Thanks mcvflorin.  That might explain the same issue I had.. the hardwired zone sensors (magnetic) will trip instantly and Notify, but then take a long time to notify on the clear/untriggered state.

I have to say I really like this AD2USB solution -- it's like getting a whole batch of hardwired reliable sensors for one price. :)


Is there any way to have it store the PIN number in non-volatile memory?  It seems to forget the PIN number any time Vera is rebooted, and the it can't arm/disarm the panel.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on December 12, 2012, 05:37:45 am
Is there any way to have it store the PIN number in non-volatile memory?  It seems to forget the PIN number any time Vera is rebooted, and the it can't arm/disarm the panel.

I didn't implement this for security reasons. On the real panel one must enter the PIN code for every command, the fact that you must enter the PIN code after every Vera reboot is less of a hassle than that.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: GroundLoop on December 13, 2012, 02:31:53 am
Understood.  I'm sure this will be fine and good in the long run..  but during the initial roll-out and installations, I'm power cycling the Vera (battery-powered includes) more than I'd like.  If I forget to enter the PIN, then the alarm controls don't work.

Is the concern that the config files get backed up to MCV/MiOS off-site, where they would be readable?

If there was an option to "Warn on No PIN", I'd select it.   This could pop up a warning message in status or something visible from dash. This way the dashboard would show that the AD2USB plug-in is not yet equipped with the PIN.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on December 13, 2012, 08:51:37 am
There is an error message shown in the status box at the top, which says Missing PIN code, or something like that. The PIN codes are stored in a temporary file, which is not uploaded on our server, and it's removed when Vera reboots.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Latz on December 15, 2012, 07:53:27 pm
There is an error message shown in the status box at the top, which says Missing PIN code, or something like that. The PIN codes are stored in a temporary file, which is not uploaded on our server, and it's removed when Vera reboots.

Thanks for the fantastic App!!! 

Just wanted to ask if you'd be willing to let us decided if we want Vera to forget the code on reboot, an option box or something?  I ask because I want to use my Ademco alarm system sensors to trigger events in the Vera but unfortunately, my scenes keep breaking when Vera reboots.

I don't use the Ademco alarm for burglar detection as I have a different one that uses different sensors which isn't compatible with Vera.  As the old Ademco is already working and in place in my outbuildings, it would be fantastic to get some use out of it!

If you're completely against the option of allowing the user to decide (which I can understand), is there code I can use to do this task? Perhaps I can setup a scene to run the code after the Vera has rebooted.

Appreciate your thoughts.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: rdbrose on December 17, 2012, 10:40:00 am
I moved moved this posting from a different area and clarified it. Hopefully I've submitted it to the right place.

I have an Ademco Vista-20P attached to a UI5 Vera3 via a AD2USB adapter. I believe that I have the latest updates installed and everything appears to be working fine unless I generate an alarm condition.

When the Vera3 is not connected to the AD2USB I can, from the keypad, disarm the alarm with the first entry and can remove the alarm code with the second entry and the 20P returns to the ready state.

When the Vera3 is connected to the AD2USB I can, from the keypad and my PC, arm and disarm the system fine as long as an alarm is not generated. The 20P returns to the ready state and the usb light on the Vera3 continues to blink. When an alarm condition is generated I can disarm the alarm with the first disarm entry and the Vera3 usb light continues to blink. However, when I enter the second disarm entry the alarm code is not cleared, the 20P does not return to the ready state and the Vera3 usb light stops blinking. Additional disarm entries have no effect and I need to power cycle the 20P and the Vera3 in order to recover.

I would appreciate your thoughts/ideas on how to resolve this problem?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Latz on December 19, 2012, 11:17:18 pm
I moved moved this posting from a different area and clarified it. Hopefully I've submitted it to the right place.

I have an Ademco Vista-20P attached to a UI5 Vera3 via a AD2USB adapter. I believe that I have the latest updates installed and everything appears to be working fine unless I generate an alarm condition.

When the Vera3 is not connected to the AD2USB I can, from the keypad, disarm the alarm with the first entry and can remove the alarm code with the second entry and the 20P returns to the ready state.

When the Vera3 is connected to the AD2USB I can, from the keypad and my PC, arm and disarm the system fine as long as an alarm is not generated. The 20P returns to the ready state and the usb light on the Vera3 continues to blink. When an alarm condition is generated I can disarm the alarm with the first disarm entry and the Vera3 usb light continues to blink. However, when I enter the second disarm entry the alarm code is not cleared, the 20P does not return to the ready state and the Vera3 usb light stops blinking. Additional disarm entries have no effect and I need to power cycle the 20P and the Vera3 in order to recover.

I would appreciate your thoughts/ideas on how to resolve this problem?

Not saying this will resolve the problem but can you just quickly confirm you've authorized keypad address 18 on the 20p?  Also, can you confirm there are no other keypads set to address 18?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on December 20, 2012, 06:50:16 am
Perhaps I can setup a scene to run the code after the Vera has rebooted.

You can put the StorePinCode action in Startup Lua:
Code: [Select]
luup.call_action("urn:micasaverde-com:serviceId:VistaAlarmPanel1", "StorePinCode", "1234", PARTITION_DEVICE_#)

e.g. If the partition 1 device number is 23, the code would look like this:

Code: [Select]
luup.call_action("urn:micasaverde-com:serviceId:VistaAlarmPanel1", "StorePinCode", "1234", 23)

Or you can create a scene and select the StorePinCode action from the Advanced tab of the scene (after you picked the Partition device).
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on December 20, 2012, 06:55:09 am
@rdbrose
When you disarm, do you put the PIN code in the PIN code input box?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Latz on December 21, 2012, 03:06:33 am
Perhaps I can setup a scene to run the code after the Vera has rebooted.

You can put the StorePinCode action in Startup Lua:
Code: [Select]
luup.call_action("urn:micasaverde-com:serviceId:VistaAlarmPanel1", "StorePinCode", "1234", PARTITION_DEVICE_#)

Or you can create a scene and select the StorePinCode action from the Advanced tab of the scene (after you picked the Partition device).

Much appreciated!  Thanks  :)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Latz on December 22, 2012, 03:43:56 pm
@mcvflorin I've tried a few different ways to get this working but I keep getting the error in lua for scenes and events message so I know I've missed something!

Here's how mine looks:

Code: [Select]
luup.call_action("urn:micasaverde-com:serviceId:VistaAlarmPartition:2", "StorePinCode", "1234", PARTITION_DEVICE_#)
The obvious exception is that I have changed the 1234 pin code to my own and I have referenced my Ademco partition device VistaAlarmPartition:2 instead of VistaAlarmPanel1 as per your code.

Checking the logs I get:

50   12/22/12 13:42:09.428   luup_log:20: (VistaAlarmPanel::getCheckConnectionDelay) Check connection delay = 180. <0x2babb680>
50   12/22/12 13:42:09.428   luup_log:20: (VistaAlarmPanel::main) SUCCESS: Startup successful. <0x2babb680>
50   12/22/12 13:42:09.436   luup_log:20: (VistaAlarmPanel::processIncoming) ERROR: Invalid message. <0x2e8e8680>
01   12/22/12 13:42:09.551   luup_require can't find veraUserTemplateDefinitions <0x2babb680>
50   12/22/12 13:42:09.554   luup_log:32: VeraAlert:32:Msg::Vera Startup  <0x2babb680>
50   12/22/12 13:42:10.757   luup_log:32: VeraAlert:32:SendAlert:Return:200 <0x2babb680>
01   12/22/12 13:42:10.788   luup_require can't find lpeg <0x2babb680>

I suspect I've not entered the partition number and that's causing the problem but when I enter 1, it says the same thing.

Any ideas?   :)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: GroundLoop on December 28, 2012, 01:53:01 pm
This is probably a really dumb question, but where is "Startup Lua", as in:
"You can put the StorePinCode action in Startup Lua:"

I've looked everywhere for somewhere to put code for Vera to run at startup (set globals, do things like this).  Something to run once at system startup, and never again.

Where is the right place to add these?  I don't see anything called "Startup Lua" in the UI, but I could be missing it.
Thanks!

EDIT:
Doh.  Found it.

It's under Apps->Develop Apps->Edit Startup Lua
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Latz on December 29, 2012, 08:26:58 pm
Doh.  Found it.

It's under Apps->Develop Apps->Edit Startup Lua


Glad you found it!  Did you manage to add the code and get it to work?  Mine still won't work  :(
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: gelert on December 30, 2012, 02:22:26 am
Doh.  Found it.

It's under Apps->Develop Apps->Edit Startup Lua


Glad you found it!  Did you manage to add the code and get it to work?  Mine still won't work  :(

I imagine the storepincode function only applies to VistaAlarmPanel1, so change that back to what MCVFlorin had

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Latz on December 30, 2012, 07:15:18 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! 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: GroundLoop 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>
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: almiller 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?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves 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
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Latz 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  :)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: almiller 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...
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves 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
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin 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
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: rabbmd 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?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Latz 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. 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin 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.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Latz 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?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin 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.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Latz 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
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: ranger47 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...
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on January 21, 2013, 08:13:11 am
The plugin works only with the panels compatible with the AD2USB.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Latz on January 23, 2013, 09:38:37 pm
hey @mcvflorin the script was working fine but then it started saying 'cannot arm/disarm without pin code' again?  It was working fine then suddenly stopped  :( any ideas what could be going on?  As far as I know, I haven't changed anything.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on January 24, 2013, 07:30:31 am
Probably Vera rebooted (power outage?) and the stored PIN codes were lost.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Poe1 on January 24, 2013, 09:47:54 am
I'm trying to trigger events (turn lights on, etc) based on motion sensors tripping.  Everything works great when the system is in the "Ready" Status.  I see sensors getting tripped in the UI and it triggers scenes/lights as I intend.  However, when I change it armed in the "Stay" mode, the motion sensors no longer get tripped, nothing get's updated in vera's UI, and therefore it won't trigger my scenes.

Is there a settings somewhere that I've got to change?

I tried searching the forum but couldn't find any info, so sorry if this has already been discussed.....

Any help?

Thanks.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on January 24, 2013, 10:47:25 am
@Poe1

That's normal, I explained why this happens in a previous message in this thread. You may want to try @hugheaves' version (http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/changeset/70/trunk?old_path=%2F&format=zip) available in trunk (http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser/trunk). He added several nice features. Unfortunately I didn't have time to test his new version and update the documentation.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Poe1 on January 26, 2013, 06:31:11 am
Thanks, mcvflorin.  I'll give that a try.

-Cheers
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: triangledave on January 27, 2013, 02:16:11 pm
I have my vista 20p with 17 sensors working with Vera via AD2USB.  The integration is great and I am able to use the sensors for other things in Vera.  One last little hiccup.  On the UI5 screen, I have the icon for arming and disarming the system which works nearly perfectly.  I click arm-stay, it correctly arms.  I click arm-night-stay, it correctly arms.  I click disarm, it correctly disarms.  However, when I click arm-away, the system does an arm-stay instead.  Otherwise, things have been running very well.

Any suggestion as to what the glitch might be with arm-away?

Thank you.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on January 27, 2013, 05:32:22 pm
triangledave,

sounds like the auto stay armed is enabled in the programming menu, which will change away mode to stay mode if no entry/exit door is opened and closed within the delay time. enter programming mode and change option *84 to 0.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: triangledave on January 27, 2013, 10:59:33 pm
Awesome!  That did it.  Thank you.

David
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Latz on January 28, 2013, 06:40:38 pm
Probably Vera rebooted (power outage?) and the stored PIN codes were lost.

Oh, I thought the purpose of the lua startup script was to enter the pin code for me?  Does that mean every time there is a power outage or it's physically unplugged I will have to store the pin code again?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on January 29, 2013, 02:42:46 am
It's the bug I mentioned in a previous post:
http://forum.micasaverde.com/index.php/topic,7266.msg98510.html#msg98510

Upload the attached file to fix it.

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves on January 30, 2013, 11:55:15 am
@mcvflorin,

Just as an FYI, the new release of the AD2USB plug-in got pushed to my Vera even though my "auto-update" check box was not checked. (Because I'm running the version from SVN head, I didn't want it to auto-update). I realized once all the motion sensors in my house stopped working what had happened.

I don't know if this is a bug, or if this was some sort of "forced" update that overrode the auto-update setting.

Hugh

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on January 30, 2013, 09:03:47 pm
Looks like mine auto updated as well, also had auto update un checked, causing the rf devices not enroled in my panel to stop working and the cheatsheet no longer has the serial # column, can I just re upload all the files in the trunk to get back to the old version?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Latz on January 31, 2013, 12:49:00 pm
@mcvflorin

Ah!  I've been banging my head the last couple of days to figure out why my Vera has given me the yellow screen of death.  Is there a way to roll back to the previous version or figure out why it's causing my Vera to die? 

It seems fine with the software plugin installed, as soon as I physically plug in the USB cable to the AD2USB, that's when I get the yellow screen of death.  It was working fine before the update (apart from that bug you drew my attention to).

PS I had the 'auto-update' option checked on

Any help appreciated!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Latz on January 31, 2013, 01:39:10 pm
Not sure if this will help anyone else who might be experiencing the same troubles I was.

If you get the yellow screen of death, do the following:

Restore your Vera to factory defaults
UNPLUG YOUR AD2USB FROM THE VERA USB PORT FIRST!  To restore your Vera, you should try to reset it to factory defaults by pressing and holding the reset button for more than 15 seconds. (you will need a paper clip - the reset button is near the "-" button).

Restore a backup

Prepare to reconnect AD2USB

In my case, this cured the problem.  It appears the serial port configuration was wrong.  It was fine for months but all of a sudden it had changed itself!  Cause unkown.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on January 31, 2013, 10:44:39 pm
I restored to a backup from about a week ago and it is working again, just wondering if there is anything i can do to prevent it from auto updating even though i have it unchecked. thanks for your help.

edited to add: it already auto updated again now rf sensors stopped working
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on February 04, 2013, 01:11:48 pm
I don't see how this plugin can cause an YSOD, so I'm curious about what really happens. Can you send me an e-mail to florin at mios dot com with the serial # of you Vera?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Poe1 on February 08, 2013, 03:38:19 pm
I'm trying to trigger events (turn lights on, etc) based on motion sensors tripping.  Everything works great when the system is in the "Ready" Status.  I see sensors getting tripped in the UI and it triggers scenes/lights as I intend.  However, when I change it armed in the "Stay" mode, the motion sensors no longer get tripped, nothing get's updated in vera's UI, and therefore it won't trigger my scenes.

Is there a settings somewhere that I've got to change?

I tried searching the forum but couldn't find any info, so sorry if this has already been discussed.....

Any help?

Thanks.
@Poe1

That's normal, I explained why this happens in a previous message in this thread. You may want to try @hugheaves' version (http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/changeset/70/trunk?old_path=%2F&format=zip) available in trunk (http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser/trunk). He added several nice features. Unfortunately I didn't have time to test his new version and update the documentation.

Can someone who's been able to get sensors tripped when in "Armed Stay" mode verify I'm on the right path?  I've read thru the ~40 pages of on this thread and it's been a little challenging to nail down exactly what I need to do.  But he's what seems to be the steps:


I'm unable to get into programming mode in the 20P.  I used to be able to, but now it just beeps at me and won't let me in.  So before I spend money to get the my local alarm company out here I wanted to make sure I've done everything else right.  I know this isn't a forum on how to program/troubleshoot the 20P, but if anyone has any advice on that, I'm all ears.

I appreciate all of the great content this community provides.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on February 08, 2013, 07:42:41 pm
Poe1
using hugheaves code only wireless sensors will report tripped status during an armed state and i think you will still need to enter in the serial # in the cheat sheet. wired sensors will still not report tripped in any armed mode even with hugheaves code. from what I understand it is not possible because the ademco bus does not display that info when armed.

and for your second problem with being locked out you can try this. unplug battery and transformer, power up then press * and # at the same time within 50 seconds of poweing up on a alpha keypad, you may have exited programming mode with *98 instead of *99.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Poe1 on February 08, 2013, 08:54:23 pm
Thanks for the reply SteveZ.  Bummer about the wired sensors, but sounds like there's not much that can be done.

Thanks for the tip about how to get back into programming mode.  Do I hit * and # within 50 seconds of plugging the transformer and battery back in, or within 50 seconds after the alpha keypad shows the system is finished booting.  I just want to make sure because hitting * and # at the same time on my keypad causes a "panic" condition.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on February 08, 2013, 09:17:40 pm
yes after plugging in the transformer hit  * and  # at the same time, right away
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves on February 09, 2013, 04:32:48 pm
wired sensors will still not report tripped in any armed mode even with hugheaves code. from what I understand it is not possible because the ademco bus does not display that info when armed.

Actually, wired sensors report tripped in any armed mode, just as long as you setup the virtual relays as described in the AD2USB/nutech forums. You enter the virtual relay address / channel numbers on the cheat sheet just like the RF serial #'s. (see attached screenshot)

Here's the post on the nutech forums describing the relay setup:

http://www.nutech.com/index.php?option=com_fireboard&Itemid=74&func=view&catid=4&id=656

I have >12 hard wired motion sensors on my 20P, and they all report tripped status regardless of the armed mode.

Hugh
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on February 10, 2013, 01:17:33 pm
Thanks Hugh, I had no idea. I must have missed that in previous posts.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: jrtech on February 17, 2013, 02:40:48 am
Are there any android apps that support remote arm/disarm of individual partitions using this plugin?

I'm using the RS232 plugin now, and none of the Android apps I try seem to work with it.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: garrettwp on February 17, 2013, 03:25:54 am
If it implements the proper alarm partition service id, which it looks like it does looking at the code, it should work under my app "AutHomation(HD)".

- Garrett
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: jrtech on February 17, 2013, 02:00:58 pm
Garrett,
I have your app. The RS232 plugin doesn't appear to work with it. Can you take a look at the code and see if it's implementing the correct service id?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: adro on February 27, 2013, 07:52:03 am
Hello.
Need some help please.

I have set up my Vera and the ad2usb, working nice. Able to arm, disarm et. and Vera tells me when the system is not ready (eg open door etc.)
I have only RF devices, starting at zone#9, which is main door.
I have created this zone in cheat sheet and placed it in the right room. However the status is not updated, (status updated main alarm panel) so where do I link the
zone to the real door device?
Hope you understand the question, english is not my native language.
Regards
Atle
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on February 27, 2013, 02:37:26 pm
wired sensors will still not report tripped in any armed mode even with hugheaves code. from what I understand it is not possible because the ademco bus does not display that info when armed.

Actually, wired sensors report tripped in any armed mode, just as long as you setup the virtual relays as described in the AD2USB/nutech forums. You enter the virtual relay address / channel numbers on the cheat sheet just like the RF serial #'s. (see attached screenshot)

Here's the post on the nutech forums describing the relay setup:

http://www.nutech.com/index.php?option=com_fireboard&Itemid=74&func=view&catid=4&id=656

I have >12 hard wired motion sensors on my 20P, and they all report tripped status regardless of the armed mode.

Hugh

Hugh - what does the Channel/Loop # represent in your Cheatsheet for hardwired zones? Is that the corresponding hardwired Output Device#/Zone# (# 1-8) that you program in the panel in *79 and *80? Also, I made an Output Device Programming cheat sheet. Is this correct? I have a Vista 20P.

***I found this old post from Hugh but it doesn't explain what channel represents for hardwired zones?
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

***EDIT*** So I posted this question on the Nutech forum as well and they said the Relay should be 1-4 for module 12 and 1-4 for module 13. New cheat sheet attached. Is this correct?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shep29 on February 27, 2013, 05:54:30 pm
I upgraded to version 2.45 today and everything seemed to be working but now I keep getting a Connection Down error in Dashboard. I'm running UI4.

Anyone having this issue and know what could be causing it?

***UPDATE*** I updated the AD2USB firmware to Beta V2.2A.7, which gets you Relay Support, and changed the Baud Rate in Serial Port Configuration in Dashboard to 115200 to match and all seems to be working again. It was at 9600 previously.

@Mcvflorin is this correct?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mtncomm1 on March 05, 2013, 01:27:36 pm
When the alarm panel is tripped and disarmed locally with one of two keypads (on a Visa 20P panel), the alarm panel will not clear the alarm condition from the keypad; even after entering pin code and Off twice as directed. Alarm condition can only be cleared by hitting Disarm button on  the Partition 1 device from Dashboard, then using "Clear" button on Alarm Panel tab.

Is there a way to correct this, so the alarm condition can be cleared either locally from a keypad OR remotely from an app or from Dashboard WITHOUT having to do both?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mtncomm1 on March 05, 2013, 01:40:17 pm
I am looking for apps, for both Android & iPhone, that will allow client to access more than one Vera at different locations and Arm/Disarm the Vista 20P panels. Vera Mobile only shows individual zone sensors and no device or tab to actually arm/disarm partitions. Home Buddy & Authomation are both great apps, but neither is very easy to switch between different Veras for local or remote control without crashing or failing to switch between Veras. Have not had the client try any "paid" apps, but will make the recommendation IF there is one out there that will "fill the bill" so to speak.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kermit88 on March 10, 2013, 10:20:00 am
I?m leaning towards upgrading my home alarm with the 20P & AD2USB.
This thread is great, I know this setup will be able do everything I want. 
Is there a different thread that will give a simple overview of how to setup?  Every time I make changes to Vera I struggle and have to work through it. 
I would love to see some best practices and install tricks.

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mattwhit on March 17, 2013, 11:55:31 pm
Getting connection down and missing port errors again!  Every time I disconnect Vera3 (to include/exclude devices using the battery pack) I lose connectivity to my Vista panel... months will go by with no issues... as soon as I disconnect/reconnect I get the Missing Port and Connection Down errors.  I've tried reconfiguring the serial/usb... no go..

Anyone else having this chronic issue?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: nas4a on April 08, 2013, 03:31:04 pm
Getting connection down and missing port errors again!  Every time I disconnect Vera3 (to include/exclude devices using the battery pack) I lose connectivity to my Vista panel... months will go by with no issues... as soon as I disconnect/reconnect I get the Missing Port and Connection Down errors.  I've tried reconfiguring the serial/usb... no go..

Anyone else having this chronic issue?

I was just coming on here to post the same thing.  I have the exact same issue, only on a Vera 2, UI4, plug-in version 2.41.  It was running seamlessly for over a year.  I was having issues with one of my devices, so I hooked up to  the battery pack to exclude-reinclude, and when I plugged it back in, I get a "Connection down" error.  I have tried several different sequences of rebooting and reconnecting and can't get it to reestablish the connection. 

I don't get it.  We were without power for a week during the hurricane, and it booted back up just fine.  I even tried restoring, and that didn't help.  Is there a specific order in which you have to power on/off and or reconnect some combination of the Vera and the AD2USB for it to work right?

If someone can find a fix for this, I'd greatly appreciate it. 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mattwhit on April 08, 2013, 03:38:53 pm
nas4a... Glad to hear I'm not the only one but sorry you too are down.  Mine has been down for over a month. I've spent hours and have tried everything I know what to do.  Micasa tech support got it to work for about five minutes while remoted in. It stopped working and they couldn't get it back. Said they would let me know when they found a resolution. That's been a few weeks ago...
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: nas4a on April 08, 2013, 05:41:58 pm
nas4a... Glad to hear I'm not the only one but sorry you too are down.  Mine has been down for over a month. I've spent hours and have tried everything I know what to do.  Micasa tech support got it to work for about five minutes while remoted in. It stopped working and they couldn't get it back. Said they would let me know when they found a resolution. That's been a few weeks ago...

Ugh.  Not what I had hoped to hear.  This plug-in is really one of the key points of my system.  Without it, I'm kind of working at half-functionality.  I just don't understand what changed.  I held off on upgrading to UI5 simply because I didn't want to have to reinstall this again, but given that it's not working, I might reconsider. 

I'll open a ticket and see if they can figure anything out on my end.  If nothing else, 2 people with the same issue might give it more attention.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on April 08, 2013, 08:05:47 pm
Did you guys make sure the serial port configuration settings weren't lost on the power restart. I'm thinking when you powered up on the battery and the ad2usb was not plugged in the settings were lost. that is one of the reasons I always use the full power inclusion when adding z-wave devices.   oh and have the vera plugged into a ups
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: nas4a on April 09, 2013, 08:49:16 am
mattwhit,

Dennis from support fixed my issue for me remotely.  SteveZ seems to be on to what caused the issue.  I asked Dennis what I need to do going forward to keep this from happening again, and he said the below:

Each time you will disconnect Vera to add a new device, please follow the steps:
 - after you re-connect back Vera, go to your dashboard;
 - click on "MiOS developers" icon and then on the "Serial Port configuration" tab;
 - make sure that "Baud" is set to 115200;
 - make sure that "Used by device" is set to "Honeywell Ademco Vista [Hidden - Functional]";


Hope this helps.  Seems like somehow when you disconnect from the AD2USB, it can lose some settings.

Thanks to Dennis for the great support!   ;D
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Crazman on April 10, 2013, 05:06:55 pm
I have notifications set for all of my devices.   When I open a door to my house and it is armed and I have about 45 seconds to punch in my code before the main alarm goes off.  However, I immediately get a notification that the door was opened before I can punch in my code.  I can get around this by having a notification sent from the alarm panel only (which will only be sent if I do not punch in my code in the 45 second time frame and the panel goes into full alarm mode.).  However, when the notification is sent it doesn?t have any information as to what zones have been tripped so I would have no clue what IP camera to check if it were a real break in.  Is there a way to set things up such that a notification will only be sent from an individual device if it is tripped AND the alarm panel goes off.  Or, can notifications be set up such that the alarm panel device will send information within the notification about what devices are tripped when the alarm panel goes off?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on April 10, 2013, 08:11:21 pm
I am not able to bypass zones via a physical keypad, or do much of anything, if a zone is faulted when the ad2usb is plugged into my vera.  I just did the install over the winter so I am just now noticing the issue since I am now wanting to leave windows open.

Setup:
- Vera Lite fw 1.5.622 (just updated recently but this was occurring before the upgrade as well)
- ad2usb plugin v2.44
- Honeywell/Ademco 20P
- All zones are on partition 1, partition 2 is unused and has no keypads assigned.  No keypads are assigned to partition 3 (common).
- 6160RF on keypad address 16
- 6150 on keypad address 17
- ad2usb on keypad address 18
- TTL = 30

Keypad addresses have been verified via cycling power and pressing 1+3 to check addresses.

Observed behavior if the ad2usb is plugged into the Vera Lite:
1. I am unable to bypass faulted zones 99% of the time from a keypad.  I have been successful two or three times which leads me to believe I am beating a race condition on occasion.
2. I can bypass zones with a 100% success rate using the Vera.
3. The 6160RF never shows the "Hit * for faults" when faults are triggered.  It just always flips through the faults as if I was hitting "*".  More so, it acts as though a "*" was being sent every second or so as it rapidly flips when showing faulted zones as opposed to a normal slow slip between zones.  I am able to simulate the rapid flipping by pressing "*" when the ad2usb is disconnected.

From the wiki "When a partition is in the NotReady state, the plugin will attempt to send the star(*) command to get the faulted zones. " which furthers my belief that it is the ad2usb device, and plugin, sending "*" very rapidly.

Thoughts:
A. Is this the result of having a multi-partition system, with only a single partition in use, and no keypads specifically assigned to the second partition?
B. I thought it might be related to using a user code vs. master code but that has no impact. 

Any ideas?


Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on April 11, 2013, 07:54:51 pm
@Crazman Maybe you could set up a scene that uses the alarm panel going into alarm as the trigger to arm all of the individual door, window and motion sensors, then when it does alarm the armed sensor that is tripped would send the notification. I think this would only work if you have the latest code from the trunk and enabled  and programed the virtual relay support that @hugheaves has referanced earlier in this thread becasue normaly faulted zones when the panel is armed do not show up in the vera UI. that is only for hardwired zones, for wireless you will still need the latest code nut can just add the serial number to the cheat sheet.

@sound-mind

not sure why that is happening, but have you though about creating a configurable zone type for the zones you bypass and create it with a vent zone? see page 14 of the programming guide, that will allow you to arm the pannel even though those zones are faulted, they can be closed but once open the panel will alarm.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on April 11, 2013, 10:23:51 pm
@sound-mind

not sure why that is happening, but have you though about creating a configurable zone type for the zones you bypass and create it with a vent zone? see page 14 of the programming guide, that will allow you to arm the pannel even though those zones are faulted, they can be closed but once open the panel will alarm.

@SteveZ Yes I have but, as I understand things, vent zone faults are ignored when arm commands are sent and require no bypass action on behalf of the user.  I still want this to be a conscious decision of the person arming the system.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on April 12, 2013, 01:42:09 pm
Enabling debug confirmed my suspicions.  "*" is being sent about once a second.

Code: [Select]
50 04/12/13 13:39:02.100 luup_log:43: (VistaAlarmPanel::sendStar) Send '*' to partition 1. <0x2c1b1680>
50 04/12/13 13:39:02.531 luup_log:43: (VistaAlarmPanel::processIncoming) Incoming data = '!Sending.done'. <0x2ddb1680>
50 04/12/13 13:39:02.531 luup_log:43: (VistaAlarmPanel::processIncoming) Drop message. <0x2ddb1680>
50 04/12/13 13:39:02.942 luup_log:43: (VistaAlarmPanel::processIncoming) Incoming data = '[0001000100000000----],015,[f70000071015000008020000000000],"FAULT 15 MASTER FRONT WINDOW    "'. <0x2ddb1680>
50 04/12/13 13:39:02.942 luup_log:43: (VistaAlarmPanel::getStatusFlags) Active flags:  <0x2ddb1680>
50 04/12/13 13:39:02.943 luup_log:43: (VistaAlarmPanel::getPartitionState) Got ArmMode='Disarmed' for partition 1 (device #44). <0x2ddb1680>
50 04/12/13 13:39:02.943 luup_log:43: (VistaAlarmPanel::getPartitionState) Got DetailedArmMode='NotReady' for partition 1 (device #44). <0x2ddb1680>
06 04/12/13 13:39:02.944 Device_Variable::m_szValue_set device: 52 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: LastTrip was: 1365788341 now: 1365788342 #hooks: 0 upnp: 0 v:0xae1c40/NONE duplicate:0 <0x2ddb1680>
50 04/12/13 13:39:03.100 luup_log:43: (VistaAlarmPanel::sendStar) Send '*' to partition 1. <0x2c1b1680>
50 04/12/13 13:39:03.530 luup_log:43: (VistaAlarmPanel::processIncoming) Incoming data = '!Sending.done'. <0x2ddb1680>
50 04/12/13 13:39:03.531 luup_log:43: (VistaAlarmPanel::processIncoming) Drop message. <0x2ddb1680>
50 04/12/13 13:39:03.932 luup_log:43: (VistaAlarmPanel::processIncoming) Incoming data = '[0001000100000000----],015,[f70000071015000008020000000000],"FAULT 15 MASTER FRONT WINDOW    "'. <0x2ddb1680>
50 04/12/13 13:39:03.932 luup_log:43: (VistaAlarmPanel::getStatusFlags) Active flags:  <0x2ddb1680>
50 04/12/13 13:39:03.933 luup_log:43: (VistaAlarmPanel::getPartitionState) Got ArmMode='Disarmed' for partition 1 (device #44). <0x2ddb1680>
50 04/12/13 13:39:03.933 luup_log:43: (VistaAlarmPanel::getPartitionState) Got DetailedArmMode='NotReady' for partition 1 (device #44). <0x2ddb1680>
06 04/12/13 13:39:03.934 Device_Variable::m_szValue_set device: 52 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: LastTrip was: 1365788342 now: 1365788343 #hooks: 0 upnp: 0 v:0xae1c40/NONE duplicate:0 <0x2ddb1680>
50 04/12/13 13:39:04.101 luup_log:43: (VistaAlarmPanel::sendStar) Send '*' to partition 1. <0x2c1b1680>
50 04/12/13 13:39:04.510 luup_log:43: (VistaAlarmPanel::processIncoming) Incoming data = '!Sending.done'. <0x2ddb1680>
50 04/12/13 13:39:04.511 luup_log:43: (VistaAlarmPanel::processIncoming) Drop message. <0x2ddb1680>
50 04/12/13 13:39:04.922 luup_log:43: (VistaAlarmPanel::processIncoming) Incoming data = '[0001000100000000----],015,[f70000071015000008020000000000],"FAULT 15 MASTER FRONT WINDOW    "'. <0x2ddb1680>
50 04/12/13 13:39:04.922 luup_log:43: (VistaAlarmPanel::getStatusFlags) Active flags:  <0x2ddb1680>
50 04/12/13 13:39:04.923 luup_log:43: (VistaAlarmPanel::getPartitionState) Got ArmMode='Disarmed' for partition 1 (device #44).^C
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on April 12, 2013, 02:40:59 pm
OK I just uploaded the version from trunk r70 and the message interval dropped to 4 seconds and the symptoms completely disappeared - I can now bypass and the backlight is off.  Since I installed the panel and ad2usb together I thought the backlight was supposed to be on whenever a zone was faulted because that is all I have seen :P

I'd still be interested in knowing the "why" if anyone has any thoughts.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: FireBird on April 12, 2013, 08:14:27 pm
How do I upgrade to hugheaves version? I currently have plugin version 2.44 and I tried to just replace the files via Apps, Develop Apps, Luup Files but it didn't upgrade correctly. Do I have to uninstall the plugin and then install hugheaves version via the link below.

version available in trunk http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser/trunk

Thanks for the help.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on April 12, 2013, 11:20:31 pm
Download the zip archive and extract to another folder, upload all of the files from the trunk and click restart luup. no need to uninstall. this is what i did anyway and works.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Crazman on April 14, 2013, 12:54:55 pm
I am running a Vista 20p panel with the AD2USB and version 2.47 of the app on UI5.  All of my sensors are wireless.  I would like to set up my Vera 3 such that when the main vista alarm panel sounds after a trip in one of the zones the notification that gets sent out includes information containing the zone that has tripped. 

It was suggested that I could set up a scene that uses the alarm panel going into alarm as the trigger to arm all of the individual sensors.  I have tried this and it does not work for me on two fronts.  If the device isn?t armed or rather bypassed, the main alarm panel doesn?t go into full alarm mode, if I work around this, in the event that someone triggers a door sensor and then closes the door behind them, when the app arms the sensor it reads the current state (regardless of TTL) and no notification is sent as it thinks that all is fine.

I?m currently looking in the L_VistaAlarmPanel1.lua code in hopes that I could write some lines that would send out a tripped device notification only if the panel goes into alarm mode (the alarm sounds).  This would be instead of the current functionality, which is to send out a notification of a tripped device if the Panel is in an armed state.  I see some stuff about updating zone status but nothing regarding notifications.  Could anybody help me by letting me know where the code containing notifications is and insight on how this might be accomplished?  I?m not very good with code and I have limited experience with Python and C.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on April 15, 2013, 04:41:50 am
I published @hugheaves version as version 3.0 in the MiOS Apps, so now this will be the default version that's installed.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: habano on April 15, 2013, 10:52:51 pm
I've never had any problems with this plugin, but today it automatically upgraded to 3.0. When certain doors and windows trip, I've always gotten a text message on my phone and an announcement over my speakers. Now when I open a door or window, I get bombarded with notifications  ???. I suppose that means the plugin keeps resetting its tripped status every couple of seconds. Do I need to change a setting somewhere to correct this?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mattwhit on April 15, 2013, 11:24:52 pm
nas4a and SteveZ,

Thanks for sending the info.  Sorry for the late reply (notification went to spam) Makes sense that rebooting without the AD2USB connected would lose the settings. I have been aware of the serial config for quite some time.  My issue is I cannot get it to work even after reconfiguring.  I just get "missing port"... I've spent hours installing/removing the app and trying to reconfigure. Still down. This has been the longest it hasn't worked. I'll open another ticket to see the team can fix.  As I mentioned before, the tech team (someone offshore) did get it to work again briefly, but it's been down since March 15th...

Thanks!

Matt
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on April 16, 2013, 04:23:37 am
I've never had any problems with this plugin, but today it automatically upgraded to 3.0. When certain doors and windows trip, I've always gotten a text message on my phone and an announcement over my speakers. Now when I open a door or window, I get bombarded with notifications  ???. I suppose that means the plugin keeps resetting its tripped status every couple of seconds. Do I need to change a setting somewhere to correct this?

If you didn't have problems with the old version, uninstall the plugin, then go to apps.mios.com and install the old version (the dropdown is above the Install button).
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: BlackMammoth on April 16, 2013, 11:12:22 am
Downside to setting a short TTL?

I reduced my TTL to 5 seconds in order to see my wireless zones reset (quickly). The default appeared to be 1200 seconds.

Great piece of work on this plugin!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Crazman on April 16, 2013, 11:44:19 am
I've never had any problems with this plugin, but today it automatically upgraded to 3.0. When certain doors and windows trip, I've always gotten a text message on my phone and an announcement over my speakers. Now when I open a door or window, I get bombarded with notifications  ???. I suppose that means the plugin keeps resetting its tripped status every couple of seconds. Do I need to change a setting somewhere to correct this?

I've had the exact same thing happen to me.  It doesn't matter if the notifications are set to send if an armed device is tripped or whenever the device is tripped.  When I walk my by motion detector or open any door with the panel unarmed it sends me a notification.  Possible bug?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: bwilli001 on April 17, 2013, 12:30:13 pm
I have been looking for the definition for the button commands on the virtual keypad.

The dashboard displays these buttons, Away, Stay, Night Stay, Disarm.

So does this mean that it will act like my physical keypad where,
Away = armed with delay
Stay = armed perimeter / motion disabled
Night Stay = does this mean the same as Stay but with instant alarm when perimeter is tripped?

Also under the wrench configurations there are two more button options. Could someone explain how the Maximum button would behave?

Also if someone will explain how to create a scene that would mimic arming the panel in Stay-Instant mode. I'm able to do this on the physical alarm panel by inputting code + stay+instant.

I have already created scenes for Armed Away and Disarmed. Just need to create one for Stay Instant.

Thank You.


 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on April 17, 2013, 08:30:32 pm
nas4a and SteveZ,

Thanks for sending the info.  Sorry for the late reply (notification went to spam) Makes sense that rebooting without the AD2USB connected would lose the settings. I have been aware of the serial config for quite some time.  My issue is I cannot get it to work even after reconfiguring.  I just get "missing port"... I've spent hours installing/removing the app and trying to reconfigure. Still down. This has been the longest it hasn't worked. I'll open another ticket to see the team can fix.  As I mentioned before, the tech team (someone offshore) did get it to work again briefly, but it's been down since March 15th...

Thanks!

Matt

have you tried connecting the ad2usb to your pc and running the keypad emulator software from the nutech site to rule out that the ad2usb might be bad or a bad connection to the ademco keypad bus

bwilli001,

use the advanced tab and select the ademco partition 1, then request arm mode and then enter in the pin in the pin box and in the other box, not sure what it says enter in INSTANT or StayInstant . not sure witch but one of those should work
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: FireBird on April 17, 2013, 08:41:42 pm
Just wanted to say I was seeing the same issues with the new version of the plugin this weekend. I had to restore my Vera from the day before to fix the issue with the old plugin version. I have an alert setup when my mail box is opened with a wireless security sensor and it was spamming my email many times a minute. I don't think you would notice the problem unless you have notifications setup when an sensor is tripped.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: gelert on April 20, 2013, 09:21:30 pm
I've also had multiple problems with the new version of the plugin  :(
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: 68Mustang on April 22, 2013, 08:01:35 pm
Alright, I've been doing searches all night and stuff isn't making sense to me.

I have the AD2USB installed in my Vista 20P panel.  Connected to the USB1 on my Vera 2.  I already have 2 other keypads, so this would be my third, so I didn't bother connected it to a computer to configure, left it at address 18, default.  I have the pulse LED, so everything seems fine.

I entered IC+800+191 then 1 then 0 then *99 to exit. I found online about the 1 and 0, no idea what that does though.

I installed the AD2USB plug in v2.45 and I have two more devices that are showing under Devices. "Ademco Vista Partition 1" and "Ademco Vista Alarm Panel" the Alarm panel is red with an "Lua Startup Failure" under that device.  I also have a message at the top that says "Ademco Vista Plugin: No Keypad assigned to partition 1"

Please Help
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on April 22, 2013, 09:25:01 pm
have you configured the the serial port? that almost sounds like the problem. you can find instructions here http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/wiki (http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/wiki) under installation and setup.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Crazman on April 23, 2013, 07:49:02 am
I'm running the AD2USB with a vista 20p.  I have a new problem that popped up while testing out my security system.  I have a device that was triggered during a test and will not reset.  On the vista 20p panel the device resets just fine and I can run the system with no problems.  On the software side of MiOS the device shows up as continuously tripped.  I have changed the TTL value to everything from 1-30 with no change in status.  I've checked the AD2USB setup according to the wiki installation and setup guide and all seems to be well.  Is there a way to manually reset a device in MiOS after it has been tripped or does anybody have any ideas on settings to check?  Thanks!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: 68Mustang on April 24, 2013, 11:12:01 am
Now I am not getting the error on my Vera 2 and I get status updates, but cannont control the system.  My guess is the system does not know the AD2USB is there. I thought I programed it correctly, can someone review the process i used and let me know if I did something wrong? 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on April 24, 2013, 08:25:05 pm
So did you check the serial port configuration? and it sounds like you enabled keypad 18 correctly doing the steps that you posted assuming you had the correct IC and it did go into programming mode.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: 68Mustang on April 25, 2013, 06:54:48 am
I did some research and found out I have to hold 1+3 on my keypad to see what their keypad address is.  The main keypad is 16 as I assumed. My second assumption was the second keypad would go in order and be assigned 17. I was wrong, the installer assigned the second keypad to 18. Now I need to figure out what is easier, changing the keypad address, or changing the ad2usb address.  Anyone know how to change the keypad address?
Title: How to do I arm/disarm a second partition?
Post by: BlackMammoth on April 26, 2013, 03:04:43 pm
I have a Vista 20 with two partitions.


Now I am lost, how to control Partition 2? Do I need to buy ANOTHER AD2USB in order to control the two partitions independently?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Crazman on April 26, 2013, 03:34:00 pm
I did some research and found out I have to hold 1+3 on my keypad to see what their keypad address is.  The main keypad is 16 as I assumed. My second assumption was the second keypad would go in order and be assigned 17. I was wrong, the installer assigned the second keypad to 18. Now I need to figure out what is easier, changing the keypad address, or changing the ad2usb address.  Anyone know how to change the keypad address?

68Mustang, I would recommend checking out youtube videos that explain how to set up your 20P.  http://www.youtube.com/watch?v=VjVtm0Mobr4 from securityonetech are pretty good.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Crazman on April 26, 2013, 03:37:55 pm
I still have a device that will not reset itself on the software side after it has been tripped and the alarm went off.  I've tried changing the TTL, checked the AD2USB setup, still will not reset.  Is there any way to manually reset a device in MiOS after it has been tripped?

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on April 26, 2013, 08:35:57 pm
I have a Vista 20 with two partitions.

  • I am using plugin 2.45 and have the latest AD2USB firmware loaded.
  • The system is working, and I can see the state of all of my sensors, as well as arm / disarm Partition 1
  • Keypads 16 and 17 are on Partition 1 and Keypad 18 is on Partition 2
  • The AD2USB is setup as Keypad 22 and that is assigned to Partition 1

Now I am lost, how to control Partition 2? Do I need to buy ANOTHER AD2USB in order to control the two partitions independently?

you might want to ask over at the nutech forum to see if its possible to have independent control of two partitions like you want. 

I still have a device that will not reset itself on the software side after it has been tripped and the alarm went off.  I've tried changing the TTL, checked the AD2USB setup, still will not reset.  Is there any way to manually reset a device in MiOS after it has been tripped?



Just as a test wait until your alarm keypad says ready then reboot the vera, wait until it reboots completely before tripping any zones and see if it starts working correctly. I seem to remember having that problem before I updated to @hugheaves version. if the vera reboots while a zone is tripped it would stay tripped.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: M2MExpert on April 29, 2013, 02:34:34 pm
I published @hugheaves version as version 3.0 in the MiOS Apps, so now this will be the default version that's installed.

My version shows 2.45. I have the box checked to update the plug-in automatically but that doesn't seem to happen. Do I need to do something to force it?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: M2MExpert on April 29, 2013, 02:47:46 pm
Probably Vera rebooted (power outage?) and the stored PIN codes were lost.

Oh, I thought the purpose of the lua startup script was to enter the pin code for me?  Does that mean every time there is a power outage or it's physically unplugged I will have to store the pin code again?


So I'm encountering the same issue as our friend Latz. He's given up, however, I need to find a solution. I travel a lot and for various reasons I need to make sure the alarm arms correctly every time. It is not always practical for me to open the web interface, open the settings of the partition and input the pin and store it and then run my scenes. As long as the device never reboots, I have no issue but I really need to find a way to get the in code passed to the partition when the system reboots. I can't believe that Latz and myself are the only guys to need this functionality. I'm sure it must be able to be done but I'm not smart enough with Lua yet to sort it all out. Has anyone ever overcome this limitation?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on April 29, 2013, 08:07:22 pm
In case others are looking, here is a snippet of my bedtime scene luup to arm the alarm if I forget.  Sure I could set the arm mode via the scene widgets in the UI, but then I couldn't check for existing states; if it is manually set to Away I don't want to set it to Stay via some automated script.

Code: [Select]
  -- Handle the alarm
  local state = luup.variable_get("urn:micasaverde-com:serviceId:AlarmPartition2", "DetailedArmMode", PARTITION_DEV_NUM)

  luup.log("Found alarm panel in state " .. state .. " when running Bedtime scene.")
  if (state == "NotReady") then
      luup.log("Sending bypass all command.")
      luup.call_action("urn:micasaverde-com:serviceId:VistaAlarmPanel1", "BypassZones", { Zones="all", PINCode="XXXX" }, PARTITION_DEV_NUM)
      luup.sleep("1000")
  end
  if ((state == "Ready") or (state == "NotReady")) then
       luup.log("Sending Arm Stay command.")
       luup.call_action("urn:micasaverde-com:serviceId:AlarmPartition2", "RequestArmMode", { State="Stay", PINCode="XXXX" } , PARTITION_DEV_NUM)
  end
If necessary it will bypass faulted zones.  E.g. if I go to sleep with a window open and forget to arm the system.

I have a second bedtime scene that runs if my "vacation mode" virtual switch is enabled.  This scene sets the alarm to "Away" instead of "Stay".

HTH
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on April 29, 2013, 08:24:37 pm
So I'm encountering the same issue as our friend Latz. He's given up, however, I need to find a solution. I travel a lot and for various reasons I need to make sure the alarm arms correctly every time. It is not always practical for me to open the web interface, open the settings of the partition and input the pin and store it and then run my scenes. As long as the device never reboots, I have no issue but I really need to find a way to get the in code passed to the partition when the system reboots. I can't believe that Latz and myself are the only guys to need this functionality. I'm sure it must be able to be done but I'm not smart enough with Lua yet to sort it all out. Has anyone ever overcome this limitation?

Not sure when/how but the code previously posted no longer works.  I tested it and got the following error:
Code: [Select]
LuaInterface::CallFunction_Job device 44 function SVistaAlarmPanel1_VistaAlarmPanel1_StorePinCode_run failed [string "-- Required Libraries..."]:1239: attempt to index local 'lul_settings' (a nil value)

Try this in startup lua:

Code: [Select]
luup.call_action("urn:micasaverde-com:serviceId:VistaAlarmPanel1", "StorePinCode", { PINCode="XXXX"}, PARTITION_DEV_NUM)

The third parameter needs to be a lua table. Seemed to fix the problem in my testing.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: M2MExpert on April 30, 2013, 08:41:56 pm
Quote
Try this in startup lua:

Code: [Select]
luup.call_action("urn:micasaverde-com:serviceId:VistaAlarmPanel1", "StorePinCode", { PINCode="XXXX"}, PARTITION_DEV_NUM)

The third parameter needs to be a lua table. Seemed to fix the problem in my testing.

How exactly did you test? I placed this in my startup lua and restarted but it didn't feed the password and store it so I can run a scene.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on May 01, 2013, 04:40:31 pm
Quote
Try this in startup lua:

Code: [Select]
luup.call_action("urn:micasaverde-com:serviceId:VistaAlarmPanel1", "StorePinCode", { PINCode="XXXX"}, PARTITION_DEV_NUM)

The third parameter needs to be a lua table. Seemed to fix the problem in my testing.

How exactly did you test? I placed this in my startup lua and restarted but it didn't feed the password and store it so I can run a scene.

Not correctly apparently ;)  I'm betting I was looking at the wrong copy of the log.  Now what I'm seeing in the logs looks like a race condition.  On average the startup lua appears to be running a few seconds before the device is ready on my Vera Lite.  Probably varies between hardware types and the number of devices you have.  Try the code below that defers the the call using call_delay.  I started at 5 seconds but that was too short.  Mine seems to need a minimum of 9 to work reliably.  The code below is set to 15 seconds.

Code: [Select]
luup.log("SRS: setting fifteen second delay then executing StorePinCode")
luup.call_delay('callonme',15)
function callonme()
  luup.log("SRS: delay over, executing StorePinCode")
  luup.call_action("urn:micasaverde-com:serviceId:VistaAlarmPanel1", "StorePinCode", { PINCode="XXXX"}, PARTITION_DEV_NUM)
end
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: M2MExpert on May 01, 2013, 05:42:09 pm
Quote
Code: [Select]
luup.log("SRS: setting fifteen second delay then executing StorePinCode")
luup.call_delay('callonme',15)
function callonme()
  luup.log("SRS: delay over, executing StorePinCode")
  luup.call_action("urn:micasaverde-com:serviceId:VistaAlarmPanel1", "StorePinCode", { PINCode="XXXX"}, PARTITION_DEV_NUM)
end

You are my new best friend  ;D After many questions, comments and begging, you are the first to solve this issue for me. I really need to get better at Luup. I need to play with you example you shared on your scene code. My next task is to auto bypass my upstairs windows when they are opened. If I leave one open and leave, my alarm won't arm. Sometimes I want to leave the upstairs ones open for fresh air.

Thanks again!!
Title: Re: How to do I arm/disarm a second partition?
Post by: BlackMammoth on May 01, 2013, 05:58:00 pm
*** Fixed ***

For some reason, this started working today... not sure why, but now I can arm / disarm both partitions independently using a single AD2USB.

Fantastic  8) 8) 8)

I have a Vista 20 with two partitions.

  • I am using plugin 2.45 and have the latest AD2USB firmware loaded.
  • The system is working, and I can see the state of all of my sensors, as well as arm / disarm Partition 1
  • Keypads 16 and 17 are on Partition 1 and Keypad 18 is on Partition 2
  • The AD2USB is setup as Keypad 22 and that is assigned to Partition 1

Now I am lost, how to control Partition 2? Do I need to buy ANOTHER AD2USB in order to control the two partitions independently?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on May 01, 2013, 06:25:29 pm
Quote
Code: [Select]
luup.log("SRS: setting fifteen second delay then executing StorePinCode")
luup.call_delay('callonme',15)
function callonme()
  luup.log("SRS: delay over, executing StorePinCode")
  luup.call_action("urn:micasaverde-com:serviceId:VistaAlarmPanel1", "StorePinCode", { PINCode="XXXX"}, PARTITION_DEV_NUM)
end

You are my new best friend  ;D After many questions, comments and begging, you are the first to solve this issue for me. I really need to get better at Luup. I need to play with you example you shared on your scene code. My next task is to auto bypass my upstairs windows when they are opened. If I leave one open and leave, my alarm won't arm. Sometimes I want to leave the upstairs ones open for fresh air.

Thanks again!!

No problem :)

A few things for bypassing faulted zones (open windows).

1. Can you bypass them at the keypad w/ PIN+6+faulted zone num? 
2. If you have Quick Bypass enabled you should be able to bypass all faulted zones with PIN+6+#.  Can you do that?

If the answer to those two questions is yes the code I posted above does exactly that.  It is overly complex in some ways; it checks for the need to bypass before sending the command.  Technically one could simply send the bypass command without checking the state first.  But that just seemed to be the more appropriate way to do it.   So all you'll need to do is paste that code in the Luup section of a scene and it will address open windows etc. 

If the answer is "no" to question 1 you might have the problem I asked about on page 42 of this thread.  Updating to the latest release should fix it.  While we never figured out the exact source, I have a hunch the plugin was sending endless "*" rapidly when a zone was faulted.  The 20P, and probably the others, can only accept input from one keypad at a time so I think that was screwing things up.

If the answer is "no" to question 2 you need to enable quick bypass.  If it isn't, and if you can't enable it, I could throw together some code that iterates over the faulted zones and bypasses them one-by-one (I think I saw some a year back in this thread), but quick bypass is nice and convenient.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: gelert on May 09, 2013, 11:07:22 pm
I uninstalled the plugin to try to downgrade to the prior version, but apps.mios.com still says I have it installed (have tried uninstalling it a few ways) - any ideas?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: pentium on May 15, 2013, 07:34:32 pm
I hope this isn't too off topic, but I just wanted to say how absolutely thrilled I am to have just achieved 11 door sensors, 3 window sensors, some smoke, some motion, etc all for the cost of a AD2USB device and unimaginable hours spent by the likes of people such as mcvflorin.  You people are rock stars.  I was able to install the device, get through the plugin installation and right now I can arm and disarm my Vista 20se from my Iphone!  Most of you can't even imagine what an accomplishment that is for me.  I can't thank you all enough.  I will look for that review page and try to add what I can.  I have a long way to go in order to start taking advantage of all that I can do when a door opens or motion tells me to turn on some lights.  Just to be able to reset the alarm when the cleaning lady calls in a panic will be huge.  I will keep reading and trying to learn how to do my own coding but I had to stop to express and acknowledge the amazing contribution everyone else made for me to reach this goal.  Thank you all!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Latz on May 20, 2013, 01:34:41 am
Hey @mcvflorin and all developers

This plugin has given me so much that I've started to expand on my alarm system capability as a result!  Problem I am having is with pairing the zone with the partitions.... e.g. In the Cheat Sheet, I've entered in the following:

Zone 05 - Front Door (Partition 1)
Zone 08 - Entry Sensor (Partition 2)

Have got 2 partitions showing in Vera UI:
When Zone 05 - Front Door is opened, the Partition 1 device shows a 'Not Ready' fault AND the Zone 05 - Front Door Device created by the Cheat Sheet shows the zone has changed state.  So that all works correctly. 

What's not working is that the Zone - 08 device that was created in the UI as a result of the Cheat Sheet entry, doesn't ever fault, even though the Partition 2 device on the Vera UI shows 'Not Ready'.  Any idea why?

i.e How do I tell the Vera that Zone 08 belongs to Partition 2 and if Partition 2 is not ready as a result of a fault on Zone 08, then the Zone 08 device on the UI should reflect that?  I know I'm making a simple mistake but just can't seem to figure out what!!

Thanks very much in advance for your help!


Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on May 20, 2013, 12:04:09 pm
@Latz

When there is more than one partition, the plugin uses the command to switch partitions, which require the PIN code valid for that partition. To make sure that you have the PIN code stored for partition 2, open the partition control panel, and store the PIN code from the PIN code field.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Latz on May 20, 2013, 01:26:04 pm
@mcvflorin thanks! I haven't touched a thing this morning, thought I would check and see if anything changed... it works without the pin code?!  For HOURS yesterday it wasn't working... I don't know what changed, I certainly didn't change anything.

Rebooted the Vera and sure enough it still works.  Sorry for the post that clearly wasn't valid - I swear it didn't work last night?!!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Latz on May 24, 2013, 08:37:49 pm
@mcvflorin

Another question... when using the AD2USB on multiple partitions (2 in my case), what should keypad address 18 on the vista be set to?  Should it be a common (3)?

thanks
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on May 27, 2013, 06:19:51 am
It doesn't matter, the AD2USB can see the messages from all the partitions anyway.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Latz on May 28, 2013, 12:13:13 pm
@mcvflorin, thanks, reason I ask is I am exhibiting some weird behavior on the system when the AD2USB is in the loop.

For example, I'm getting 2 email notifications from Vera telling me my system has been Armed Away.  I should only be getting one. 

I have checked Partition 2 that was created on the Vera UI and there's no notification set for that (as I don't need one).

Any suggestions?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcvflorin on May 29, 2013, 03:22:52 am
Does this happen every time?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: djrobx on June 09, 2013, 09:41:35 pm
Thanks for the reply SteveZ.  Bummer about the wired sensors, but sounds like there's not much that can be done.
Actually there is something that can be done.

The AD2USB supports 4204 relay emulation.   These panels actually have home automation support, and the virtual relays allow you to use this feature as designed.   You can enable that, then tell the panel to trigger relays when wired sensors fault.   AD2USB will send "!REL" with the ID of the tripped relay (which has been mapped to a wired zone) so Vera can respond to them.

With the non-SE panels, you can generally configure two or more virtual relays (4 relays per address), so you can get all 8 wired zones individually.   SE panels only support 1 virtual relay and 3 "zone groups" (I have two wired sensors sharing one relay because they lead to the same room), but it's still a huge benefit to get support the built-in wired zones.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: dratifk on June 19, 2013, 09:44:51 am
I installed a AD2USB a few years ago and its been working perfectly until now. All of a sudden I have missing port error in Micasaverde. Wire from 20P runs about 50 feet to Micasaverde but ends seem ok.

Says connection down
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on June 19, 2013, 09:33:35 pm
I installed a AD2USB a few years ago and its been working perfectly until now. All of a sudden I have missing port error in Micasaverde. Wire from 20P runs about 50 feet to Micasaverde but ends seem ok.

Says connection down

Sounds like you lost your serial port configuration settings
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: dratifk on June 20, 2013, 12:28:18 pm
I fixed it that was exactly the problem. Seems there was a second serial port confiruation I had not seen. Once I set the proper settings I was back in business. When I went into apps it was set to autoupdate the plugin. Not sure this is a good idea so I unchecked it.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Latz on August 10, 2013, 02:08:04 pm
Does this happen every time?

@mcvflorin have been away for a while.. back now. 

Yes it happens every time!  Sometimes I will get up to 4 or 5 emails saying disarmed, arm, disarmed, arm..... all from the same arming event.  It used to work fine when it was just the one partition.

For example, I just armed-away now on Partition 1, I got two emails:

Email 1
Your trigger "ARMED AWAY" occurred.

The originating device ID:94 Ademco Vista Partition 1 in room: Apps

The ID is: 1398347653
Code: DetailedArmMode Value:Armed
Serial #3500xxxx


Email 2
Your trigger "ARMED AWAY" occurred.

The originating device ID:94 Ademco Vista Partition 1 in room: Apps

The ID is: 1398348643
Code: DetailedArmMode Value:Armed
Serial #3500xxxx


So then I hit disarm on Partition 1:

Email 1
Your trigger "DISARMED" occurred.

The originating device ID:94 Ademco Vista Partition 1 in room: Apps

The ID is: 1398375013
Code: ArmMode Value:Disarmed
Serial #35004675

 This will be your last notification because you have hit your quota limit





Partition 1:
Keypad 1 = 16
Keypad 2 = 17


Partition 2:
Created a false keypad (doesn't exist) for my partition 2 sensor: 19

AD2USB = 18

Posted some pics of my config, hopefully it will help.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Latz on August 10, 2013, 02:14:24 pm
@ mcvflorin..... Forgot to add my Partition 2 config! 


Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Minnies on August 15, 2013, 11:35:45 am
Wow. I am purchasing a vacation home and it has a Adamco Vist-15 security system installed. Is there a posting I can go to that indicates what I need to do to connect it to Vera. Since this is a new location I will be getting a new Vera for it and would like to purchase all that I need up front, and hopefully install things over a weekend.  having a security system instead of indiviual sensors is a huge plus as my other location has too many devices.  Help and guidance really appreciated.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Latz on August 15, 2013, 11:41:05 am
Wow. I am purchasing a vacation home and it has a Adamco Vist-15 security system installed. Is there a posting I can go to that indicates what I need to do to connect it to Vera. Since this is a new location I will be getting a new Vera for it and would like to purchase all that I need up front, and hopefully install things over a weekend.  having a security system instead of indiviual sensors is a huge plus as my other location has too many devices.  Help and guidance really appreciated.

Here you go, hope this helps:

http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb# (http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb#)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Minnies on August 15, 2013, 12:04:04 pm

Here you go, hope this helps:

http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb# (http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb#)

Thanks. That is very helpful.  Am I correct that the only hardware to purchase is the Nutech AD2USB device as seen here http://store.homeseer.com/store/Nutech-AD2USB-S2-Ademco-Vista-Panel-Interface-Series-2-P857.aspx ?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Latz on August 15, 2013, 01:54:26 pm
You're welcome.

Yes that's what I have, it connects to my Ademco Vista - 20p without issue.  It works very well with the Vera AD2USB plugin (apart from a small problem with email notifications I'm having that I hope @mcvflorin can help me with!!   ;) )

PS The only thing I can't remember is if the AD2USB comes with a USB cable or not?  You may need to purchase one seperately... you'll also need the panel installer code for the Vista AND you'll need some alarm cable to connect it to the panel unless you're replacing an existing keypad with it.  Hope that's not too confusing.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: pentium on August 15, 2013, 04:46:07 pm
It does not come with the usb mini cable.  I think the documentation on the nutech site identifies which one you need.  If you can find a piece of alarm cable, that will work best for patching it into the panel.  And you will want to have worked out the distance and cable needs for getting the ad2usb connected to vera.  in my case, they are next to each other and all I had to do was run an Ethernet rj45 cable from my router to vera.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Minnies on August 15, 2013, 06:08:24 pm
That sounds good (I think).

I am not sure which version of Ademco is there. The alarm company confirmed it is a Vista-15 but I do not know if it is P or not. Does that make a difference or are both compatible with the AD2USB.

Thanks again,
Ron

Found the answer at the Ademco site. Yes it works with both and most other Vista systems as far as I could tell.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Latz on August 17, 2013, 06:38:17 pm
as far as I know, it doesn't matter.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shmixx on September 05, 2013, 10:43:42 pm
Firstly, thanks for this plugin!! This is great, and I'm excited to be able to use my alarm system in tandem with devices in my ZWave network.

Fresh user here to the AD2USB as I just had an Ademco system installed today. Everything seems to have gone well up until now. I installed the AD2USB device, hooked up to the Vera, and got it functioning through the Web GUI and the mobile apps. Arm, Disarm, etc. The problem now, is when I'm trying to use Scenes to control a setting on the alarm panel, it isn't sticking. I restarted, created a new scene, and set the alarm status to stay. Simple scene, but when I go back into the scene its set on Disarm.

This is seriously going to put a wrinkle in my plans for automation if I can't get this fixed.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on September 05, 2013, 11:54:02 pm
Try doing it in the advanced tab with your pin entered in the space
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: shmixx on September 06, 2013, 03:07:01 pm
Try doing it in the advanced tab with your pin entered in the space

Looks like that works successfully. Is this a bug in the plugin? Bug in Vera? Kind of annoying to do manually but I guess it will have to get me by for now.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Doug on September 23, 2013, 12:11:38 pm
I have the AD2USB connected to Veralite.   The alarm works perfectly on the regular U15 site, but from the mios mobile site on my smartphone, the alarm looks like a regular light switch  OFF ON only, with no status and does nothing when I click on them.  from previous posts, it looks like others have had this problem, but I cant figure out a solution.

I have lokcs working fine from the mobile site.  Just the alarm not working
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: nedzad7 on October 06, 2013, 09:25:46 pm
I connected Vera Lite to Vista 20p and I can see all zones (wired). Couple days ago I connected Wireless smoke to Vista 20p but I can't see it on the UI5. I trigered smoke detector and I see on the top middle info screen "Vista Alarm Panel : FIRE ALARM! (Zone #021)" but I can't see it as zone like all wired zones. What I am missing here? Should I reinstall plug in or something? Thank you :)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mansoor on October 13, 2013, 11:59:41 am
Hi,
Thanks everyone for all the information in this forum. I'm new to home automation, diy security and of course this forum.
I've been using VeraLite for few simple stuff like controlling lights, door lock, thermostat etc.  but now I'm planning to install Vista 20P for monitoring and alarm. There is no wiring in my house so I need to go with all wireless.
My question is that is it better to use z-wave devices like door sensor, smoke detector or honeywell devices which I think uses RF.
Also is there any advantage of using Vista 21iP and will that be compatible with this plugin?
Thanks,
Mansoor
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on October 13, 2013, 01:42:40 pm
since you are going to go mostly wireless you can save yourself some money and go with the vista 15p which has 6 hardwired zones and only one partition vs. the 20p that has 8 hardwired zones and 2 partitions. you wont benefit from the 21ip unless you plan on getting a total connect account with it, as far as i know that is all you can use it for. you will need a ad2usb module to tie the 15p or 20p into the vera. and yes you will use the wireless sensors for the alarm system not zwave ones, they are much more reliable, better range, battery life and cheaper. they will show up in vera as a zwave type sensor once you have the alarm panel added into vera. see the very first page of this post for the link.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mansoor on October 13, 2013, 02:17:11 pm
Thanks a lot for quick response! I think I got my answers for now, I'm sure I'll have more questions when I start my project :)

Thanks,
Mansoor
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: amizon on October 24, 2013, 05:08:37 pm
Has anyone figured out how to include the tripped zone name/number in the automated VERA notification when the alarm is tripped?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: DeltaNu1142 on November 03, 2013, 01:09:05 pm
I attempted this for the first time about 15 minutes ago...  and it's working great.  My only wants are related to the HomeWave interface.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: DeltaNu1142 on November 07, 2013, 06:17:16 pm
Now that I have my zones up in Vera, I'm having issues...  with the alarm disabled, I tripped a zone.  It was armed and showed tripped in Vera.  I reset the zone, and the Vera alarm device & physical keypad shows 'ready'...  but the zone device still shows tripped.  Seems as if it's not just me having this problem.  How have others tackled this?  Rebooting Vera doesn't help.

EDIT: Dropping TTL down to 20 seems to have done the trick.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: DeltaNu1142 on November 08, 2013, 08:16:52 am
I have a pretty simple Prowl notification scheme set up for a couple zones when the alarm is disarmed.  Whenever a door is open and left open, I get multiple (twenty, thirty) notifications.  I can silence those, but if I'm going to use those as triggers for other scenes/actions...  how can I suppress the duplicates?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: DeltaNu1142 on November 17, 2013, 06:09:32 am
I have a pretty simple Prowl notification scheme set up for a couple zones when the alarm is disarmed.  Whenever a door is open and left open, I get multiple (twenty, thirty) notifications.  I can silence those, but if I'm going to use those as triggers for other scenes/actions...  how can I suppress the duplicates?
Just to close this out--I used a PLEG:

Code: [Select]
PLEG - Notifications

Device ID: 1102013-11-17 06:07:14.567 PLC Version: 5.2

Triggers

Name Description Last Trigger State
Zone_01_t1 Zone #01 - Front & Garage Entry Doors is tripped 2013-11-16 20:00:00.000 false
Zone_04_t2 Zone #04 - Rear & Side Entry Doors is tripped 2013-11-16 22:46:40.000 false

Conditions

Name Expression Last True State
Front_Or_Garage_Entry_Door_Opened_c1 Zone_01_t1 2013-11-16 20:00:00.000 false
Rear_Or_Side_Door_Opened_c2 Zone_04_t2 2013-11-16 22:46:40.000 false

...and then I trigger my Prowl notification on the PLEG condition instead of the sensors.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: tomgru on November 18, 2013, 12:21:39 am
I have the 10SE, and tried this tonight.  I'm getting a "connection down" message. 

Only two devices are showing up.
Ademco Vista Alarm Panel
Ademco VIsta Partition 1

I don't see any zones yet.  do I have to add these manually in the "cheat sheet", and if so, how do I figure out what the Address/serial# and Channel/loop# is?

I've checked the serial setup, and confirmed the panel address is 31.

Any ideas would be really appreciated!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on November 18, 2013, 07:25:31 pm
I have the 10SE, and tried this tonight.  I'm getting a "connection down" message. 

Only two devices are showing up.
Ademco Vista Alarm Panel
Ademco VIsta Partition 1

I don't see any zones yet.  do I have to add these manually in the "cheat sheet", and if so, how do I figure out what the Address/serial# and Channel/loop# is?

I've checked the serial setup, and confirmed the panel address is 31.

Any ideas would be really appreciated!

Did you change the address in the ad2usb to 31 as well as add it in the panel?

you will need to get it to connect first before you can add zones using the cheat sheet
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: tomgru on November 18, 2013, 08:01:55 pm
I have the 10SE, and tried this tonight.  I'm getting a "connection down" message. 

Only two devices are showing up.
Ademco Vista Alarm Panel
Ademco VIsta Partition 1

I don't see any zones yet.  do I have to add these manually in the "cheat sheet", and if so, how do I figure out what the Address/serial# and Channel/loop# is?

I've checked the serial setup, and confirmed the panel address is 31.

Any ideas would be really appreciated!

Did you change the address in the ad2usb to 31 as well as add it in the panel?

you will need to get it to connect first before you can add zones using the cheat sheet


I changed it in the advanced tab (see attached), but the NuTech guys told me with a 10SE i didn't have to program the panel.  Is that what you mean by "change the address in the AD2USB" as well? 

EDIT:  I misunderstood the NuTech guys... i do need to change the AD2USB to 31 as well, apparently using something like PUTTY.  (this will be a first for me).  The instructions make it sound like i have to connect it directly to a PC to make the change.  Is that true, or can i do it through Vera somehow?

(thanks again... appreciate all the help here)

Edit2:  Solved!!!!  thanks so much. 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on November 18, 2013, 09:24:37 pm
yeah no problem. you can download the ad2usb virtual keypad and install it to a pc or mac and configure it that way, you will need to plug the usb into the computer, no way to do it through vera.

here is the link (http://www.nutech.com/index.php?option=com_fireboard&Itemid=74&func=view&catid=4&id=21)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: DeltaNu1142 on November 25, 2013, 03:38:40 pm
Lost my serial port settings today...  unsure why.

Symptoms: Alarm panel communication failure.  No response to or from AD2USB.
Troubleshooting: Connected to AD2USB via PuTTY, all normal.  Decded to go through installation procedure again & checked serial port settings in UI5, and they were defaulted somehow.  Pffft.

Corrected them & all is well.  I'm still unsure why my PIN code keeps getting lost.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on November 25, 2013, 06:34:23 pm
If vera reboots and does not see the ad2usb then those settings will be lost, like if you move it somewhere else to include a zwave device. that is one reason I try to use the full power inclusion to add devices and have my vera on a UPS and alarm panel on battery backup.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: DeltaNu1142 on November 25, 2013, 06:51:30 pm
If vera reboots and does not see the ad2usb then those settings will be lost, like if you move it somewhere else to include a zwave device.
REALLY...  that's good to know, thanks.  I was adding devices all day.  I have an external antenna up inside a first-floor wall, but I don't generally do full-power inclusion because I like the visual feedback.  I guess now I have another reason not to.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: PJJP on November 29, 2013, 12:40:28 pm
I have added the virtual relays to my 20P as described over at http://www.nutech.com/index.php?option=com_fireboard&Itemid=74&func=view&id=656&catid=4&limit=6&limitstart=0
 (http://www.nutech.com/index.php?option=com_fireboard&Itemid=74&func=view&id=656&catid=4&limit=6&limitstart=0)

However, I am getting an error on the keypad that reads, "CHECK 112 RELAY MODULE" and "CHECK 113 RELAY MODULE"

has anyone had this problem, or can someone lead me in the right direction?

Maybe it's possible I already had a 4204 relay?

*** I may have found my problem. I have not yet enabled virtual relay support in the AD2USB
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: PJJP on November 29, 2013, 01:50:17 pm
I think I have resolved the error. I entered programming once again and simply exited based on a tip over at http://www.nutech.com/index.php?option=com_fireboard&Itemid=74&func=view&catid=4&id=866 (http://www.nutech.com/index.php?option=com_fireboard&Itemid=74&func=view&catid=4&id=866)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: emb299 on December 06, 2013, 12:22:11 pm
Excuse my lack of knowledge on the subject.  Does this plugin require having the Alarm Panel + the keypad or can I install just the Keypad directly into the AD2USB and then into the Vera.  I don't have an alarm panel and I plan on only using Zwave sensors/Siren, so I don't really need the alarm panel.  I am looking at the Honeywell 6148EX and 6165EX keypads and they both have a 4 connector termination that matches up with the AD2USB, but I want to be sure before I buy anything.

edit:
PS. If anyone knows of a simple zwave keypad (not a controller), please let me know!  That's all I really need.

Thanks,

Sal
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on December 06, 2013, 07:51:46 pm
Excuse my lack of knowledge on the subject.  Does this plugin require having the Alarm Panel + the keypad or can I install just the Keypad directly into the AD2USB and then into the Vera.  I don't have an alarm panel and I plan on only using Zwave sensors/Siren, so I don't really need the alarm panel.  I am looking at the Honeywell 6148EX and 6165EX keypads and they both have a 4 connector termination that matches up with the AD2USB, but I want to be sure before I buy anything.

edit:
PS. If anyone knows of a simple zwave keypad (not a controller), please let me know!  That's all I really need.

Thanks,

Sal
No, you need the main alarm panel for the keypads to work. if you are going to the trouble of installing the keypad you might as well install a panel then you would be able to use wired and wireless sensors(with the right keypad or receiver)  and motion sensors that are much more reliable then zwave ones with much better battery life and the alarm system itself will be much more reliable then vera.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mikegk on December 13, 2013, 04:29:52 pm
Apologies if this question has been answered before. When putting key pad addresses in the KeypadAddresses field should you list key pad 16 or is it assumed i.e. 16,17,18,19 or 17,18,19?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: DeltaNu1142 on December 14, 2013, 12:27:24 am
You should list the addresses of all physical keypads as well as the address of the AD2USB module.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mikegk on December 15, 2013, 02:51:46 pm
Thank you for the response. I'm trying to debug a problem. Looking for some help. I cannot clear certain alarm memory indicators from the keypads. Though I can clear them from the plugin if I send two disarms. For example, if a zone goes into alarm and I enter user code + 1 to disarm. I cannot then enter user code + 1 again to clear the alarm memory message from a keypad, though I can do it through the plugin. Could this be related to something the plugin is doing? BTW I also have an Envisalink 3 configured as a keypad. Could this be causing any issues and should it be listed in the addresses field as well? Finally and strangely if I self initiate a fire alarm, this I can clear using the keypad and double entering the user code + 1.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mikegk on December 15, 2013, 04:48:44 pm
After reading through some posts, it seems my problem may be caused by a "*" being sent 1/sec. I also read this may be fix in another version. My installed version in Apps | My Apps is 3.0. The version listed on Ademco Vista Alarm Panel is Plugin version: 2.45. Is there a way to know I have the version with the fix, and if I don't how do I get the fix?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: BulldogLowell on December 18, 2013, 02:29:39 pm
@mcvflorin,

I apologize if you have covered this before, i spent a lot of time going through the forum and could not see this problem anywhere.

I installed the AD2USB to my Vista 20P and installed the plugin into my VeraLite (UI5).

I configured the plugin for 2 partitions, having taken the keypad that was assigned to 18 and reassigned it to another channel.

The plugin works, but I have one problem.  When I press ARM AWAY, it will arm itself (in either partition) as ARMED STAY.  When I use the keypads to arm it ARM AWAY, vera will report ARMED AWAY, however.  If I disarm either, and arm it with Vera, it reports ARMED STAY.

Have you seen this before, and is there a fix?

thanks.  This is a way cool plugin...

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: DeltaNu1142 on December 18, 2013, 03:05:17 pm
Something odd happened today while reloading Vera remotely with someone in the house...  a few times, I experienced a "Ademco - failure to open I/O port" error.  Eventually, I rebooted successfully with Ademco up & running.

Can I attribute this to active messages coming out of the alarm panel during reboot as someone moved around the house, setting off motion sensors & opening doors?  That's the only explanation I can think of.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on December 20, 2013, 09:47:09 pm
@mcvflorin,

I apologize if you have covered this before, i spent a lot of time going through the forum and could not see this problem anywhere.

I installed the AD2USB to my Vista 20P and installed the plugin into my VeraLite (UI5).

I configured the plugin for 2 partitions, having taken the keypad that was assigned to 18 and reassigned it to another channel.

The plugin works, but I have one problem.  When I press ARM AWAY, it will arm itself (in either partition) as ARMED STAY.  When I use the keypads to arm it ARM AWAY, vera will report ARMED AWAY, however.  If I disarm either, and arm it with Vera, it reports ARMED STAY.

Have you seen this before, and is there a fix?

thanks.  This is a way cool plugin...

Do you have auto stay arm *84 in the programming set to 0? I know you say its not doing it when you arm with the keypad but  thats the only thing i can think of.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: copekyle on December 29, 2013, 10:22:28 pm
So I'm new and just setting up my vera and vista20 for the first time.  I've figured out most of the setup using the search here but one thing that I can't figure out is when I'm looking at my sensor status (the little green or red guy in the dashboard), I trip my motion sensor and it goes from green to red.  But when the motion clears, he doesn't reset back to green.  The Vista partition group (don't know terminology yet) shows that the system is ready to arm and so it knows the motion reset.  Any idea what I'm missing?

Kyle
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on December 29, 2013, 11:53:29 pm
So I'm new and just setting up my vera and vista20 for the first time.  I've figured out most of the setup using the search here but one thing that I can't figure out is when I'm looking at my sensor status (the little green or red guy in the dashboard), I trip my motion sensor and it goes from green to red.  But when the motion clears, he doesn't reset back to green.  The Vista partition group (don't know terminology yet) shows that the system is ready to arm and so it knows the motion reset.  Any idea what I'm missing?

Kyle

The TTL value may be set to high.  Try putting to 60 seconds
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: jimpapa on December 30, 2013, 09:58:53 am
The AD2USB looks like a keypad to the Panel. For any purpose it IS a keypad.

Yes, you NEED to have a panel. otherwise you have a bunch of Keypads.  That will do you no good
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: copekyle on December 30, 2013, 04:00:38 pm

The TTL value may be set to high.  Try putting to 60 seconds

Steve-
Thanks for the reply.  What does TTL stand for?  Mine is set to 1200 by default.  What does this mean?

Kyle

EDIT*** I figured it out as it was said on page 36 of this topic.  Thanks for putting up with the newbie questions!

The sensor's tripped state will reset after TTL seconds have passed without the panel reporting the sensor as faulted. The default is 1200 seconds (20 minutes), which is the same as the default time period after which the Z-Wave motion sensors report that they are not tripped anymore. Another reason for this value is to reduce the number of notifications. In areas with a lot of motion, if the TTL is 15 seconds, there could be 1 notification every 15 seconds.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: skropko on January 10, 2014, 04:58:33 pm
Thank you for the response. I'm trying to debug a problem. Looking for some help. I cannot clear certain alarm memory indicators from the keypads. Though I can clear them from the plugin if I send two disarms. For example, if a zone goes into alarm and I enter user code + 1 to disarm. I cannot then enter user code + 1 again to clear the alarm memory message from a keypad, though I can do it through the plugin. Could this be related to something the plugin is doing? BTW I also have an Envisalink 3 configured as a keypad. Could this be causing any issues and should it be listed in the addresses field as well? Finally and strangely if I self initiate a fire alarm, this I can clear using the keypad and double entering the user code + 1.

I'm also having the exact same problem as mikegk.  I've actually been having this problem for about a year now and haven't found anything but I see I'm not the only when anymore.  After an alarm, I can silence the alarm from the keypad by entering code+1 but cannot clear the alarm message by entering code+1 again.  I can clear the alarm memory message that displays on the keypad from the plugin.  I notice that if I enter code+1 from the keypad repeatedly for a few minutes, eventually it clears.  I do not have the Envisalink 3.  Any thoughts?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: drclawscat on January 13, 2014, 04:47:11 pm
Hi All, 1st post.  I just hooked up an ad2usb into my 4110XM ( Which Sean M. from Nutech mentioned is really a 10SE ) and set the AD2USB address to 31 using putty and now can interact with the alarm, arm, chime, stay etc 

However I have two issues.  I added 4 zones as tests (1,2,3,4) and have not figured out to tell how my zones are configured or how to trip them.  I believe I have all hardwired sensors attached to the panel.  I haven't had the chance to test much, I just opened the front door and door to garage, but these have not triggered any notifications on Vera yet. 
The second issue is that I'm not getting any status on VERA.  It does not tell me the alarm state or whether chime is activated etc.  (seems I can transmit ok, but not getting any data back possibly?)

Am I going about it correctly?  I set baud rate as 115200 and address to 31.  Assigned AD2USB to address 31.  On plugin version 2.45 and app version 3.0. 

Is there an updated firmware for AD2USB that addresses any SE panel issues?  Sorry for my lack of knowledge there is a lot of reading and no totally CLEAR instructions for newbies with no experience with PUTTY etc.  :)  Thanks for all those that contributed to this awesome project.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: jimpapa on January 14, 2014, 12:05:48 pm
You need a Panel.. The keyboard does nothing on its own
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Craig1 on January 15, 2014, 02:39:07 pm
MiCasa and AD2USB newbie here and I've successfully connected everything to my Ademco 15P.  I can see my Ademco in the UI5 and have created all the zones through the cheatsheet. I am currently testing notifications for tripped zones and have successfully sent myself emails when a zone is tripped.  The issue I'm having is that I'll get continuous emails for the tripped zone until my quota setting is reached.  I've looked through this thread and can't seem to locate the solution.  Is there a way to just get a single notification sent when a zone is tripped? And possibly another single notification when the zoned is untripped rather than the continuous notifications?

Thank you!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Minnies on January 15, 2014, 11:07:40 pm
Craig1 I have experienced the same exact issue. Turned off reporting for that reason.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Philniedjaco on January 21, 2014, 08:53:19 am
Thank you for the response. I'm trying to debug a problem. Looking for some help. I cannot clear certain alarm memory indicators from the keypads. Though I can clear them from the plugin if I send two disarms. For example, if a zone goes into alarm and I enter user code + 1 to disarm. I cannot then enter user code + 1 again to clear the alarm memory message from a keypad, though I can do it through the plugin. Could this be related to something the plugin is doing? BTW I also have an Envisalink 3 configured as a keypad. Could this be causing any issues and should it be listed in the addresses field as well? Finally and strangely if I self initiate a fire alarm, this I can clear using the keypad and double entering the user code + 1.

I'm also having the exact same problem as mikegk.  I've actually been having this problem for about a year now and haven't found anything but I see I'm not the only when anymore.  After an alarm, I can silence the alarm from the keypad by entering code+1 but cannot clear the alarm message by entering code+1 again.  I can clear the alarm memory message that displays on the keypad from the plugin.  I notice that if I enter code+1 from the keypad repeatedly for a few minutes, eventually it clears.  I do not have the Envisalink 3.  Any thoughts?

Hi guys... I have the exact same problem.  However, I did a work around...  I created a PLEG action that when a disarm is detected from the panel, I send another disarm from the Vera.  That clears the alarm...  maybe not the more elegant solution, but it works.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: pgonza02 on February 03, 2014, 07:49:10 pm
Hi,
I just got everything installed and working great on the browser.
The only issue I'm having is that I cannot see the device on the Vera Mobile app. I'm on Android.
All my other devices (including lock) show up and work just fine.

Any ideas?

Thanks.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: garrettwp on February 04, 2014, 04:39:10 am
Alarm panel plugins will not show up in Vera Mobile. You will need to use another 3rd party Vera app to see the alarm plugin.

- Garrett
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Shacky on February 17, 2014, 12:02:16 pm
Hi All, 1st post.  I just hooked up an ad2usb into my 4110XM ( Which Sean M. from Nutech mentioned is really a 10SE ) and set the AD2USB address to 31 using putty and now can interact with the alarm, arm, chime, stay etc 

However I have two issues.  I added 4 zones as tests (1,2,3,4) and have not figured out to tell how my zones are configured or how to trip them.  I believe I have all hardwired sensors attached to the panel.  I haven't had the chance to test much, I just opened the front door and door to garage, but these have not triggered any notifications on Vera yet. 
The second issue is that I'm not getting any status on VERA.  It does not tell me the alarm state or whether chime is activated etc.  (seems I can transmit ok, but not getting any data back possibly?)

Am I going about it correctly?  I set baud rate as 115200 and address to 31.  Assigned AD2USB to address 31.  On plugin version 2.45 and app version 3.0. 

Is there an updated firmware for AD2USB that addresses any SE panel issues?  Sorry for my lack of knowledge there is a lot of reading and no totally CLEAR instructions for newbies with no experience with PUTTY etc.  :)  Thanks for all those that contributed to this awesome project.

I don't know if anyone ever helped you with this, but I just installed this plugin with AD2USB connected to a Vista 10SE panel and all works fine.  Baud, keypad address plugin version are all the same though I'm no sure what your "app version 3.0" is.  Did you happen to click the "Reload" button on UI5 after configuring your plugin?  That gave me pause until I researched it more and realized that's what everyone was referring to with plugins.  Also, TTL setting is important to clear "tripped" alerts from the UI5, even if the alarm panel works properly.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: battousai on February 21, 2014, 02:12:05 pm
Anyone know a way to clear the FC (Failed Communication) status remotely?  There doesn't seem to be a full virtual keypad with the plug in where I can enter the installer code+800 and clear fields 41 and 42.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: PJJP on February 22, 2014, 06:36:07 pm
Quote
If the answer is "no" to question 2 you need to enable quick bypass.  If it isn't, and if you can't enable it, I could throw together some code that iterates over the faulted zones and bypasses them one-by-one

Did you ever do this? I cannot get the bypass all to enable on my system. Plus, I would like to get a prowl notification of any zones that do get bypassed.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Don Diego on February 26, 2014, 05:34:49 am
getTargetPartitions() takes section #3 and grabs the hex byte #4 this would be the bits for keypads addressed
from 16-23. It seems as if an assumption has been made that each keypad is on its own partition but this may not be
the case. In fact a keypad is assigned a partition or could be assigned to all partitions. Also in Vista 128 or other panels
keypads can exist on other addresses but thats not as big a deal.
Sean, Can a keypad occupy ANY address? Or does 16-23 cover all the possible except a few?
In my case, the keypad address is #31 (10SE panel), and probably why the status is not getting updated.
So a couple of thoughts.

@mcvflorin, If the plugin can't be written to cover all possible addresses (if it can then this is a moot point) what about a tab on the partition device to where a user manually enters their keypad address(s)?
 
Or, would it also work to have users assign their AD2USB to 16-23 to fit the current code?
Unless that range of address's wont work for some panels...

JOD.

 For most panels its fixed at 16-23 but we also have AUI keypads that can be at 1 and on advanced panels like the vista 128 I think a keypad can be on any address?

Re
 Sean M

Sean

  For the record the Vista 128 panel permits keypad addresses of 0-30.

     Don
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: barcelona24 on March 02, 2014, 09:55:11 pm
Does anyone know the vista protocol?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: EOppie on March 05, 2014, 07:51:37 pm
So I added a zone expander to the system, which means I now have a few more things I think I need to add as virtual relays.

Unfortunately, the previous forum post (http://www.nutech.com/index.php?option=com_fireboard&Itemid=74&func=view&id=656&catid=4#656 ) over on nutech...seems to have been removed and no redirect in place when the replaced their forums.

Any help on a refresher on what I need to do in order to get the new zones to show up in Vera?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: PJJP on March 09, 2014, 06:48:59 pm
Is it possible to get notifications via VeraAlerts, Push, or whatever, based on the codes entered? I would like an alert when my maid disarms and arms the system. Is this possible? I searched, but have not come across anything.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on March 09, 2014, 08:30:10 pm
Not when a specific PIN is entered but you can set it up to get a vera alert or notification when the system is armed and disarmed.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: BulldogLowell on March 09, 2014, 08:41:59 pm
I've seen a lot of folks use the "PIN Code Was Entered" from their zwave deadbolts and have the deadbolt trigger the alarm off.

The "PIN Code Was Entered" event can be used for the alert you are trying to do.  You can then also:

a) control access to certain times or days with a schedule in the lock
b) no longer have to share your Alarm PIN
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: PJJP on March 11, 2014, 07:26:34 am
I know I can do this with the deadbolt, and I do, but...That won't give me a notification when the alarm is armed is armed using the PIN code. Only disarmed by lock PIN. No big deal I suppose. The disarm event is more important to know the PIN.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: BulldogLowell on March 11, 2014, 07:31:37 am
how about shooting a photo of the panel when the code is entered?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: PJJP on March 11, 2014, 07:32:29 am
That would definitely work too...
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: ErikinSC on March 15, 2014, 10:59:19 pm
Vista10SE, AD2USB (configured with the 9 volt battery & USB, then connected to hardwire @ alarm panel and USB into PC) - set it up just fine with the info here.

Then, moved my MiCasa slightly closer to the PC (due to USB cable length) and connected AD2USB into Vera .... and added into MiOs quite easily.

This Nu-B is getting it done - tahks to the efforts of those before me.   
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: roquej on March 23, 2014, 12:15:37 am
Searched but couldn't find the answer.  Is there anyway to detect a tripped motion sensor when alarm is armed in "stay" mode?  The Tripped variable is not triggered.  Everything works when "disarmed.

Thank you in advance.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: DeltaNu1142 on March 23, 2014, 10:25:06 am
Searched but couldn't find the answer.  Is there anyway to detect a tripped motion sensor when alarm is armed in "stay" mode?  The Tripped variable is not triggered.  Everything works when "disarmed.
Thank you in advance.
I want this as well. I might have this wrong...  but I believe it's done by using the relay output procedure shown in this NuTech thread (http://www.nutech.com/index.php?option=com_fireboard&Itemid=0&func=view&id=656&catid=4&limit=6&limitstart=0).

I THINK that's the purpose of setting these output relays, but I'm not sure. I haven't been motivated to try it yet.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: EOppie on March 23, 2014, 10:09:27 pm
but I believe it's done by using the relay output procedure shown in this NuTech thread (http://www.nutech.com/index.php?option=com_fireboard&Itemid=0&func=view&id=656&catid=4&limit=6&limitstart=0).

I THINK that's the purpose of setting these output relays, but I'm not sure. I haven't been motivated to try it yet.

The link is dead for me since Nutech redid their forums....
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: DeltaNu1142 on March 24, 2014, 08:15:59 am
The link is dead for me since Nutech redid their forums....
I just Googled "AD2USB." The 2nd list of matches are old forum threads. The thread in question is NuTech -- Hardware -- ADEMCO Emulator -- "Virtual Keypad (GUI) Software & Board Firmware."
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: DeltaNu1142 on March 26, 2014, 08:29:52 am
I have a renewed interest in getting this working, so here is the post from the old NuTech forum:

Quote from: berkinet@NuTech
This is a first report on the beta firmware with support for up to four virtual 4204 relay boards. 16 virtual relays total. Note the software is still in beta (Contact Sean M. for information) and the release will depend on final QA and updating the GUI to support the new features.

One major application for these virtual relays is the ability to watch for zone open and close events directly for ALL zones in your panel. Previously you could watch for Expander module events and RF device events. But, the events from the 8 on-board zones were not visible. Now, with Relay support, these last 8 zones can be made visible. The rest of this post describes how to set up ad2usb and your panel to make this happen.

CAVEAT: I did this on a 20P, your panel may differ.

To get started, the new firmware adds a new section to the ad2usb's built-in config settings:
Code:
!>Keypad Address       (17) :
>!>Code               (0000) :
>!Zone Expanders Y/N Max allowed: 01
!>module #01 ZN 09-16 (N) :
>!>module #02 ZN 17-24 (N) :
>!>module #03 ZN 25-32 (N) :
>!>module #04 ZN 33-40 (N) :
>!>module #05 ZN 41-48 (N) :
>!Relay Modules Y/N Max allowed: 04
!>module #01 (Y) :
>!>module #02 (Y) :
>!>module #03 (Y) :
>!>module #04 (Y) :
Unless you already have one or more 4204s in your system, you will probably want to enable all the relays your panel can support: 4 Relay Modules on a 20P and 2 on a 15P. Check your manual for other models. Note that in the panel settings these modules will show up as addresses 12-15. These instructions assume that no physical 4204 Relay boards are installed.

Warning: The rest of this post discusses Panel Programming and assumes you have a basic understanding of Programmer mode.

Once the Relays have been configured, you will need to program your panel to activate them. On the 20P this is done through the *79 and *80 menus.

The *79 menu creates logical output device. Each logical output defines a device (Relay, X10 device or built-in trigger). Only the Relay type is supported by the ad2usb. You will probably want to create 8 logical output devices and number them 1-8 for convenience (to map to your on-board zones 1-8). Each logical output device should have Output Type 1 = relay on 4204/4229 module. Then, starting with Device #1 use Module Address 12, and Relay Position 1, and so on for the first 4 (1-4) logical devices. Then use Module Address 13, and Relay Position 1, and so on for the next 4 (5-8) logical devices.

Next, on menu *80 you will create the output functions that will trigger the logical output devices you just created. The Output Functions should be numbered 1-8 to match your on-board zone numbers and the logical device numbers. This is not required, but it will make things easier to track later on. When creating each Output Function, you will want the Activated By set to 3 = Zone number. Next, for Enter Event select 1 = alarm/fault/trouble. For the Output Action select 2 = Stay Closed. and finally, select the Output Number of a logical device you created in menu *79. I suggest you keep the numbering straight. Output function 1 to logical device 1, etc. Now, each time any of your 8 zones is closed, you will see a Relay event like this in your ad2usb data stream: !REL:12,01,01

The next step is to reset the zone when the fault clears. To do this use menu *80 again. This time create 8 new Output Functions, numbered 9-16. These will be identical to the first 8, except that under Enter Event you will select 0 = restore, for the Output Action you will select 0 = Off and for the Output number you will map these to the original 8 logical devices: 9 to 1, 10 to 2, through 16 to 8. Now, when a zone restores, you will see a message like this in your ad2usb data stream: !REL:12,01,00

That is all, except for one possible problem. On my panel, when I added Output Functions 9-16, the panel seemed to want to reference logical devices 9-16 automatically, even if I selected one of the devices 1-8 I had created, the summary display indicated that I had selected a device with X10 capabilities. My solution was to temporarily create logical output devices 9-16 and make then the same as devices 1-8. These were never actually referenced and I can now delete them if I want... But, it got me past the configuration issue. It is also possible that it would have worked anyway, but I did not test that.

Other than the !REL: prefix, Relay devices report the same as Expander devices. See !EXP Messages in this post for more information.

Attached is a "cheat sheet" for programming zones. My interest in capturing zone status when the alarm is ARMED. Mainly, I want to do know if there is motion detected inside the house whether the alarm is armed or not. I don't know if this does that, and I could use some help with it.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves on March 26, 2014, 09:25:43 am
I have a renewed interest in getting this working, so here is the post from the old NuTech forum:

Quote from: berkinet@NuTech
This is a first report on the beta firmware with support for up to four virtual 4204 relay boards. 16 virtual relays total. Note the software is still in beta (Contact Sean M. for information) and the release will depend on final QA and updating the GUI to support the new features.

One major application for these virtual relays is the ability to watch for zone open and close events directly for ALL zones in your panel. Previously you could watch for Expander module events and RF device events. But, the events from the 8 on-board zones were not visible. Now, with Relay support, these last 8 zones can be made visible. The rest of this post describes how to set up ad2usb and your panel to make this happen.

CAVEAT: I did this on a 20P, your panel may differ.

To get started, the new firmware adds a new section to the ad2usb's built-in config settings:
Code:
!>Keypad Address       (17) :
>!>Code               (0000) :
>!Zone Expanders Y/N Max allowed: 01
!>module #01 ZN 09-16 (N) :
>!>module #02 ZN 17-24 (N) :
>!>module #03 ZN 25-32 (N) :
>!>module #04 ZN 33-40 (N) :
>!>module #05 ZN 41-48 (N) :
>!Relay Modules Y/N Max allowed: 04
!>module #01 (Y) :
>!>module #02 (Y) :
>!>module #03 (Y) :
>!>module #04 (Y) :
Unless you already have one or more 4204s in your system, you will probably want to enable all the relays your panel can support: 4 Relay Modules on a 20P and 2 on a 15P. Check your manual for other models. Note that in the panel settings these modules will show up as addresses 12-15. These instructions assume that no physical 4204 Relay boards are installed.

Warning: The rest of this post discusses Panel Programming and assumes you have a basic understanding of Programmer mode.

Once the Relays have been configured, you will need to program your panel to activate them. On the 20P this is done through the *79 and *80 menus.

The *79 menu creates logical output device. Each logical output defines a device (Relay, X10 device or built-in trigger). Only the Relay type is supported by the ad2usb. You will probably want to create 8 logical output devices and number them 1-8 for convenience (to map to your on-board zones 1-8). Each logical output device should have Output Type 1 = relay on 4204/4229 module. Then, starting with Device #1 use Module Address 12, and Relay Position 1, and so on for the first 4 (1-4) logical devices. Then use Module Address 13, and Relay Position 1, and so on for the next 4 (5-8) logical devices.

Next, on menu *80 you will create the output functions that will trigger the logical output devices you just created. The Output Functions should be numbered 1-8 to match your on-board zone numbers and the logical device numbers. This is not required, but it will make things easier to track later on. When creating each Output Function, you will want the Activated By set to 3 = Zone number. Next, for Enter Event select 1 = alarm/fault/trouble. For the Output Action select 2 = Stay Closed. and finally, select the Output Number of a logical device you created in menu *79. I suggest you keep the numbering straight. Output function 1 to logical device 1, etc. Now, each time any of your 8 zones is closed, you will see a Relay event like this in your ad2usb data stream: !REL:12,01,01

The next step is to reset the zone when the fault clears. To do this use menu *80 again. This time create 8 new Output Functions, numbered 9-16. These will be identical to the first 8, except that under Enter Event you will select 0 = restore, for the Output Action you will select 0 = Off and for the Output number you will map these to the original 8 logical devices: 9 to 1, 10 to 2, through 16 to 8. Now, when a zone restores, you will see a message like this in your ad2usb data stream: !REL:12,01,00

That is all, except for one possible problem. On my panel, when I added Output Functions 9-16, the panel seemed to want to reference logical devices 9-16 automatically, even if I selected one of the devices 1-8 I had created, the summary display indicated that I had selected a device with X10 capabilities. My solution was to temporarily create logical output devices 9-16 and make then the same as devices 1-8. These were never actually referenced and I can now delete them if I want... But, it got me past the configuration issue. It is also possible that it would have worked anyway, but I did not test that.

Other than the !REL: prefix, Relay devices report the same as Expander devices. See !EXP Messages in this post for more information.

Attached is a "cheat sheet" for programming zones. My interest in capturing zone status when the alarm is ARMED. Mainly, I want to do know if there is motion detected inside the house whether the alarm is armed or not. I don't know if this does that, and I could use some help with it.

Sorry, I've been MIA from this thread in a while, and just noticed that people were asking questions about the relay feature that I wrote.

The short answer is that setting up the virtual relays allows you to detect motion regardless of whether the panel is armed. I have all my wired zones using motion sensors, and it works perfectly. There's even less sensor "lag" when using the relays as the communications messages are shorter and don't require a response from the panel.

The down side is that you have to have to be fairly confident in your ability to program your alarm panel as you have to setup "virtual relay" devices linked to each of your internal wired zones.

Hugh
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: DeltaNu1142 on March 26, 2014, 09:37:02 am
The short answer is that setting up the virtual relays allows you to detect motion regardless of whether the panel is armed. I have all my wired zones using motion sensors, and it works perfectly. There's even less sensor "lag" when using the relays as the communications messages are shorter and don't require a response from the panel.
The down side is that you have to have to be fairly confident in your ability to program your alarm panel as you have to setup "virtual relay" devices linked to each of your internal wired zones.
The good news is, this is exactly what I'm looking for...  the bad news is, I have little confidence in my ability to program the panel. I did the takeover procedure for the panel & it's all gone well so far. Hugh, if you have some basic instruction as to how to proceed, I'll give it a shot.

Mine is a Vista 15P with five zones + two smoke detector zones, all hardwired. The ONLY zone I even care about receiving messages for is zone 2. I'd probably just use the keypad emulator on my laptop rather than stand at the physical keypad.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: DeltaNu1142 on March 26, 2014, 01:25:21 pm
It looks like this is coming full circle...  I've been pointed back to this post (http://forum.micasaverde.com/index.php/topic,7266.msg101688.html#msg101688) earlier in this thread for more info. It looks like this will do what I need. I just need to work up the courage to tackle it.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: thewizardofoz on March 28, 2014, 08:46:11 am
@DeltaNu1142
You will be fine.  I was scared as hell before I tried it.   I got all my codes from the monitoring company(which I will quit when my contract is up) to add it the AD2USB to #18 (for my panel) as a keypad.  Ran the alarm wire from my panel to where Vera is located.  Got it established through the PC before I turned it over to Vera for control.  I have 13 zones on my alarm panel (glass breaks, door/window sensors, smoke detectors) and the notifications work great and tells me in the text to my phone which zone was triggered.   Big thing to remember to set up the serial port configuration.  115200 baud  used by Ademco Vista Alarm Panel and make sure you set up the partitions.  Another thing to remember is that if you start up Vera for whatever reason (usually adding in new devices) without having the USB connection for the alarm panel to Vera, you will have to go back in and setup the Baud and used by again.
Story for you:   My wife and I were at her parents house about 5 miles away having dinner one night.  The glass break sensor was set off by the 4 legged children barking at a stray roaming the neighborhood.  My wife and I both got a text on ours phones and KNEW exactly what and why we both got texts at the same time.  We headed for the car and were less than a mile from the house when we got the call from the security company (I am sure they called the house phone first). My wife was checking cameras on her phone while I drove.  We beat the cops there by 6 minutes and I had already had my gun out of the car and searched the property before they arrived.  This is a great plugin.
 
@mcvflorin helped me get things set up too and the things that I was just not comprehending.  Fantastic job on an amazing plugin.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: thewizardofoz on March 28, 2014, 08:49:11 am
Here are the links to NuTech that I have saved:

http://www.nutech.com/index.php?option=com_fireboard&Itemid=74&func=view&catid=4&id=13

http://www.nutech.com/index.php?option=com_fireboard&Itemid=74&func=view&catid=4&id=&id=21&catid=4
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: DeltaNu1142 on March 28, 2014, 08:50:48 am
Wiz,

Thanks--I'm comfortable with that. I've had the plugin working for almost 6 months, with all zones reporting & sending notifications back through Prowl. I used the two threads you just posted to get all of that configured. What I want to do is enable zone enunciation while the alarm is active...  zone 2, to be exact. For that I need to do some keypad programming, and to set up my cheat sheet correctly. That's the part I need some assistance with.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: thewizardofoz on March 28, 2014, 08:59:37 am
My bad.  I guess I didn't read everything though.  THAT I will not be able to help with.  Sorry
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: PJJP on April 19, 2014, 12:53:26 pm
I'm still trying to figure out how to get a VeraAlert when a zone is tripped while Armed. I have a lot of zones and don't want to create a bunch of scenes with triggers.

It would be nice if the plugin would keep track of what zones are tripped.

I suppose I could create one scene, with triggers for every zone, luup returns false if panel is not armed, and the has a single "If" statement for each zone that send a notification if that zone is tripped.

There should be a simpler way.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: PJJP on April 19, 2014, 12:58:05 pm
Another way this could be done would be that whenever my panel arms, a scene runs that arms each of my sensor on the vera, each armed sensor has notification set for only when armed, then when the panel disarms, it disarms the sensors in vera.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: BulldogLowell on April 19, 2014, 01:02:02 pm
Good approach and consistent with the ARMED paradigm across the whole system.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: PJJP on April 19, 2014, 01:03:26 pm
Yes, but...I give up the use the vera sensor arming for other puuposes, at least for the alarm sensors. I may give it a try.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: BulldogLowell on April 19, 2014, 01:33:23 pm
You could then add a virtual switch and test the position of the switch in your other actions with luup code.

That could allow the other states you need.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: PJJP on April 19, 2014, 05:22:00 pm
Here's what I'm trying:

A Scene with a trigger of Exit Delay for the alarm panel. (I'll later use PLEG to differentiate between exit delay and entry delay as I don't think my panel supports entry delay)
Code: [Select]
vDev55ID = 55
vDev55Name = "Zone #2 - Front Door"
local vDev55Tripped = luup.variable_get("urn:micasaverde-com:serviceId:SecuritySensor1", "Tripped", vDev55ID)
local vDev55LastTrip = luup.variable_get("urn:micasaverde-com:serviceId:SecuritySensor1", "LastTrip", vDev55ID)
if (vDev55Tripped == "1") then
  luup.call_action("urn:upnp-org:serviceId:IOSPush1", "SendProwlNotification", {Event= alarmstate, Description=tostring(vDev55Name), Priority=2, URL=tmp_url}, 378)
end

vDev56ID = 56
vDev56Name = "Zone #3 - Laundry Door"
local vDev56Tripped = luup.variable_get("urn:micasaverde-com:serviceId:SecuritySensor1", "Tripped", vDev56ID)
local vDev56LastTrip = luup.variable_get("urn:micasaverde-com:serviceId:SecuritySensor1", "LastTrip", vDev56ID)
if (vDev56Tripped == "1") then
  luup.call_action("urn:upnp-org:serviceId:IOSPush1", "SendProwlNotification", {Event= alarmstate, Description=tostring(vDev56Name), Priority=2, URL=tmp_url}, 378)
end

vDev57ID = 57
vDev57Name = "Zone #4 - Front Garage Entry"
local vDev57Tripped = luup.variable_get("urn:micasaverde-com:serviceId:SecuritySensor1", "Tripped", vDev57ID)
local vDev57LastTrip = luup.variable_get("urn:micasaverde-com:serviceId:SecuritySensor1", "LastTrip", vDev57ID)
if (vDev57Tripped == "1") then
  luup.call_action("urn:upnp-org:serviceId:IOSPush1", "SendProwlNotification", {Event= alarmstate, Description=tostring(vDev57Name), Priority=2, URL=tmp_url}, 378)
end

I prefer this because it appears it will create less traffic and use less overhead. If the Tripped state proves unreliable, I'll try compare the LastTrip to NOW and use like 5 seconds.
I have a lot more zones, but I'm only posting a few.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: djrobx on May 03, 2014, 09:52:26 pm
I just wanted to come here and write a post of thanks!   I'm really impressed with the current plugin.

I've been using a custom C# app for a couple years now to deal with RFX and REL messages.   I finally took the plunge today and migrated my old Vera1 to Vera2.   This means I was able to try the Ademco AD2USB plugin directly.   I was surprised to see that I was able to use these things directly with the current version of the plugin.  Bravo!

PJJP - If you are trying to use sensors for triggers, you really need to figure out the serial / loop (RFX - for wireless sensors) or configure relay support (REL - for hard-wired sensors).   Configuring these things allows for fast, reliable communication of events back to Vera.   If you don't have them, Vera has to watch the display and wait for the name of the faulted zone to appear on the display.    This is super slow (progressively slower depending on how many zones are faulted), and not reliable.

If you have SSH access to your vera, you can enable debug mode and search for these events in the log by doing:

cat /var/log/cmh/LuaUPnP.log | grep processExMessage

My entry motion sensor looks like this:

luup_log:120: (VistaAlarmPanel::processExMessage) Decoded RFX message: serial = 0681732, loop 1 = true, loop 2 = true, loop 3 = false, loop 4 = false, flags.unknown2 = false, flags.unknown1 = false, flags.battery = false, flags.supervision = false <0x741c>

My hard-wired door sensor looks like this:

luup_log:120: (VistaAlarmPanel::processExMessage) Decoded REL message: address = 01, channel = 1, faulted = true, supervision = false <0x6817>

RFX messages are easy - you'll always get them for any wireless sensors.  Even ones that are not linked to your panel!   REL messages take more work to get, the panel needs to be configured to generate them when the hard-wired zones are faulted.    Check out the AD2USB forums for more information on that.    This also removes the differences in behavior when the panel is or isn't armed. 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: di33266 on May 05, 2014, 08:59:05 am
Quote
Code: [Select]
luup.log("SRS: setting fifteen second delay then executing StorePinCode")
luup.call_delay('callonme',15)
function callonme()
  luup.log("SRS: delay over, executing StorePinCode")
  luup.call_action("urn:micasaverde-com:serviceId:VistaAlarmPanel1", "StorePinCode", { PINCode="XXXX"}, PARTITION_DEV_NUM)
end



Hi guys
Just trying to mirror the same for my setup...in the code above, what is PARTITION_DEV_NUM ? If i have just one partition, what would that be?

Thank you
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: PJJP on May 06, 2014, 10:43:13 pm
@djrobx, thanks for your reply.

I do have relays configured and working well. However, it's still not quick enough. I think i need to try adding a five second delay so the trip gets logged before I try to send an alert.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: djrobx on May 06, 2014, 11:38:29 pm
You should not need to do that.   One thing I did notice - if you are using relays, use a fake zone number that doesn't exist in the cheat sheet.   When I used the real zone numbers, I think the old "display based" detection code confused the relay trigger code, and the detections were sloppy and would seemingly get stuck in the tripped state.

With just relays specified along with fake zone numbers (100+), the activity sensors are instant - when I open the door, the action figure in the UI changes, and as soon as I close the door, it goes back to the closed state.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: PJJP on May 07, 2014, 10:30:50 pm
@djrobx,

I'm totally confused. I use relays for my hard-wired zones. I also have wireless zones. My cheatsheet is filled out with serial numbers and loops. Where would I use the fake zone?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: peterv on June 05, 2014, 06:39:21 pm
@djrobx,

I'm totally confused. I use relays for my hard-wired zones. I also have wireless zones. My cheatsheet is filled out with serial numbers and loops. Where would I use the fake zone?

I am not sure if you figured it out on your own but for anybody else who might be confused: I think what he meant was that if you have zones 01 through 16, you should configure the REL and RFX ones with bogus zone numbers i.e. 101 through 116. This way the plugin is not looking at both the zone number on the display and the relay/rfx serial/loop/address. I have not tried it any other way, but I can confirm that djrobx's way works flawlessly.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: PJJP on June 07, 2014, 09:15:33 am
@djrobx,

I'm totally confused. I use relays for my hard-wired zones. I also have wireless zones. My cheatsheet is filled out with serial numbers and loops. Where would I use the fake zone?

I am not sure if you figured it out on your own but for anybody else who might be confused: I think what he meant was that if you have zones 01 through 16, you should configure the REL and RFX ones with bogus zone numbers i.e. 101 through 116. This way the plugin is not looking at both the zone number on the display and the relay/rfx serial/loop/address. I have not tried it any other way, but I can confirm that djrobx's way works flawlessly.

Just to confirm, you get notifications of tripped zones wven while armed?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: PJJP on June 07, 2014, 09:26:14 am
You should not need to do that.   One thing I did notice - if you are using relays, use a fake zone number that doesn't exist in the cheat sheet.   When I used the real zone numbers, I think the old "display based" detection code confused the relay trigger code, and the detections were sloppy and would seemingly get stuck in the tripped state.

With just relays specified along with fake zone numbers (100+), the activity sensors are instant - when I open the door, the action figure in the UI changes, and as soon as I close the door, it goes back to the closed state.


Regarding the fake zone numbers for hardwired zones, as you see in the attcahd pic, I have the address & channel configured to match what I previously ?programmed in the panel. Are you suggesting that I remove the address/channel from these, in the cheat sheet only, create new zones in the cheat sheet only, and add the address and channels there? Do I need to make changes to my alarm panel/virtual relays as well
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: peterv on June 08, 2014, 02:12:31 am
@djrobx,

I'm totally confused. I use relays for my hard-wired zones. I also have wireless zones. My cheatsheet is filled out with serial numbers and loops. Where would I use the fake zone?

I am not sure if you figured it out on your own but for anybody else who might be confused: I think what he meant was that if you have zones 01 through 16, you should configure the REL and RFX ones with bogus zone numbers i.e. 101 through 116. This way the plugin is not looking at both the zone number on the display and the relay/rfx serial/loop/address. I have not tried it any other way, but I can confirm that djrobx's way works flawlessly.

Just to confirm, you get notifications of tripped zones wven while armed?

I do not have any notifications set up yet, but I can see the sensor changing state in UI while armed. 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: peterv on June 08, 2014, 02:29:48 am
Quote
Are you suggesting that I remove the address/channel from these, in the cheat sheet only, create new zones in the cheat sheet only, and add the address and channels there?

I hope I am not speaking out of turn, but I believe that is exactly what he means and certainly what I did. In the cheat sheet, for example for your zone 2 you should clear the address and channel and create a new zone 102 and put the channel there. So for each wired zone you will have two entries.

Quote
Do I need to make changes to my alarm panel/virtual relays as well

No, the plugin only seems to be seeing the address and the channel number. The output numbers and output function numbers do not have to correspond to anything. it is just nicer to have them the same as zone numbers so you can keep track of them.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: peterv on June 08, 2014, 02:46:31 am
Thank you for the response. I'm trying to debug a problem. Looking for some help. I cannot clear certain alarm memory indicators from the keypads. Though I can clear them from the plugin if I send two disarms. For example, if a zone goes into alarm and I enter user code + 1 to disarm. I cannot then enter user code + 1 again to clear the alarm memory message from a keypad, though I can do it through the plugin. Could this be related to something the plugin is doing? BTW I also have an Envisalink 3 configured as a keypad. Could this be causing any issues and should it be listed in the addresses field as well? Finally and strangely if I self initiate a fire alarm, this I can clear using the keypad and double entering the user code + 1.

I'm also having the exact same problem as mikegk.  I've actually been having this problem for about a year now and haven't found anything but I see I'm not the only when anymore.  After an alarm, I can silence the alarm from the keypad by entering code+1 but cannot clear the alarm message by entering code+1 again.  I can clear the alarm memory message that displays on the keypad from the plugin.  I notice that if I enter code+1 from the keypad repeatedly for a few minutes, eventually it clears.  I do not have the Envisalink 3.  Any thoughts?

Hi guys... I have the exact same problem.  However, I did a work around...  I created a PLEG action that when a disarm is detected from the panel, I send another disarm from the Vera.  That clears the alarm...  maybe not the more elegant solution, but it works.

I am having exact same issue. Based on what skropko said about repeatedly entering code+1 to clear, it seems to me that vera/plugin/ad2usb is polling or otherwise communicating with the security system while person is entering the code and interrupting the entry process. And if somebody tries it enough times, he/she might be able to fit in between these polls.

I would like a real fix as it seems to me that the alarm memory is there for a reason and should not be bypassed.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: PJJP on June 08, 2014, 10:45:20 am
I am not sure if you figured it out on your own but for anybody else who might be confused: I think what he meant was that if you have zones 01 through 16, you should configure the REL and RFX ones with bogus zone numbers i.e. 101 through 116. This way the plugin is not looking at both the zone number on the display and the relay/rfx serial/loop/address. I have not tried it any other way, but I can confirm that djrobx's way works flawlessly.

I still cannot get notifications while in Armed mode. All works well in disarm mode.
I removed the address and channel from all my hardwired zones 1-8 on the cheat sheet. I added new "bogus" zones on the cheat sheet beginning with 100, 102, etc. and added the address and channel there. It woks fine and quickly in disarm, but when armed, I get nothing. When armed, upon entering the front door, Ademco plug satus says "ExitDelay". I expect that. It just does not seem to send any messages while in exit delay.

I really want this to work. If I can't get it done this way, I may even go the the extent to convert some of these hardwired zones to wireless door sensors, possibly at the panel and use loop 1 so they'll be hidden. My end game is this: When the alarm is armed, I want a notification of what sensor is tripped before the siren sounds. I also want a photo from the appropriate camera snet to my phone is in away mode.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mathewss on June 09, 2014, 11:57:09 am
I think I know what the issue is. Does anyone have logs after the alarm?

I suspect they will show the plugin sending a * on ever message. It looks like the plugin is not looking at the sticky bit and its a bit odd how it is determining when to send a *. In our open source Python API we send a * only when we see a specific alpha string in the message.

This logic looks solid but if I am reading it correctly it may get confused on the "STICKY_BIT" #10
  http://www.alarmdecoder.com/wiki/index.php/Protocol

It would require adding a small change to this file
  http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser/trunk/L_VistaAlarmPanel1.lua

This is just a guess as I do not have a Vera to test with and it leaves questions as to what should be done with a sticky bit is set.
Maybe it should be auto cleared by the plugin.

--- /tmp/L_VistaAlarmPanel1.lua.orig   2014-06-09 08:50:54.271655894 -0700
+++ /tmp/L_VistaAlarmPanel1.lua   2014-06-09 08:52:56.212260564 -0700
@@ -570,7 +570,7 @@
          g_partitions[partNo].detailedArmMode = "NotReady"
 
          -- Send '*' to get the faulted zones, but only if the send star flag is set and the alarm is not active.
-         if (ssf == true and not flags.FIRE_ALARM and not flags.ALARM) then
+         if (ssf == true and not flags.FIRE_ALARM and not flags.ALARM) and not flags.ALARM_MEMORY then
             luup.call_delay("sendStar", 1, tostring(partNo))
          end
       end



Re
 Sean M
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: peterv on June 10, 2014, 10:17:27 pm
I still cannot get notifications while in Armed mode. All works well in disarm mode.

I did some digging and I do not see any relay messages coming from the security system for sensors that are in entry delay mode. What you want to do might not be possible. It is not a limitation of the plugin or ad2usb but a limitation of the Vista security system.

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: peterv on June 10, 2014, 11:46:39 pm
I think I know what the issue is. Does anyone have logs after the alarm?

I suspect they will show the plugin sending a * on ever message. It looks like the plugin is not looking at the sticky bit and its a bit odd how it is determining when to send a *. ...

Looking at the trunk I found that hugheaves already try to address the issue with the DisableSendStar variable in http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser/tags/3.0/S_VistaAlarmPanel1.xml (http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/browser/tags/3.0/S_VistaAlarmPanel1.xml). The note says

Quote
Added "DisableSendStar?" setting that disables sending "*" to the panel. (Sending "*" from Vera can interfere with manual alarm operation from the keypad)

I see that the trunk is version 3.0. The version downloadable from MIOS is 2.45. I would test it only if I knew how to either edit the the .lua file on my system or download the latest version.

Edit: I see the version of Honeywell Ademco Vista Alarm Panels via AD2USB   as 3.10 in My Apps. However I cannot find the "DisableSendStar" variable anywhere. Also the version reported in the advanced configuration of the plugin is 2.45. <= Is that a variable I can change and get access to 3.x variables?  Edit: <= No it isn't :) it reverted right back.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: PJJP on June 12, 2014, 12:11:16 am
I did some digging and I do not see any relay messages coming from the security system for sensors that are in entry delay mode. What you want to do might not be possible. It is not a limitation of the plugin or ad2usb but a limitation of the Vista security system.

I'm afraid you may be correct. So, I may convert my wired zoned to wireless or possiblly even duplicate keeping both wired and wireless. I have plenty of extra wireless snesors.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: roquej on July 06, 2014, 10:00:41 pm
Dealing with an interesting problem. I had the AD2USB device installed and working beautifully.  For specific reasons, replaced it with the AD2PI Network Appliance. Got it hooked up to my Vista 20P and it worked without any issues.   In the AD2USB plugin, I placed the IP address and port number (10000) in the serial port configuration. Everything works. Now for the interesting part.  It only works if I leave the old AD2USB connected to the USB port as when disconnect, the configuration is not accessible.

What is the correct way to configure the plugin over IP without the need to keep the AD2USB connected?

Any suggestion appreciated.

JR
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: pentium on July 07, 2014, 08:27:47 am
I hope you folks start a new thread on the ad2pi because I have a million questions.  For now I will try to find a configuration picture to see if it helps me any. 

I notice in the picture that it is set for 9600 baud.  I can't see how that would be the issue mentioned, but it sure stands out like a sore thumb.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: roquej on July 07, 2014, 05:55:42 pm
I hope you folks start a new thread on the ad2pi because I have a million questions.  For now I will try to find a configuration picture to see if it helps me any. 

I notice in the picture that it is set for 9600 baud.  I can't see how that would be the issue mentioned, but it sure stands out like a sore thumb.

pentium - that is good idea. I will do that later today.  To answer your question, I have tried different baud rates.  It doesn't matter.  As the connection to the panel is via the AD2PI, the USB/Serial communication parameters have not effect outside of enabling the IP/Port parameters. 

JR
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: jsams on July 09, 2014, 12:16:26 pm
Ok first day with AD2USB and Veralite. Sooooo confused. I have everything working but something is concerning me. I stored my PIN and set "securestore" to 1 so it should require a PIN for each command. It does! Problem is all you have to do is go and change "securestore" back to 0 and suddenly it doesn't require a PIN anymore.

I guess my concern is that if someone got into my getvera account they would be able to disarm my alarm without even knowing the PIN. Is there a way to stop this?

Also, is there a way to only show certain buttons on the dashboard. For example, I never use "night-stay" and would rather it just not be there. Same thing goes for using Home Buddy, it shows way too many buttons.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Wenz on July 14, 2014, 02:11:31 am
I posted this in the Vera Alert section, but I think this is probably an issue with the AD2USB. I am trying to have a verbal announcement each time one of the alarm sensors is tripped in my house.  For example, when the front door is opened, there would be an announcement stating "Front door open".  I have my Honeywell Ademco Vista alarm panel connected to my Vera Lite via an AD2USB with the Honeywell Ademco Vista Alarm Panels Plugin on the Vera.  The senors all work well in the Vera.  Now, I am trying to use Vera Alerts to send an announcement to an Android tablet that will be permanently mounted in the house.  I have installed the Vera Alerts Plugin on the Vera and the Android app on the tablet.   The plan is to have one scene with triggers for each sensor that will send a notification when the sensor is tripped.  The notification is sent using the Luup event in the trigger with the following code:

Code: [Select]
luup.call_action("urn:richardgreen:serviceId:VeraAlert1", "SendAlert", {Message = "Door open {tone:1}", Recipients = ""}, 6)
I have created the scene and some test triggers.  The notification gets sent, but the issue is that it repeats approximately every 4 seconds until the sensor is closed.  The Message Repeat Count in the Android app is set to 0, so I do not think it is the cause.  Plus, I have tried making a test trigger with an Z-wave appliance module as the trigger (instead of an alarm sensor) and it makes the announcement only once.  So my thoughts are that the sensor/panel is repeatedly sending an open signal until it is closed, which is repeatedly triggering; the announcements stop within seconds of the sensor being closed. I saw that in April 2013 there where some posts in this thread that some people had similar issues when version 3.00 of the plugin came out.  The main panel plugin states I am running plugin version 2.45 (though when I go to my apps it states 3.10).  My TTL setting is 60.

Did people get this fixed? Any suggestions on how to fix this?  I would like Vera Alerts to make only one announcement when an alarm sensor is tripped.

Thank you.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: tb001 on July 14, 2014, 10:58:00 am
I had this same issue using the mcv notifications. Basically the notification was telling me the door was open, so repeated non stop until the door was closed. I fixed this by setting up pleg so that I was notified only on the door opening event instead of being notified based on the state of the sensor. Unless I'm missing something, I don't think this is an issue with the plugins--I think they're doing what you've asked them to, which is to notify you when the sensor is tripped. Not intuitive, but makes sense when you think about it.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: pentium on July 14, 2014, 01:56:39 pm
Same here, switched it to pleg and the problem went away.  I had forgotten how annoying that was, so I added this to save you some time and just look for a good example in the pleg documenation or on that thread.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Wenz on July 14, 2014, 02:04:06 pm
I had this same issue using the mcv notifications. Basically the notification was telling me the door was open, so repeated non stop until the door was closed. I fixed this by setting up pleg so that I was notified only on the door opening event instead of being notified based on the state of the sensor. Unless I'm missing something, I don't think this is an issue with the plugins--I think they're doing what you've asked them to, which is to notify you when the sensor is tripped. Not intuitive, but makes sense when you think about it.

tb001 or pentium, thank you for the responses.  I am still new to PLEG.  Would you be so kind as to explain exactly how you setup the notifications using PLEG?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: pentium on July 14, 2014, 02:24:50 pm
I am not certain what to assume about your experience with pleg, but this can get you started with something very simple and you can go from there.  If you don't already have the app, then get it.  There is a nominal fee and it is worth every penny. 

Create a trigger similar to my tBackDoorMotion.  It will ask for you a device and then similar to a scene setup.

tBackDoorMotion   Back Door Motion armed is tripped

then go to conditions and create a condition to trigger off of the trigger you just created

cBackDoorMotion   No   tBackDoorMotion


then, similar to a scene, you go to actions and you will see that cBackDoorMotion already has its own line and it is just waiting for you to add actions.  click edit and it will bring up a screen similar to the scene on the advanced tab.  In my example i am using prowl to send me a not, but it would be just as easy to add a veralert. 

Actions for Condition: cBackDoorMotion
Device Actions:
Immediate
Device   Action   Arguments
Push Notification   SendProwlNotification   Event=Back Door Motion Description=Back Door Motion Priority=-1 URL=
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Wenz on July 15, 2014, 01:39:31 am
I am not certain what to assume about your experience with pleg, but this can get you started with something very simple and you can go from there.  If you don't already have the app, then get it.  There is a nominal fee and it is worth every penny. 

Create a trigger similar to my tBackDoorMotion.  It will ask for you a device and then similar to a scene setup.

tBackDoorMotion   Back Door Motion armed is tripped

then go to conditions and create a condition to trigger off of the trigger you just created

cBackDoorMotion   No   tBackDoorMotion


then, similar to a scene, you go to actions and you will see that cBackDoorMotion already has its own line and it is just waiting for you to add actions.  click edit and it will bring up a screen similar to the scene on the advanced tab.  In my example i am using prowl to send me a not, but it would be just as easy to add a veralert. 

Actions for Condition: cBackDoorMotion
Device Actions:
Immediate
Device   Action   Arguments
Push Notification   SendProwlNotification   Event=Back Door Motion Description=Back Door Motion Priority=-1 URL=

Thank you for your help.  I got it working with PLEG and it makes only one announcement!  To make it work with Vera Alerts I just put the code listed in my earlier post into the Luup tab in the PLEG Action.

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: copekyle on July 16, 2014, 10:16:42 am
SO forgive me for cross posting but I'm not getting much help in my own thread and it seems like there are a lot of knowledgeable people replying to this topic. 

I'm not sure where the functionality is lacking.  I'm using AuthomationHD on my phone and when I hit the panic buttons (fire,police,medical) it gives me a warning, I accept the warning and nothing happens.  Looking at my dashboard, I'm given this message "Vista Alarm Panel : RequestPanicMode not implemented."  How can I get these buttons to work?  I can trigger a panic from buttons A, B, and C on my micasa dashboard.

I spoke with the AuthomationHD creator and he said that panics are implemented in his program and that it works with his DSC panel.  Is the implementation different with AD2USB?


Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: jsams on July 17, 2014, 07:46:12 pm
@copekyle

I am using imperihome with good success. Have you tried it?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: garrettwp on July 17, 2014, 10:15:02 pm
But are you using the panic options with imperihome?

- Garrett

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: jsams on July 18, 2014, 12:30:12 am
Force, yes.

I can try it again but it is nighttime and I don't want to freak out the neighbors.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: copekyle on July 18, 2014, 11:30:04 am
I'm honestly not interesting in changing programs just for the panic.  AuthomationHD has been a dream to use and I have it on multiple devices.  If this is the only hiccup with the program, then I'll gladly just accept it and move on.  I'm just trying to make sure I'm not doing something wrong...
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Pseudomizer on July 23, 2014, 01:20:01 am
Any plans to update this plugin to support the new EVL-3 interface?

http://www.amazon.com/EYEZ--EVL-3-Envisalink-Internet-Honeywell/dp/B00EI69TAY/ref=sr_1_2?s=electronics&ie=UTF8&qid=1406092646&sr=1-2&keywords=ad2usb

It states that they fully support now Honeywell systems. Instead of having to go with the distance limitation of USB, the EVL-3 could go over IP and make many peoples' lives easier.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on July 23, 2014, 09:43:57 am
Any plans to update this plugin to support the new EVL-3 interface?

http://www.amazon.com/EYEZ--EVL-3-Envisalink-Internet-Honeywell/dp/B00EI69TAY/ref=sr_1_2?s=electronics&ie=UTF8&qid=1406092646&sr=1-2&keywords=ad2usb

It states that they fully support now Honeywell systems. Instead of having to go with the distance limitation of USB, the EVL-3 could go over IP and make many peoples' lives easier.

There is a plug in avaliable for this now in the app store
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: tree68 on August 30, 2014, 08:03:49 pm
Vera Dashboard reporting "Vista Alarm Panel: Connection Down" after installing Vista Plug-in.
Seems as if my "Vista Alarm Panel" device is not working.
Also Serial Port Configuration never worked.

History:
1. Have been using VeraLite for over 8 months with no issues.
    Have 3 devices assigned with no issues (Light switch, Garage Door tilt detector, Water leak detector)
2. Have been using existing ADT Pulse system for over 8 months with no issues.
    Have Vista 20P with 6160V & 6150 keypads
3. Recently purchased AD2USB so I could use this plugin to see my alarm devices within Vera.
 
 
On my Vista 20P, ADT installed a 5800TM & 5881EN for wireless access.
From Honeywell?s documentation:
       5800TM defaults to device address 28
       5881EN defaults to device address 00 (not sure if this is the 8, 16 or 40 zone version)
 
 
Using the 1-3 shortcut, I was able to verify the keypad address for my 6160V & 6150 keypads.
         6160V ? device address 16
         6150 ? device address 17
 
 
I checked Vista 20P values in *192 ? *196 (keypads 4-8 = device addresses 19-23),
all values returned were 00.
 
I have two 4-button keyfobs programmed in zones 50-57.
All 8 hardwired zones are used. (1-8)
 
Current:
When I programmed my third keypad (ad2USB), I used the unassigned keypad default address 18 (via *191).
 
 
After wiring AD2USB to the Vista 20P panel I was able to successfully connect the AD2USB to my desktop.
Using my installer code I was able to use the Virtual keypad UI program without issues.
Virtual keypad appeared and I was able to arm and disarm my alarm system.
I also verified it was set to address 18 and was using the recommended baud rate.
Also green led on AD2USB is blinking normally.
 
 
Problem occurred after I connected to Vera and installed the Vera Vista Alarm Plugin.
 
1. Verified number of Partitions set to  1
2. Changed TTL to 30
3. Changed keypad device address to 16, 17,18
 
These are three issues:
 
Vera dashboard is reporting several errors:
1.    Device not responding.
2.    They can be disconnected, out of range, or the batteries should be replaced. 1 devices are no longer connected
3.     No devices under serial port configuration
 
Also tried moving AD2USB to device address 19, same errors occurred.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: xuniman on September 03, 2014, 08:04:53 pm
Have you gone to the Develop Apps screen and set the USB serial port parameters to 115200, N,8,1?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves on September 04, 2014, 08:16:01 am
Any plans to update this plugin to support the new EVL-3 interface?

http://www.amazon.com/EYEZ--EVL-3-Envisalink-Internet-Honeywell/dp/B00EI69TAY/ref=sr_1_2?s=electronics&ie=UTF8&qid=1406092646&sr=1-2&keywords=ad2usb

It states that they fully support now Honeywell systems. Instead of having to go with the distance limitation of USB, the EVL-3 could go over IP and make many peoples' lives easier.

Pseudomizer,

It sounds like EVL-3 support has been added with a new plugin. However, if you already have an AD2USB. I recently modified the AD2USB plugin to support ethernet / network connections using a raspberry pi as a bridge. See this thread for more details:

http://forum.micasaverde.com/index.php/topic,26672.0.html

Hugh
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinnutech on September 05, 2014, 04:03:38 pm
Just a note from us at Nu Tech/AlarmDecoder - if you are looking to talk to your AD2 device over the network, our ser2sock is compatible with the ser2net connection if you run ser2sock in raw device mode  (-0 (zero) from command line)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kapalowski on September 11, 2014, 03:25:40 pm
ABSOLUTELY LOVE this plugin, and wanted to thank all involved in the development and support of it.

I also wanted to ask, I have some Everspring water sensors in my setup, and was hoping to get them communicating with the ADEMCO alarm panel to set off the siren/alarm if any of them are tripped.

http://www.everspring.com/ST812.aspx (http://www.everspring.com/ST812.aspx)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: chasiu on September 16, 2014, 08:51:25 pm
Hello everyone, I am a new user of Vera and just got the VeraLite last week.  Today I installed the AD2USB for my Ademco Vista 15.  My Vera is running 1.7.318 will not see the AD2USB device.  I tried to reload LUUP under serial port configuration with no luck.  I have been working on this for hours with no progress and hope someone may know what I should do.  I installed the USB driver on my laptop and connected and communicated fine with my alarm panel via the AD2USB with no issues.  Just I don't know why my VeraLite won't see it.  I installed the Ademco app 5 times with no change.

Thanks for your help!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: mcv.chris on September 17, 2014, 03:06:15 am
HI chasiu

Will you please send an email  to support@getvera.com so we can help you ?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: helraiser on September 17, 2014, 08:02:48 pm
Chris, does this work on UI7 now?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: chasiu on September 17, 2014, 10:01:29 pm
HI chasiu

Will you please send an email  to support@getvera.com so we can help you ?

I emailed support, something was done but it did not seem to make a difference.  I can't get it to work.  It won't let me change the serial port settings.  Many of the settings shown in the guide does not even show up.  I am now going over 10 hours invested in trying to get this to work and not making any progress.  This is getting very frustrating.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: chasiu on September 19, 2014, 11:13:54 am
I don't know what to do anymore.  I downgraded to UI5 and it still won't work.  I can't configure the serial port!  It just won't see it.  The AD2USB works fine with my laptop.  Please someone help me.  I am ready to give up on all this. 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: pentium on September 19, 2014, 01:14:20 pm
And the usb cable is going from the ad2 to the Vera?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: chasiu on September 19, 2014, 03:16:10 pm
And the usb cable is going from the ad2 to the Vera?

Yes, I tried two cables.  And just for fun I tried to format and mount a USB thumb drive.  It formatted it but would not mount it.  Could there be something wrong with my USB port?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: pentium on September 19, 2014, 03:49:23 pm
yes, because if you just plug in a thumb drive, it sets it up for logging.  Which you should probably do as well.  Buy a usb hub and plug them both in when you get a new vera.  That was actually a good way to test that port, in my opinion.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: chasiu on September 19, 2014, 04:10:23 pm
yes, because if you just plug in a thumb drive, it sets it up for logging.  Which you should probably do as well.  Buy a usb hub and plug them both in when you get a new vera.  That was actually a good way to test that port, in my opinion.

Amazon is sending me a new unit.  I should get it tomorrow.  Did anyone else get a Veralite in a regular white box?  Just wonder if mine was a refurb sold as new or something?  I still can't get the the thumb drive to mount.  It just formats it.

Edit: Actually I don't think it even formats it.  I can put anything in that USB port and it will say it formatted it.  When I put the thumb drive in the computer it says it needs to be formatted.  It does something to it but nothing that can be read on my computer.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinnutech on September 19, 2014, 05:47:44 pm
yes, because if you just plug in a thumb drive, it sets it up for logging.  Which you should probably do as well.  Buy a usb hub and plug them both in when you get a new vera.  That was actually a good way to test that port, in my opinion.

Amazon is sending me a new unit.  I should get it tomorrow.  Did anyone else get a Veralite in a regular white box?  Just wonder if mine was a refurb sold as new or something?  I still can't get the the thumb drive to mount.  It just formats it.

Edit: Actually I don't think it even formats it.  I can put anything in that USB port and it will say it formatted it.  When I put the thumb drive in the computer it says it needs to be formatted.  It does something to it but nothing that can be read on my computer.

It is likely just formatting it to a partition type that your computer doesn't know how to read
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: helraiser on September 19, 2014, 10:38:06 pm
There's another thread that details how to get the serial port working in UI5 - has to do with serproxy.ports file. Check out this thread:

http://forum.micasaverde.com/index.php/topic,1471.0.html

It really works but you will need to have some *nix knowledge. If you install putty you'll be able to perform all those commands and get the serial port working. Best bet will be to contact support first though in case they can help.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: chasiu on September 20, 2014, 12:19:50 am
There's another thread that details how to get the serial port working in UI5 - has to do with serproxy.ports file. Check out this thread:

http://forum.micasaverde.com/index.php/topic,1471.0.html

It really works but you will need to have some *nix knowledge. If you install putty you'll be able to perform all those commands and get the serial port working. Best bet will be to contact support first though in case they can help.

Support did not return my e-mails this time and they never pick up the phone.  Did everyone for every version have to do the same steps?  Why does it seem so many people have no problems and it just works?  I hope the unit I get tomorrow will work and start responding.  Are there any other z wave manufactures that support AD2USB?  I have not been very happy with Vera so far.  The lack of support is very disappointing also.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: helraiser on September 20, 2014, 01:14:18 am
Support can be a challenge and it seems slow coming - i finally got a reply to the email i sent almost 2 weeks ago. I suspect they get a LOT of email and it takes a while to get to them all. Anyway, I can walk you through getting AD2USB working in UI5 if you wish.

Hope the new system works for you though. Cheers!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: chasiu on September 20, 2014, 08:56:39 am
Support can be a challenge and it seems slow coming - i finally got a reply to the email i sent almost 2 weeks ago. I suspect they get a LOT of email and it takes a while to get to them all. Anyway, I can walk you through getting AD2USB working in UI5 if you wish.

Hope the new system works for you though. Cheers!

Yes please, I would love your help.  I hope I can get it working this weekend but can't get any official support from the company during the week let alone the weekend.  I plugged in the new VeraLite and it does not see anything attached to the serial port.  Should it see it even before I load the app?  Or is there some drivers on the app that makes it work.  The last time I tried it did not make any difference before or after.  Will your tips to get it working in UI5 work in UI7?

How do I get to the command line?  If I have some problems would you mind to access mine?  I can forward the port to my WAN maybe.  Oh wait there is no port, only a IP.  Not sure if that would work or not.

I downloaded putty.  Trying to log in now.  It says my password is wrong.  Tried the S/N and MAC.  Where is the password?

Finally in, I had to enable support in Vera and use the password it gave me.  And log in as user name remote and not root.

It sees it but why can't I modify the serial settings in the Vera?  Is there a way I can do it manually through the backdoor?  Here is what it says.  usb 2-1: new full speed USB device using rt3883-ohci and address 3

I didn't notice it was just an example and did this. (rmmod -f ftdi_sio)  Hope I don't need that in the future because I don't know how to get it back.  But you can see from the picture the USB device is there.  Why can't I configure the serial port under developer apps?  How can I manually configure it?  Is there a command for it?

I really thought this was going to be easy to add my alarm system.  All the reviews talk about how it just worked right away with no issues.  Why won't it work for me?  I can't even change the baud rate in the serial settings because it does not see it.  In a weeks time I have made ZERO progress!  This is so frustrating!

According to my screen shot does it see it but it is not mounted?  How do I mount it?

I just tried downgrading my AD2USB firmware with no change.  Is there a way to change the speed of the AD2USB and see if that would make the VeraLite see it?  I am trying everything I can think of.  Someone please help me.


Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: chasiu on September 20, 2014, 02:14:38 pm
Should I get this: RASPBERRY PI MODEL B 756-8308?  If I can get the Raspberry PI to see the AD2USB should I try to connect it to the VeraLite using the network?  Because it seems impossible to get the USB port on this green piece of crap to see anything. 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: helraiser on September 21, 2014, 02:32:31 am
Chasiu,

I was only able to get mine working with UI5 not UI7. I had to downgrade to UI5 which brought some problems of its own, all of which I've managed to get figured out now. If you're still at UI7 please work with the support ppl first. If you've downgraded to UI5 then here's what you'll want to do to get it working :)

1. type: lsusb <enter>
- this will list all the vendor and product id for usb ports and adapters on your vera
- the AD2USB will show up as 0403:6015, 0403:6010 or 0403:60xx. Write this down as it is your "vendor id:product id"
- if you're not sure which your AD2USB is, unplug your AD2USB and type "lsusb". Plug it in and type "lsusb". See which line was added. That is your adapter's info.
2. type: rmmod -f ftdi_sio <enter>
- we are removing the existing ftdi driver for the AD2USB. We will add one specifically for the AD2USB adapter next
3. type: insmod vendor=0x403 product=0x6015 <enter> (replace those with what you wrote down earlier)
- this loads the driver specifically for your AD2USB adapter
4. type: echo "ftdi_sio vendor=0x403 product=0x6015" > /etc/modules.d/65-usb-serial-ftdi <enter>
- this allows your vera to autoload drivers for the AD2USB even after reboot or power cycles. the original file just has "ftdi_sio"
5. type: echo "vendor:0403 product:6015" > /etc/cmh/serproxy.ports <enter>
- this allows vera 3 to see the new adapter as a serial adapter and adds it to the UI.

Credit for these steps go to CJ, an administrator on here. The only thing I changed is the vendor and product id. I also added an easier way to get your vendor and product id.

Again, this worked for me in UI5 and not in UI7. I tried it in UI7 and once i created the serproxy.ports file, the serial ports configuration screen just kept freezing.

Let us know how it goes.

Edit: BTW, all these can changes can be reversed if you need. "rmmod -f ftdi_sio" is like removing a driver in windows. "insmod ftdi_sio" reinstalls it :)
Edit2: Also, the /etc/cmh/serproxy.ports file doesn't exist at the start but you will be creating it in step 5 above.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: chasiu on September 21, 2014, 10:09:26 am
Oh my, thank you so much!  Your directions were spot on perfect and I loved the explanations under each command!  At first I thought it didn't work but then after a reboot I got the serial port set up for the very first time!  Your the BEST!!!!!   :D

So what happened that other people didn't have to do this before?  So many reviews said it just worked right away.  If you get a newer Vera with the UI7 loaded and downgrade to UI5 does it act different then a native UI5 Vera?  What is the difference?  I just find it so strange.

I still have a Raspberry PI B+ coming tomorrow.  I may try UI7 with it on my other Vera and see if it works.  I will let you know what happens.  Thank you again!  After a week of hell your raised me up helraiser!

Chasiu,

I was only able to get mine working with UI5 not UI7. I had to downgrade to UI5 which brought some problems of its own, all of which I've managed to get figured out now. If you're still at UI7 please work with the support ppl first. If you've downgraded to UI5 then here's what you'll want to do to get it working :)

1. type: lsusb <enter>
- this will list all the vendor and product id for usb ports and adapters on your vera
- the AD2USB will show up as 0403:6015, 0403:6010 or 0403:60xx. Write this down as it is your "vendor id:product id"
- if you're not sure which your AD2USB is, unplug your AD2USB and type "lsusb". Plug it in and type "lsusb". See which line was added. That is your adapter's info.
2. type: rmmod -f ftdi_sio <enter>
- we are removing the existing ftdi driver for the AD2USB. We will add one specifically for the AD2USB adapter next
3. type: insmod vendor=0x403 product=0x6015 <enter> (replace those with what you wrote down earlier)
- this loads the driver specifically for your AD2USB adapter
4. type: echo "ftdi_sio vendor=0x403 product=0x6015" > /etc/modules.d/65-usb-serial-ftdi <enter>
- this allows your vera to autoload drivers for the AD2USB even after reboot or power cycles. the original file just has "ftdi_sio"
5. type: echo "vendor:0403 product:6015" > /etc/cmh/serproxy.ports <enter>
- this allows vera 3 to see the new adapter as a serial adapter and adds it to the UI.

Credit for these steps go to CJ, an administrator on here. The only thing I changed is the vendor and product id. I also added an easier way to get your vendor and product id.

Again, this worked for me in UI5 and not in UI7. I tried it in UI7 and once i created the serproxy.ports file, the serial ports configuration screen just kept freezing.

Let us know how it goes.

Edit: BTW, all these can changes can be reversed if you need. "rmmod -f ftdi_sio" is like removing a driver in windows. "insmod ftdi_sio" reinstalls it :)
Edit2: Also, the /etc/cmh/serproxy.ports file doesn't exist at the start but you will be creating it in step 5 above.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: chasiu on September 21, 2014, 10:33:03 am
I was chuckling like a mad scientist when I armed my house from my phone for the first time.  After working on this for a week I finally feel like I can move on to other things.  I got some switches I need to install but I didn't want to do anything else until I got the AD2USB to work from the Vera.  I couldn't arm or disarm from the old or new Vera app.  But I found a third party app that worked.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: chasiu on September 21, 2014, 12:01:55 pm
I added my Zone 1 to the Cheat Sheet and it calls it a motion sensor in the settings.  Does it default everything to motion sensor when you add a zone?  Can I manual change the settings to D_DoorSensor1.xml?  Right now under advanced it is set to D_MotionSensor1.xml. It is a magnetic wired switch for the front door.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: helraiser on September 21, 2014, 01:52:08 pm
Woohooo! Glad it worked out for you. Vera's a nice product, just needs a little tweaking still.

Yes, all my contacts got added as motion sensors and I've not had a chance to look at them yet to change them properly (I had issues with my Aeon home energy monitor and getting it working in UI5 after the downgrade.)

All the contacts seem to work except the smoke & glass break ones - i've not tried these yet. You can switch 'em but I think you'll need to get change the device category too. I'm not sure what that should be. At worst, you can remove the zone and re-add it to reset the defaults!

Have fun and remember, disconnect your alarm from the phone line to avoid any false triggers :)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: chasiu on September 21, 2014, 09:20:28 pm
Thank you again for all your help.  I created a cool scene so I can arm the house and turn off all the lights.  But I can't figure out how to trigger it so if the house is armed at the panel it will turn off all the lights automatically.  So far it only works if I activate the scene myself.  I don't see anything in the trigger settings that would activate the scene.

Woohooo! Glad it worked out for you. Vera's a nice product, just needs a little tweaking still.

Yes, all my contacts got added as motion sensors and I've not had a chance to look at them yet to change them properly (I had issues with my Aeon home energy monitor and getting it working in UI5 after the downgrade.)

All the contacts seem to work except the smoke & glass break ones - i've not tried these yet. You can switch 'em but I think you'll need to get change the device category too. I'm not sure what that should be. At worst, you can remove the zone and re-add it to reset the defaults!

Have fun and remember, disconnect your alarm from the phone line to avoid any false triggers :)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: helraiser on September 22, 2014, 08:18:10 am
Thank you again for all your help.  I created a cool scene so I can arm the house and turn off all the lights.  But I can't figure out how to trigger it so if the house is armed at the panel it will turn off all the lights automatically.  So far it only works if I activate the scene myself.  I don't see anything in the trigger settings that would activate the scene.

I've got my scenes activated by schedule. It's what works for me so far as I know times when everyone should be home or not. I've got my alarm auto-disarming at a certain time b/c I know i'll be ready to leave the house then. The more complicated ones will require something called PLEG which allows you to add conditions to your scenes. I've not got into those just yet.

Edit: Also, i found that I don't need to change my door sensor contacts from "motion" to "door" as it trips when it is open anyway. All my sensors are armed by default so that when tripped you see the red running man. The alarm panel is what decides if it triggers an alarm or not.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: DeltaNu1142 on September 22, 2014, 06:38:02 pm
I upgraded from a Vera 2 to a Vera 3 tonight. All works well, except for my Ademco plugin. What do I need to change? Is it a port problem?

Here's my serial port config screen:

link to photo (http://i.imgur.com/XhOQX3w.png)

I keep getting "Ademco Vista Alarm Panel[99] : Failed to open IO Port". Any thoughts?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: helraiser on September 22, 2014, 07:50:39 pm
I upgraded from a Vera 2 to a Vera 3 tonight. All works well, except for my Ademco plugin. What do I need to change? Is it a port problem?

Here's my serial port config screen:

link to photo (http://i.imgur.com/XhOQX3w.png)

I keep getting "Ademco Vista Alarm Panel[99] : Failed to open IO Port". Any thoughts?

If you've got an AD2USB, this should show up on a ttyUSB0 or USB1 port. Try switching your "used by device" to the ttyUSB0 port. Don't forget to adjust the port speed also. I suspect that's all you need.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: DeltaNu1142 on September 22, 2014, 08:16:08 pm
If you've got an AD2USB, this should show up on a ttyUSB0 or USB1 port. Try switching your "used by device" to the ttyUSB0 port. Don't forget to adjust the port speed also. I suspect that's all you need.
Hey, you're right--I just swapped over to the other port. All's well--kudos!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: chasiu on September 23, 2014, 12:06:42 am
Thank you again for all your help.  I created a cool scene so I can arm the house and turn off all the lights.  But I can't figure out how to trigger it so if the house is armed at the panel it will turn off all the lights automatically.  So far it only works if I activate the scene myself.  I don't see anything in the trigger settings that would activate the scene.

I've got my scenes activated by schedule. It's what works for me so far as I know times when everyone should be home or not. I've got my alarm auto-disarming at a certain time b/c I know i'll be ready to leave the house then. The more complicated ones will require something called PLEG which allows you to add conditions to your scenes. I've not got into those just yet.

Edit: Also, i found that I don't need to change my door sensor contacts from "motion" to "door" as it trips when it is open anyway. All my sensors are armed by default so that when tripped you see the red running man. The alarm panel is what decides if it triggers an alarm or not.

Is PLEG a app?  I tried to search for it but could not find one.  It seems I should be able to turn on lights with the alarm system disarm.  There must be some step I am missing.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: DeltaNu1142 on September 23, 2014, 05:39:38 am
Yes, PLEG is an app, and yes, you can do that and more with it. I have a PLEG that does exactly that. Think of it as a replacement for scenes, but with more flexibility.
I'm on TapaTalk or I'd link to the forum for it...
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: chasiu on September 23, 2014, 07:24:13 pm
I found out today talking to Alarm Decoder (Nutech) that the reason I had so many problems is because the latest batch of AD2USB's that were made have a new USB chip set.  The drivers for it is not loaded in the Vera.  That explains why I had problems even with UI5 when other people never had any issues.  Here is a link to their forum talking about it.

http://www.alarmdecoder.com/forums/viewtopic.php?f=3&t=122
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: helraiser on September 23, 2014, 09:40:17 pm
aaaaah. That makes perfect sense. That's why some people were able to get it working in UI7 and the rest of us weren't. Maybe the next release of UI7 will incorporate drivers for the new chip. That's nice to know, thanks Chasiu!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: chasiu on September 23, 2014, 11:34:21 pm
But why when you loaded the drivers for UI7 you couldn't get it to work?  Is it some other UI7 issue?

aaaaah. That makes perfect sense. That's why some people were able to get it working in UI7 and the rest of us weren't. Maybe the next release of UI7 will incorporate drivers for the new chip. That's nice to know, thanks Chasiu!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: helraiser on September 24, 2014, 10:12:30 am
It worked fine. The drivers loaded and I could telnet into the AD2USB from vera (through putty.)

But when I added the device to the serproxy.ports file and then clicked on Serial Port Config in the Vera web, it just froze. Nothing loaded and the screen didn't change. I could click on any other screen and link but it didn't like the serproxy.ports file. When I deleted that file then the Serial port Config worked again - although it was empty.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: chasiu on September 25, 2014, 03:27:10 pm
Yes, PLEG is an app, and yes, you can do that and more with it. I have a PLEG that does exactly that. Think of it as a replacement for scenes, but with more flexibility.
I'm on TapaTalk or I'd link to the forum for it...

I didn't get PLEG but it suddenly started to work all on its own.  How does that happen?  So I guess I set it up correctly but Vera was having a stroke or something.  When I was out of town when the pet sitter disarmed the lights came on and off with the alarm system.  So strange that it just started to work with no changes from me.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: pentium on September 25, 2014, 03:35:32 pm
Thanks for letting us know.  Sometimes we just have to take yes for an answer.

PLEG stands for program logic event generator.  go ahead and get started on it now, it will change your vera life.  make certain you read the pdf at the first page of the really long thread. 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: chasiu on September 25, 2014, 10:47:34 pm
Oh, that is why I couldn't find it.  I was searching for PLEG.  I had no idea what it meant.  Thanks for the info!

Thanks for letting us know.  Sometimes we just have to take yes for an answer.

PLEG stands for program logic event generator.  go ahead and get started on it now, it will change your vera life.  make certain you read the pdf at the first page of the really long thread.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: DeltaNu1142 on September 27, 2014, 09:29:38 am
The short answer is that setting up the virtual relays allows you to detect motion regardless of whether the panel is armed. I have all my wired zones using motion sensors, and it works perfectly. There's even less sensor "lag" when using the relays as the communications messages are shorter and don't require a response from the panel.
I got this working! I enabled the relays in the panel config through AD2USB, and then programmed the panel through the GUI in menus *79 and *80... works great. Thanks for your help.
One thing I did notice - if you are using relays, use a fake zone number that doesn't exist in the cheat sheet.   When I used the real zone numbers, I think the old "display based" detection code confused the relay trigger code, and the detections were sloppy and would seemingly get stuck in the tripped state.
With just relays specified along with fake zone numbers (100+), the activity sensors are instant - when I open the door, the action figure in the UI changes, and as soon as I close the door, it goes back to the closed state.
This is where I want to get to. I tried fake zone numbers (see attachments), but they did not restore instantly... they appeared to take about as long as when I had the real zone numbers in the cheat sheet. That, and the arm/disarm buttons went away... and now I can't get them back, even after restoring the cheat sheet. I didn't really use them anyway, but I don't understand why they're gone.

EDIT: They came back after a reload. I'm still curious how to achieve the bold part above! Any ideas?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Fred S on October 01, 2014, 08:30:00 pm
Hi. I just bought a new ad2usb (my old one died) and no matter what I do, it won't come up in the Serial Port configuration section of the Vera. I've rebooted, removed and reinstalled the plugin, and even reverted the Vera to factory defaults. I can access the ad2usb on my computer so I believe its working. Has anyone come across this before? Although my old one is no longer working, I was able to see it in the Serial Port configuration section so I know its not a USB cable or a dead USB port. Thanks.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinnutech on October 01, 2014, 11:12:03 pm
Rather than find the post in this thread that details it - over at the manufacturer website we have posted the instructions on how to get new AD2USB detected by the Vera UI's serial ports configuration.  Please see here:  http://www.alarmdecoder.com/forums/viewtopic.php?f=3&t=122

This is due to a new USB chip from FTDI being used in manufacture.

Thanks,
Kevin
Nu Tech/AlarmDecoder
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: clambert on October 03, 2014, 01:28:38 pm
1. type: lsusb <enter>
- this will list all the vendor and product id for usb ports and adapters on your vera
- the AD2USB will show up as 0403:6015, 0403:6010 or 0403:60xx. Write this down as it is your "vendor id:product id"
- if you're not sure which your AD2USB is, unplug your AD2USB and type "lsusb". Plug it in and type "lsusb". See which line was added. That is your adapter's info.
2. type: rmmod -f ftdi_sio <enter>
- we are removing the existing ftdi driver for the AD2USB. We will add one specifically for the AD2USB adapter next
3. type: insmod vendor=0x403 product=0x6015 <enter> (replace those with what you wrote down earlier)
- this loads the driver specifically for your AD2USB adapter
4. type: echo "ftdi_sio vendor=0x403 product=0x6015" > /etc/modules.d/65-usb-serial-ftdi <enter>
- this allows your vera to autoload drivers for the AD2USB even after reboot or power cycles. the original file just has "ftdi_sio"
5. type: echo "vendor:0403 product:6015" > /etc/cmh/serproxy.ports <enter>
- this allows vera 3 to see the new adapter as a serial adapter and adds it to the UI.

As a relatively noob to Vera, where am I typing this information in? I just bought an AD2USB and interfaced it into my panel (VISTA-20).  I'm having issues  getting my Vera to find the serial port per the directions.  As a result, I stumbled across this thread.  Where do I enter these commands? 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinnutech on October 03, 2014, 02:56:07 pm
ssh to your vera and enter them at the shell as root
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: DeltaNu1142 on October 03, 2014, 03:13:17 pm
Where do I enter these commands?
ssh to your vera and enter them at the shell as root
...using a program like PuTTY (http://www.chiark.greenend.org.uk/~sgtatham/putty/).
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: pentium on October 03, 2014, 03:30:56 pm
My current ad2usb is just barely old enough to not need this, but i would like to go ahead and do it now while everyone is talking about it unless that would stop mine from working.  Will it?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: clambert on October 03, 2014, 04:10:54 pm
ssh to your vera and enter them at the shell as root

Thank you (and DeltaNu1142) very much.  It worked like a champ.  I'm able to arm and disarm the system through Vera.  Awesome Sauce!  Now just to do some searching to figure out how to utilize the attached alarm sensors and contacts into Vera.

Man I love this stuff!  Thanks again for the help.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinnutech on October 03, 2014, 05:25:02 pm
My current ad2usb is just barely old enough to not need this, but i would like to go ahead and do it now while everyone is talking about it unless that would stop mine from working.  Will it?

This fix only works for newer ad2usb - if you do this, you will have to do it again with a new one until Vera incorporates a newer FTDI driver.  Then this won't be needed at all.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: DeltaNu1142 on October 04, 2014, 07:59:13 am
Here's a public thanks to djrobx and hugheaves for the info on programming the virtual relays in my panel... I finished up the last bit today & now Vera updates immediately when a zone is either faulted or closed.  8)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: clambert on October 04, 2014, 02:52:34 pm
Here's a public thanks to djrobx and hugheaves for the info on programming the virtual relays in my panel... I finished up the last bit today & now Vera updates immediately when a zone is either faulted or closed.  8)

At some point I want to do this.  I read through the post and while I'm starting to get comfortable with the panel I'm still fuzzy on what exactly to do.  I know you need updated firmware in your AD2USB too.  Hopefully someone creates a YouTube video at some point.  I think that will really help.  It does sound really cool though.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinnutech on October 04, 2014, 03:49:33 pm
Here's a public thanks to djrobx and hugheaves for the info on programming the virtual relays in my panel... I finished up the last bit today & now Vera updates immediately when a zone is either faulted or closed.  8)

At some point I want to do this.  I read through the post and while I'm starting to get comfortable with the panel I'm still fuzzy on what exactly to do.  I know you need updated firmware in your AD2USB too.  Hopefully someone creates a YouTube video at some point.  I think that will really help.  It does sound really cool though.

You do not need new firmware for your AD2USB, you almost never need new firmware for AD2USB - at this point we're only adding support for new panels and matching featuresets with ademco.  Other than some things I'm hesitant to talk about just yet and are a long time from now to come, you won't need to update your firmware.  2.2a.6 is stable and "feature complete"
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: tomgru on October 07, 2014, 10:26:53 am
I have been looking for the definition for the button commands on the virtual keypad.

The dashboard displays these buttons, Away, Stay, Night Stay, Disarm.

So does this mean that it will act like my physical keypad where,
Away = armed with delay
Stay = armed perimeter / motion disabled
Night Stay = does this mean the same as Stay but with instant alarm when perimeter is tripped?


Can someone confirm this as well.  thanks.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: cybrmage on October 08, 2014, 05:42:05 am
I have been looking for the definition for the button commands on the virtual keypad.

The dashboard displays these buttons, Away, Stay, Night Stay, Disarm.

So does this mean that it will act like my physical keypad where,
Away = armed with delay
Stay = armed perimeter / motion disabled
Night Stay = does this mean the same as Stay but with instant alarm when perimeter is tripped?


Can someone confirm this as well.  thanks.

Away = All zones armed, with entry/exit delays active for zones programed as entry/exit zones.
Stay = All zones that are programmed as Perimeter or Entry/Exit are armed, with delays active for entry/exit zones. Zones programmed as Interior or interior with delay are not armed.
Night Stay = Same as "Stay", except that zones programmed into the "night Stay" zone list (zone list #5) are armed, regardless of the zone type.

IE: you have the following zones:
Zone 1 = Front Door with door/window sensor - zone type = entry/exit
Zone 2 = Window(s) with door/window sensor - zone type = perimeter
Zone 3 = Basement motion sensor(s) - zone type = interior
Zone 4 = Main Floor motion sensor(s) - zone type = interior
Zone 5 = Smoke detector - zone type = fire

Assuming you have the panel programmed with zone 3 in the night stay zone list, the following sensor will be active:
Away: all zones active
Stay: zones 1,2,5 active
Night Stay: zones 1,2,3,5 active.

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: tomgru on October 08, 2014, 10:20:22 am
Thanks!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: helraiser on October 12, 2014, 01:28:16 am
Does anyone know if the new chip in the AD2USB is now recognized in 1.7.388 or higher? Basically, does the serial port show up instead of freezing?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: djrobx on October 13, 2014, 03:53:32 pm
You do not need new firmware for your AD2USB, you almost never need new firmware for AD2USB - at this point we're only adding support for new panels and matching featuresets with ademco.  Other than some things I'm hesitant to talk about just yet and are a long time from now to come, you won't need to update your firmware.  2.2a.6 is stable and "feature complete"
Relay support for SE panels is relatively new.   Most of you with newer panels won't need an update to get that working. 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinnutech on October 13, 2014, 05:42:05 pm
You do not need new firmware for your AD2USB, you almost never need new firmware for AD2USB - at this point we're only adding support for new panels and matching featuresets with ademco.  Other than some things I'm hesitant to talk about just yet and are a long time from now to come, you won't need to update your firmware.  2.2a.6 is stable and "feature complete"
Relay support for SE panels is relatively new.   Most of you with newer panels won't need an update to get that working.

Quite true, I forgot we added that in the newest betas.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Stefam on October 18, 2014, 02:05:14 pm
Hi all,
Getting NOTIFICATIONS for ARMED  ZONES is driving me nuts.  I've read all the posts, but still can't get it to work.

I'm running a VeraLite with UI7.  I've set up my virtual relays, made sure my cheat sheet is OK, and set my USB settings.  I get alerts fine when I'm not armed, but nothing when I am armed.  I do have the "Can't Detect Device" on the Panel that many of us seem to get in UI7, but I don't think this is affecting me as everything else seems to be working.

Steps Taken:
-Set up virtual relays on AD2USB
-Set up Panel *79 with Virtual Relays
-Set Up Panel *80 with Outputs on Alarm AND Restore
-Set up Cheat Sheet

I'm posting my panel settings and cheat sheet - Those of you who've got this working. please help.

Thanks
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: jainanurag78 on October 26, 2014, 09:37:00 pm
Chasiu.....great this approach worked for you. I have exactly the same issue and unfortunately I am not able to figure out where to run these listed commands (lsusb etc.)? can you or someone help?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinnutech on October 27, 2014, 01:15:06 pm
SSH to the vera as root and issue them there.  Tools like PuTTY help.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: djrobx on October 29, 2014, 07:50:52 pm
Getting NOTIFICATIONS for ARMED  ZONES is driving me nuts.  I've read all the posts, but still can't get it to work.
Hi Stefam,

I have a VERA2 so UI7 isn't available for me to test on.  I suggest SSHing to Vera, telnetting to AD2USB and confirming whether or not you're getting !REL messages for tripped zones (armed and disarmed).    That process is described here:

http://forum.micasaverde.com/index.php/topic,7266.msg71129.html#msg71129

That will give us a clue as to whether we need to look at the panel configuration, or the plugin configuration.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hotwater9 on November 27, 2014, 10:50:32 pm
Thinking of getting a Vera EDGE but want to make sure this app works with UI7. Has the app been confirmed to work with UI7?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: MikeH on November 29, 2014, 04:47:59 pm
I just ordered a AD2USB for my Ademco SE alarm system.  I want to hook it up to my VeraLite controller.  I know I have to change the address to 31.  Is there a
up to date step by step instructions for setting this up with Vera(including changing the address to 31)?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on November 30, 2014, 02:39:25 am
On page one of this post you can find a link with most of the info on how to install and configure the pluging. Here (http://www.alarmdecoder.com/wiki/index.php/Panel_Configuration) is a link for the setup of the ad2usb. also note that the newer ad2usb ships with a newer driver that you will need to configure in vera, there are some resent posts with instructions on how to do this.

edited to add instructions are on page 53 of this post
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinnutech on November 30, 2014, 04:51:20 pm
I just ordered a AD2USB for my Ademco SE alarm system.  I want to hook it up to my VeraLite controller.  I know I have to change the address to 31.  Is there a
up to date step by step instructions for setting this up with Vera(including changing the address to 31)?

To change the address, the easiest way will be to set it up on your PC first and change it there - we provide instructions for doing so with the device when you order it.   Once the device itself is configured, then you may hook it up to your Vera following the Vera instructions for this plugin.

For a harder way to do it, you can terminal into the vera and attach to the serial port with screen or any other serial application and set the address there.   The Vera UI has no way to configure the device.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sgray on December 01, 2014, 01:16:00 pm
I just installed AD2USB with VeraLite on UI7 and connected it to my Vista 20P panel. I can Arm/Disarm successfully via the Partition, but I am concerned because it allows me to Arm / Disarm the Security System without entering a PIN code? For security purposes it should force me to enter the Alarm PIN before disarming or arming the system.
I didn't choose the option to 'Store PIN' on the Vera, and I've subsequently tried storing Invalid PIN codes (e.g. '0000') but regardless  UI7 via the browser, and the Homewave and Grasshopper Apps all allow me to Arm/Disarm the system without a PIN. Could the Vera have stored it automatically?? Any way to prevent this?

I saw options in the configuration guide for UI5/6 but it doesn't seem to be available in UI7. Not sure if this is a Plugin/Vera issue or AD2USB issue?

Any advice would be appreciated.
Thanks!
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinnutech on December 01, 2014, 03:17:09 pm
It's definitely a plugin issue - AD2USB only sends what it is asked to send
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: MikeH on December 02, 2014, 10:29:53 pm
I received my AD2USB unit in the mail today.  I changed the address to 31 since my alarm panel is SE.  I also did the procedure to change the driver for the new USB chip in the AD2USB.  At one time I was able to arm and disarm my alarm system through vera and also could get notifications on open zones.  I'm now getting the message in Vera "Vista Alarm Panel: Connection Down".  At this time I can only arm & disarm the alarm.  I cannot get information on open zones.  Any help to trouble shoot this problem would
be greatly appreciated.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinnutech on December 03, 2014, 01:35:57 am
I received my AD2USB unit in the mail today.  I changed the address to 18 since my alarm panel is SE.  Everything appears to be working except every once in
a while a get the following message in Vera "Vista Alarm Panel: Connection Down".  When I do a Reload in UI5 it fixes it.  Is this suppose to happen?

Just so we don't spread misinformation - SE panels are the UNADDRESSABLE variety where you would set it to 31 - you must mean you have a P :)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: MikeH on December 03, 2014, 05:19:26 am
No I have the SE model. I should have stated that I changed the address to 31.  Any idea why I would get the connection down message?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinnutech on December 03, 2014, 01:32:01 pm
No idea, sorry
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: macflow on December 05, 2014, 05:06:06 pm
HI EVERYONE, IVE BEEN DEALING WITH THE SAME EXACT SITUATION ..
THE INSTRUCTIONS ARE STARTING TO MAKE SENSE BUT IM STILL LOST AND MY QUESTION IS.. WHEN YOU SAY "TYPE" --- WHERE DO I TYPE???
1. type: lsusb <enter>
- this will list all the vendor and product id for usb ports and adapters on your vera
- the AD2USB will show up as 0403:6015, 0403:6010 or 0403:60xx. Write this down as it is your "vendor id:product id"
- if you're not sure which your AD2USB is, unplug your AD2USB and type "lsusb". Plug it in and type "lsusb". See which line was added. That is your adapter's info.
2. type: rmmod -f ftdi_sio <enter>
- we are removing the existing ftdi driver for the AD2USB. We will add one specifically for the AD2USB adapter next
3. type: insmod vendor=0x403 product=0x6015 <enter> (replace those with what you wrote down earlier)
- this loads the driver specifically for your AD2USB adapter
4. type: echo "ftdi_sio vendor=0x403 product=0x6015" > /etc/modules.d/65-usb-serial-ftdi <enter>
- this allows your vera to autoload drivers for the AD2USB even after reboot or power cycles. the original file just has "ftdi_sio"
5. type: echo "vendor:0403 product:6015" > /etc/cmh/serproxy.ports <enter>
- this allows vera 3 to see the new adapter as a serial adapter and adds it to the UI.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Stefam on December 06, 2014, 01:12:00 pm
Hi djrobx and anyone else who knows,

Sorry it took so long, but I followed your advice. Here's a sample while logged into ad2usb through my verlite.  First tests are unarmed and you can see the relays fire on open and close.  But armed, the relay does not. However, the window relay triggers while armed.  I also notices that the fromt door only triggers the REL alerts and not the EXP alert.  Not sure what that means.

Again, Thanks for the help!

-Mike

Code: [Select]
Open and Close Window
--
[1000000110000000----],008,[f700000f1008001c28020000000000]," DISARMED CHIME   Ready to Arm  "
!EXP:07,06,01
!REL:15,02,01
[0000030110000000----],014,[f700000f1014030028020000000000],"FAULT 14                        "
0000000110000000----],008,[f700000f1008000c28020000000000]," DISARMED CHIME Hit * for faults"
!EXP:07,06,00
!REL:15,02,00
[1000000110000000----],008,[f700000f1008001c28020000000000]," DISARMED CHIME   Ready to Arm  "
--

Open and Close Front Door
--
[1000000110000000----],008,[f700000f1008001c28020000000000]," DISARMED CHIME   Ready to Arm  "
!REL:12,01,01
[0000030110000000----],001,[f700000f1001030028020000000000],"FAULT 01                        "
!REL:12,01,00
[1000000110000000----],008,[f700000f1008001c28020000000000]," DISARMED CHIME   Ready to Arm  "
--

Open and Close Front Door while ARMED
--
[0010000110000000----],008,[f700000f1008008c28020000000000],"ARMED ***STAY***                "
=== This is where I opened my door ===
[0011050110000000----],008,[f700000f1008058c28020000000000],"DISARM SYSTEM   or alarm occurs "
[0011050110000000----],008,[f700000f1008058c28020000000000],"DISARM SYSTEM   or alarm occurs "
[0001010110000000----],008,[f700000f1008010c28020000000000]," DISARMED CHIME Hit * for faults"
!REL:12,01,00
--

Open Window while ARMED
--
[0010000110000000----],008,[f700000f1008008c28020000000000],"ARMED ***STAY***               "
!EXP:07,06,01
!REL:15,02,01
[0011000111100000----],014,[f700000f101400802b020000000000],"ALARM 14                        "
!EXP:07,06,01
[0011000111100000----],014,[f700000f101400802b020000000000],"ALARM 14                        "
[0001010111000000----],014,[f700000f101401002a020000000000],"ALARM 14                        "
[0001000110000000----],0ca,[f700000f10ca200028020000000000],"Alarm Canceled 
--
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Latz on December 06, 2014, 01:47:52 pm
@mcvflorin I've noticed the APPS- MY TABS in the UI shows the plugin as 3.10 but my Vera UI shows 2.45

Have I missed an update or two somewhere?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Vandamme23 on December 11, 2014, 06:54:22 pm
Just purchased a Vera Edge and AD2USB...  I have my AD2USB working correctly from my PC and plugged it into the Edge and installed the plug-in.  I was unable to get to the serial port and found the instructions on page 53.  When I enter lsusb in step one, I don't get the resulted mention in the post.  I get the same info with or without the AD2USB connected...

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Not sure what to do at this point...  Any help would be greatly appreciated...

Thx,
JC
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinnutech on December 12, 2014, 05:17:37 am
Does anything related to it show up when you do a 'dmesg' from the command line?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Vandamme23 on December 12, 2014, 08:43:14 am
Does anything related to it show up when you do a 'dmesg' from the command line?

Not sure...  Here is the result of that command...
[   17.990000]
[   17.990000] === pAd = c064f000, size = 626016 ===
[   17.990000]
[   18.010000] <-- RTMPAllocTxRxRingMemory, Status=0
[   18.020000] <-- RTMPAllocAdapterBlock, Status=0
[   18.030000] AP Driver version-2.7.1.6
[   18.060000] u32 classifier
[   18.070000]     input device check on
[   18.070000]     Actions configured
[   18.100000] Mirror/redirect action on
[   18.200000] fuse init (API version 7.22)
[   18.220000] usbcore: registered new interface driver cdc_acm
[   18.230000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   18.240000] Loading modules backported from Linux version master-2014-01-23-0-g62c147d
[   18.260000] Backport generated by backports.git backports-20140124-0-g1256d3e
[   18.290000] nf_conntrack version 0.5.0 (1980 buckets, 7920 max)
[   18.310000] Netfilter messages via NETLINK v0.30.
[   18.320000] usbcore: registered new interface driver ums-alauda
[   18.340000] usbcore: registered new interface driver ums-cypress
[   18.350000] usbcore: registered new interface driver ums-datafab
[   18.370000] usbcore: registered new interface driver ums-freecom
[   18.380000] usbcore: registered new interface driver ums-isd200
[   18.400000] usbcore: registered new interface driver ums-jumpshot
[   18.410000] usbcore: registered new interface driver ums-karma
[   18.420000] usbcore: registered new interface driver ums-sddr09
[   18.440000] usbcore: registered new interface driver ums-sddr55
[   18.450000] usbcore: registered new interface driver ums-usbat
[   18.470000] usbcore: registered new interface driver usbserial
[   18.480000] usbcore: registered new interface driver usbserial_generic
[   18.500000] usbserial: USB Serial support registered for generic
[   18.540000] xt_time: kernel timezone is -0000
[   18.550000] usbcore: registered new interface driver belkin_sa
[   18.570000] usbserial: USB Serial support registered for Belkin / Peracom / GoHubs USB Serial Adapter
[   18.610000] cfg80211: Calling CRDA to update world regulatory domain
[   18.620000] usbcore: registered new interface driver cp210x
[   18.640000] cfg80211: World regulatory domain updated:
[   18.650000] cfg80211:  DFS Master region: unset
[   18.650000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   18.670000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   18.690000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   18.700000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   18.720000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[   18.730000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[   18.750000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
[   18.760000] usbserial: USB Serial support registered for cp210x
[   18.800000] usbcore: registered new interface driver ftdi_sio
[   18.820000] usbserial: USB Serial support registered for FTDI USB Serial Device
[   18.840000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   18.860000] usbcore: registered new interface driver keyspan
[   18.870000] usbserial: USB Serial support registered for Keyspan - (without firmware)
[   18.890000] usbserial: USB Serial support registered for Keyspan 1 port adapter
[   18.900000] usbserial: USB Serial support registered for Keyspan 2 port adapter
[   18.920000] usbserial: USB Serial support registered for Keyspan 4 port adapter
[   18.970000] usbcore: registered new interface driver mct_u232
[   18.980000] usbserial: USB Serial support registered for MCT U232
[   19.000000] ctnetlink v0.93: registering with nfnetlink.
[   19.010000] usbcore: registered new interface driver pl2303
[   19.020000] usbserial: USB Serial support registered for pl2303
[   19.040000] PPP generic driver version 2.4.2
[   19.050000] NET: Registered protocol family 24
[   19.080000] usbcore: registered new interface driver option
[   19.090000] usbserial: USB Serial support registered for GSM modem (1-port)
[   27.130000] device eth0.1 entered promiscuous mode
[   27.140000] device eth0 entered promiscuous mode
[   27.150000] br-lan: port 1(eth0.1) entered forwarding state
[   27.160000] br-lan: port 1(eth0.1) entered forwarding state
[   28.130000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[   29.160000] br-lan: port 1(eth0.1) entered forwarding state
[   30.000000] RX DESC a6f68000  size = 2048
[   30.050000] RTMP_TimerListAdd: add timer obj c06b8990!
[   30.060000] RTMP_TimerListAdd: add timer obj c0657070!
[   30.070000] RTMP_TimerListAdd: add timer obj c0656c64!
[   30.080000] RTMP_TimerListAdd: add timer obj c0657040!
[   30.090000] RTMP_TimerListAdd: add timer obj c06573e8!
[   30.100000] RTMP_TimerListAdd: add timer obj c0657138!
[   30.110000] RTMP_TimerListAdd: add timer obj c0657168!
[   30.120000] RTMP_TimerListAdd: add timer obj c0657328!
[   30.130000] RTMP_TimerListAdd: add timer obj c0657358!
[   30.140000] RTMP_TimerListAdd: add timer obj c068f2fc!
[   30.150000] RTMP_TimerListAdd: add timer obj c068f418!
[   30.160000] RTMP_TimerListAdd: add timer obj c068f328!
[   30.170000] RTMP_TimerListAdd: add timer obj c068685c!
[   30.180000] RTMP_TimerListAdd: add timer obj c0654530!
[   30.200000] RTMP_TimerListAdd: add timer obj c0686570!
[   30.350000] APSDCapable[0]=0
[   30.360000] APSDCapable[1]=0
[   30.360000] APSDCapable[2]=0
[   30.370000] APSDCapable[3]=0
[   30.370000] APSDCapable[4]=0
[   30.380000] APSDCapable[5]=0
[   30.390000] APSDCapable[6]=0
[   30.390000] APSDCapable[7]=0
[   30.400000] APSDCapable[8]=0
[   30.400000] APSDCapable[9]=0
[   30.410000] APSDCapable[10]=0
[   30.410000] APSDCapable[11]=0
[   30.420000] APSDCapable[12]=0
[   30.430000] APSDCapable[13]=0
[   30.430000] APSDCapable[14]=0
[   30.440000] APSDCapable[15]=0
[   30.650000] Key1Str is Invalid key length(0) or Type(0)
[   30.660000] Key2Str is Invalid key length(0) or Type(0)
[   30.670000] Key3Str is Invalid key length(0) or Type(0)
[   30.680000] Key4Str is Invalid key length(0) or Type(0)
[   30.710000] 1. Phy Mode = 9
[   30.710000] 2. Phy Mode = 9
[   30.720000] nvram_buffer: =d4:21:22:c0:2a:ae
[   30.730000] Assigned MAC: =d4:21:22:c0:2a:af
[   30.740000] E2PROM: D0 target power=0xff20
[   30.740000] E2PROM: 40 MW Power Delta= 0
[   30.750000] 3. Phy Mode = 9
[   30.760000] RTMP_TimerListAdd: add timer obj c065412c!
[   30.770000] AntCfgInit: primary/secondary ant 0/1
[   30.770000] Initialize RF Central Registers for E2 !!!
[   30.790000] Initialize RF Central Registers for E3 !!!
[   30.800000] Initialize RF Channel Registers for E2 !!!
[   30.810000] Initialize RF Channel Registers for E3 !!!
[   30.820000] Initialize RF DCCal Registers for E2 !!!
[   30.830000] Initialize RF DCCal Registers for E3 !!!
[   30.840000] D1 = 0, D2 = 12, CalCode = 28 !!!
[   30.850000] RT6352_Temperature_Init : BBPR49 = 0x0
[   30.860000] RT6352_Temperature_Init : TemperatureRef25C = 0xfffffff6
[   30.870000] Current Temperature from BBP_R49=0xfffffffe
[   30.890000]  TX BW Filter Calibration !!!
[   31.000000]  RX BW Filter Calibration !!!
[   31.230000] LOFT Calibration Done!
[   31.240000] IQCalibration Start!
[   31.260000] IQCalibration Done! CH = 0, (gain= 1, phase= 2)
[   31.270000] IQCalibration Start!
[   31.290000] IQCalibration Done! CH = 1, (gain= 1, phase=3d)
[   31.300000] TX IQ Calibration Done!
[   31.340000] MCS Set = ff ff 00 00 00
[   31.390000] RTMP_TimerListAdd: add timer obj c0686e14!
[   31.440000] Main bssid = d4:21:22:c0:2a:af
[   31.450000] <==== rt28xx_init, Status=0
[   31.550000] 0x1300 = 00064380
[   32.610000] RX DESC a6f68000  size = 2048
[   32.670000] RTMP_TimerListAdd: add timer obj c06b8990!
[   32.680000] RTMP_TimerListAdd: add timer obj c0657070!
[   32.690000] RTMP_TimerListAdd: add timer obj c0656c64!
[   32.700000] RTMP_TimerListAdd: add timer obj c0657040!
[   32.710000] RTMP_TimerListAdd: add timer obj c06573e8!
[   32.720000] RTMP_TimerListAdd: add timer obj c0657138!
[   32.730000] RTMP_TimerListAdd: add timer obj c0657168!
[   32.740000] RTMP_TimerListAdd: add timer obj c0657328!
[   32.750000] RTMP_TimerListAdd: add timer obj c0657358!
[   32.760000] RTMP_TimerListAdd: add timer obj c068f2fc!
[   32.770000] RTMP_TimerListAdd: add timer obj c068f418!
[   32.780000] RTMP_TimerListAdd: add timer obj c068f328!
[   32.790000] RTMP_TimerListAdd: add timer obj c068685c!
[   32.800000] RTMP_TimerListAdd: add timer obj c0654530!
[   32.810000] RTMP_TimerListAdd: add timer obj c0686570!
[   32.950000] APSDCapable[0]=0
[   32.960000] APSDCapable[1]=0
[   32.960000] APSDCapable[2]=0
[   32.970000] APSDCapable[3]=0
[   32.970000] APSDCapable[4]=0
[   32.980000] APSDCapable[5]=0
[   32.990000] APSDCapable[6]=0
[   32.990000] APSDCapable[7]=0
[   33.000000] APSDCapable[8]=0
[   33.000000] APSDCapable[9]=0
[   33.010000] APSDCapable[10]=0
[   33.020000] APSDCapable[11]=0
[   33.020000] APSDCapable[12]=0
[   33.030000] APSDCapable[13]=0
[   33.030000] APSDCapable[14]=0
[   33.040000] APSDCapable[15]=0
[   33.250000] Key1Str is Invalid key length(0) or Type(0)
[   33.260000] Key2Str is Invalid key length(0) or Type(0)
[   33.270000] Key3Str is Invalid key length(0) or Type(0)
[   33.280000] Key4Str is Invalid key length(0) or Type(0)
[   33.310000] 1. Phy Mode = 9
[   33.310000] 2. Phy Mode = 9
[   33.320000] nvram_buffer: =d4:21:22:c0:2a:ae
[   33.330000] Assigned MAC: =d4:21:22:c0:2a:af
[   33.340000] E2PROM: D0 target power=0xff20
[   33.350000] E2PROM: 40 MW Power Delta= 0
[   33.350000] 3. Phy Mode = 9
[   33.360000] RTMP_TimerListAdd: add timer obj c065412c!
[   33.370000] AntCfgInit: primary/secondary ant 0/1
[   33.370000] Initialize RF Central Registers for E2 !!!
[   33.390000] Initialize RF Central Registers for E3 !!!
[   33.400000] Initialize RF Channel Registers for E2 !!!
[   33.410000] Initialize RF Channel Registers for E3 !!!
[   33.420000] Initialize RF DCCal Registers for E2 !!!
[   33.430000] Initialize RF DCCal Registers for E3 !!!
[   33.440000] D1 = -1, D2 = 11, CalCode = 28 !!!
[   33.450000] RT6352_Temperature_Init : BBPR49 = 0x0
[   33.460000] RT6352_Temperature_Init : TemperatureRef25C = 0xfffffff6
[   33.470000] Current Temperature from BBP_R49=0xfffffffe
[   33.490000]  TX BW Filter Calibration !!!
[   33.610000]  RX BW Filter Calibration !!!
[   33.830000] LOFT Calibration Done!
[   33.840000] IQCalibration Start!
[   33.860000] IQCalibration Done! CH = 0, (gain= 1, phase= 2)
[   33.870000] IQCalibration Start!
[   33.890000] IQCalibration Done! CH = 1, (gain= f, phase=3d)
[   33.900000] TX IQ Calibration Done!
[   33.940000] MCS Set = ff ff 00 00 00
[   33.990000] RTMP_TimerListAdd: add timer obj c0686e14!
[   34.040000] Main bssid = d4:21:22:c0:2a:af
[   34.050000] <==== rt28xx_init, Status=0
[   34.050000] 0x1300 = 00064300
[   37.790000] device ra0 entered promiscuous mode
[   37.800000] br-lan: port 2(ra0) entered forwarding state
[   37.810000] br-lan: port 2(ra0) entered forwarding state
[   39.810000] br-lan: port 2(ra0) entered forwarding state
root@MiOS_45002554:~#
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinnutech on December 13, 2014, 04:55:11 pm
Can we get one without the ad2usb plugged in and one with the ad2usb plugged in?  Just to see if there's an apparent difference - not seeing what I would expect to see, which leads me to believe that the driver potentially doesn't exist on the Edge
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on December 13, 2014, 07:58:59 pm
I think I saw another thread that someone said the usb port is not yet working on the edge. Contact support maybe
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Vandamme23 on December 14, 2014, 09:03:08 am
ok...  I ran the dmesg with and without the AD2USB plugged into the Vera Edge.  I compared the files and the only difference is this line....

[41931.300000] usb 2-1: new full-speed USB device number 2 using ohci-platform
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: MikeH on December 14, 2014, 02:42:11 pm
Just a quick question.  I just ordered a Vista 20p alarm panel.  I will be using just one partition.  When I set-up AD2USB plugin do I just enter 1 partition in the
settings?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: pentium on December 14, 2014, 02:45:41 pm
I have a 1 in numpartitions.  Been working a long time.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinnutech on December 14, 2014, 03:05:06 pm
ok...  I ran the dmesg with and without the AD2USB plugged into the Vera Edge.  I compared the files and the only difference is this line....

[41931.300000] usb 2-1: new full-speed USB device number 2 using ohci-platform

Well, it looks like they haven't gotten that working for the Edge yet - bummer.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: nas4a on December 15, 2014, 12:05:28 pm
So I have a Vera 2 running UI1 that has been running my AD2USB Ademco Vista 10SE for a while..

I just got a Vera Edge.  Based on what I'm reading, I should leave the Vera 2 running the plug-in for now and not try and move it over to the new Edge, correct?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinnutech on December 15, 2014, 03:29:50 pm
That would be my recommendation until the Edge is mature enough for the product.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: nas4a on December 17, 2014, 09:28:53 am
Ugh.  Thanks Kevin.  I guess that's what I get for trying to be on the cutting edge...And also why I've been hesitant to upgrade from UI 1.0 (a bit excessive, but if it ain't broke...)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Vandamme23 on December 18, 2014, 09:11:57 am
FYI...  Got this response from Tech Support...

DEC 18, 2014  |  02:08PM UTC
XXXXX   replied:
Hi XXX,

Currently there is an issue that prevents our customers to use USB devices with Vera Edge, but this should be resolved in our next software release, by the end of this week.

Please let me know if you have other questions and I?ll get back to you afterwards.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Vandamme23 on December 20, 2014, 09:06:53 am
Downloading Vera Edge firmware update as we speak... v 1.7.906...  Will report results shortly
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Vandamme23 on December 20, 2014, 10:06:24 am
Ok...  Followed the instructions and still not working...  here are the results...

1. type: lsusb <enter>

ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)

2. type: rmmod -f ftdi_sio <enter>

kmod: Usage:
        rmmod module

3. type: insmod vendor=0x0403 product=0x6015 <enter>

Failed to find vendor=0x0403. Maybe it is a built in module ?

4. type: echo "ftdi_sio vendor=0x403 product=0x6015" > /etc/modules.d/65-usb-serial-ftdi <enter>

5. type: echo "vendor:0403 product:6015" > /etc/cmh/serproxy.ports <enter>

6. reboot

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinnutech on December 21, 2014, 01:42:11 am
There's something amiss with the ftdi driver in that release then...
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: pletch on December 21, 2014, 09:56:54 pm
I was able to get the module to load with slightly different syntax from above. At this point, dmesg would indicate that the FTDI SIO compatible converter was attached to ttyUSB0. From here, I could successfully issue the required ser2net command manually and then telnet to the ad2usb where I could confirm i was getting data from the alarm panel.  However, the GUI would not indicate the detection of a serial port. Further investigation of /var/log/cmh/serproxy.log showed no indication that the usb-serial adapter was being automatically connected via ser2net and /proc/tty was strangely missing. I was trying to compare what happens on my vera2 versus the veraedge as I moved the ad2usb between the two units to troubleshoot.  I can go no further at this point without guidance and assume there must be some issue with usbserial or the kernel particularly in light of the missing /proc/tty.

Instructions I used on the veraedge to get the serial port to connect:

1. type: lsusb <enter>

ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)

2. type: rmmod ftdi_sio <enter>
   The version of rmmod on the veraedge will not accept any options so the -f will generate an error if included.  This command isn't really necessary anyway as the ftdi_sio module doesn't appear to load by default on the veraedge.  In fact, there are no modules at all attached to usbserial according to lsmod in the default configuration.

3. type: insmod ftdi_sio vendor=0x0403 product=0x6015 <enter>
   You must specify the module name here or an error is generated.

Getting the module to load automatically on boot is also not the same.  There is now a /etc/modules-boot.d/ directory with soft links to the modules.d directory.  I suspect you might have to create / modify the module call there to get the module to load automatically but I didn't tinker with this.

I also must admit that I am a bit out of my wheelhouse here ....

Are we stuck until MCV addresses?

-Tim



Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinnutech on December 22, 2014, 01:21:27 pm
Unfortunately yes, this is out of anybody's control but theirs unless you know a way of pushing new MCV Firmware to people from 3rd parties
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: nas4a on December 24, 2014, 09:02:19 am
Really disappointed in the new Edge thus far....so many issues.  I don't know how you tout yourself as being compatible with so much stuff, yet not even supporting items your older systems supported.  Seems like they may have pushed this one to market far too quickly.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on December 27, 2014, 01:16:54 pm
Update: this and the following two posts do result in the Vera successfully communicating with the alarm panel so read on!

It has been a while since I've had to delve into this plugin but I guess my luck ran out when I upgraded to UI 7.  A few days later my Veralite turned into a brick.  But I digress...I now have a Veraedge and I'm rebuilding my automation network.

What follows is a brain dump from working with v1.7.906 so excuse the brevity/grammar/spelling/etc - I'll probably post a script later after I reboot and have to do all of this again:

1. Posts above regarding the removal of the module are correct.

2. Insertion of the module is product-ID specific.  Use lsusb to find the product ID.  It is in the form of 0403:6001.  The first 4 are the vendor ID which will be the same for all of us.  The second four digits after the colon are the product ID>  It looks like the product ID might vary, so find yours and use that in insmod.  I haven't tested it, but it might work without a product ID, but I'm not sure.

3 After that, unplug and reinsert the USB cable.

4. At this point you should see the serial port listed in Apps->Develop->Serial Port Config.  At least I think this is the first step that I saw the serial port, but I wasn't watching that closely.

5. The seg fault described above appears to be a result of serproxy not handling missing command-line args in clean way (read->sloppy programming and QA).  It prints usage information if you're running it with  < 3 arguments, when it really needs 4.  Interestingly, the native startup script also calls serproxy without the necessary arguments, so it goes into a endless seg fault loop, /mios/usr/bin/Start_serproxy.s:

"/usr/bin/serproxy 127.0.0.1 127.0.0.1 $InstID"

It is missing the trailing arg of the serial device.

/usr/bin/serproxy 127.0.0.1 127.0.0.1 <dev serial> /dev/ttyUSB0

So, run the serproxy command above.  You don't have to run ser2net manually, serproxy starts it with the appropriate options.  You can run 'ps ax|grep ser2net' if you're interested in what options are used.  You can run it in the background by adding an ampersand to the end of the command or by pressing ctrl-z then typing bg %% if you already started it.

It spits out some errors regarding downloads, but based on the logs, a number of downloads work, and they all seem to be pulling device configuration info from the Lua engine.  The ones that fail don't *seem* to be causing problems as it looks like it falls back to sane defaults but I could be wrong.

6. Not sure yet.  I'm posting because these steps seem to resolve problems described above.  Hopefully we can figure out the next problem.


Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on December 27, 2014, 02:52:10 pm
Warning: this may completely hose your Vera, I am not responsible for anything that results from using the stuff below. If you don't understand what I have below, you probably shouldn't try to use it.

OK this is what I'm using to automate the steps above, getting you to the point that the tty device is up, the daemons are running, and the serial port shows up in the UI:
Code: [Select]
#!/bin/sh

# SVN : $Id: Start_serproxy.sh 8764 2013-07-31 12:58:27Z florin $

#Copyright (C) 2008 Mi Casa Verde, Inc., a Nevada Corporation
#                    www.micasaverde.com
#           1 - 702 - 4879770 / 866 - 966 - casa
#This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License.
#This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
#without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

InstID=$(cat /etc/cmh/PK_AccessPoint)

while [[ ! -f /var/run/cmh.stop ]]; do
        # Intentionally done in-loop b/c the device might
        # not be inserted at boot, and this will pick it up on Lua reload
        ProdID=$(lsusb|awk -F '[: ]' '/0403/ { print $8; }')
        rmmod ftdi_sio
        insmod ftdi_sio vendor=0x0403 product=$ProdID
        TTYNode=$(dmesg|awk '/ now attached to/ { print $NF; }'|tail -n 1)
        kill $(ps ax|awk "/serproxy/ /!$$/ { print $1; } " 2>/dev/null) 2>/dev/null
        kill $(ps ax|awk '/ser2net/ { print $1; }' 2>/dev/null) 2>/dev/null
        sleep 5 # Give LuaUPnP some time to startup
        echo "Running serproxy:   /usr/bin/serproxy 127.0.0.1 127.0.0.1 $InstID /dev/${TTYNode}"
        /usr/bin/serproxy 127.0.0.1 127.0.0.1 $InstID /dev/${TTYNode}
        sleep 1
done

I replaced the /usr/bin/Start_serproxy.sh with that code because it is run on boot and, well, that is where it should be done based on the code that was already in there.  I replaced it by:
Code: [Select]
cd /usr/bin
rm Start_serproxy.sh
vi Start_serproxy.sh
<paste script above>
<save + exit (esc :wq enter)
chmod +x Start_serproxy.sh
reboot

To put the original back in-place:
Code: [Select]
rm /usr/bin/Start_serproxy.sh
ln -s /mios/usr/bin/Start_serproxy.sh /usr/bin
reboot
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on December 27, 2014, 03:26:33 pm
It works!!!

With the script I posted above I can interact with the alarm panel in UI 7 v1.7.906 :)

If you replace the Start_serproxy.sh script as described above, things should start working... mostly.  I've found the "cheat sheet" is acting wonky.  The entries don't appear immediately.  They appear *eventually* in the cheat sheet list.  I think refreshing the page and going back in the cheat list helps  The devices that the cheat sheet creates do not appear until a reboot, AFAICT.

Hope all that helps.

Update: after a cold boot w/ removing power, the serial port settings in the UI appear to have been lost.  It was back to 9600 baud and no device was associated with it.  This caused a connection error like before.  But once I fixed the settings via the UI, and restarted Luup, things are working again.  I'll look into this more .

I've been reserved but at this point I'm going to have to throw a "WTF?" at the Vera team.  Spending a day fixing their problems, which has happened before, wears on one.  The problems described in the first post are a simple programming mistake that never should have made it past QA (argc < 4, ttydev = argv[3]... segfault).  The issues in this post just add to problem together illustrating the poor quality of the software product.   The only plus side here is that the platform is configurable to the point where we can fix their problems ourselves.  In essence, we are the Vera QA team.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Vandamme23 on December 29, 2014, 10:48:35 am
Sound - I will try to confirm your findings later today...

FYI - The reponse I received from Vera...

We?ve discovered an incompatibility in the usb drivers on the OpenWrt platform that is used by the Vera Edge.
Our colleagues from development are working on it right now and should release a patch and in the first weeks of January to fix this.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on December 29, 2014, 12:03:18 pm
FYI - The reponse I received from Vera...

We?ve discovered an incompatibility in the usb drivers on the OpenWrt platform that is used by the Vera Edge.
Our colleagues from development are working on it right now and should release a patch and in the first weeks of January to fix this.

It isn't really an incompatibility, at least anymore.  I think they just need to add a few module alias lines for this product ID.  I can't speak to older versions of the firmware, but based on info above from other posters, and Vera's response regarding a release with a fix in December, a missing or otherwise incompatible module is probably already fixed.

Let us know how this work-around does on your device Vandamme23.

Update: Oh, and they need to pass in the correct command-line arguments to their serproxy binary, else do something similar.  They should probably fix the segfault but strictly speaking that isn't necessary as long as they pass in the right args.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Vandamme23 on December 29, 2014, 10:40:25 pm
Sound....  Using your post, I am able to see my serial port in the UI now...  I can configure it and assign it to partition 1...  But when trying to do anything using the device, it states the device is not responding...  I will try removing the app and reloading it...
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on December 30, 2014, 10:21:25 am
Sound....  Using your post, I am able to see my serial port in the UI now...  I can configure it and assign it to partition 1...  But when trying to do anything using the device, it states the device is not responding...  I will try removing the app and reloading it...

Did you set the serial port baud rate to 115200 in the UI?  Also make sure you list every keypad address in-use.  If either of those aren't correct it won't respond.  That was what was giving me the same error.

http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/wiki/UI5
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: MikeH on December 30, 2014, 03:36:44 pm
I am experiencing the following when I was testing my new vista 20p and AD2USB: I had my alarm system set "Away".  When I entered I wanted to test my siren so I waited for the siren to go off before I entered my code.  I then entered my code.  The display said "Canceled Alarm" and the defaulted zone. I made sure the zone was closed and entered my code and off a few more times, but the "Canceled Alarm"  message wouldn't go away.  After 15 minutes it was still there so I using vera I pressed the Disarm button.  That cleared the "Canceled Alarm" message.  Is there a way to fix this?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on December 30, 2014, 04:01:45 pm
I am experiencing the following when I was testing my new vista 20p and AD2USB: I had my alarm system set "Away".  When I entered I wanted to test my siren so I waited for the siren to go off before I entered my code.  I then entered my code.  The display said "Canceled Alarm" and the defaulted zone. I made sure the zone was closed and entered my code and off a few more times, but the "Canceled Alarm"  message wouldn't go away.  After 15 minutes it was still there so I using vera I pressed the Disarm button.  That cleared the "Canceled Alarm" message.  Is there a way to fix this?

When you have a faulted zone, does the backlight on the keypad displays stay on constantly, or does it turn off?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: MikeH on December 30, 2014, 04:39:08 pm
The back light stays on and the it keeps flashing between the faulted zone & the "Alarm Canceled" message.  I punch my code in and the off button multiple times, but
it doesn't do anything.  Then when I use vera U15 on my computer and click on the "DisArm" button it clears it.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: helraiser on December 30, 2014, 08:31:57 pm
Is the AD2USB now compatible with UI7? Some of us couldn't get it working in UI7 - even by SSHing into the Vera. There was something in UI7 that prevented the port from showing up in the GUI. Unfortunately, can't stay at UI5 forever so I was hoping to attempt UI7 again, but only if I can control my alarm system.

Thx
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on December 31, 2014, 10:19:21 am
Is the AD2USB now compatible with UI7? Some of us couldn't get it working in UI7 - even by SSHing into the Vera. There was something in UI7 that prevented the port from showing up in the GUI. Unfortunately, can't stay at UI5 forever so I was hoping to attempt UI7 again, but only if I can control my alarm system.

Thx

Read up a few posts...
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on December 31, 2014, 10:33:42 am
The back light stays on and the it keeps flashing between the faulted zone & the "Alarm Canceled" message.  I punch my code in and the off button multiple times, but
it doesn't do anything.  Then when I use vera U15 on my computer and click on the "DisArm" button it clears it.

That sounds like the problem I had ages ago.The wiki for the plugin states these panels don't send a message when faulted zones are cleared.  So the plugin sends a "*" to get the faulted zone list to determine when it is cleared.  The problem I was seeing was that it sent the "*" about once a second.  I set the debug variable to 1 in the plugin settings and watched the log output via SSH to confirm.

IIRC I patched the plugin by hand, but eventually an updated plugin fixed it without a patch, but that was 18 months ago so you should have the fixed plugin. 

I would try the debug flag to confirm that is the problem, check all keypad addresses, then resort to modifying the plugin source code.

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: topcho on January 02, 2015, 07:51:54 am
I have been using this plugin for awhile now. To the developer- thank you!
I am trying to set up a scene that triggers a certain state, let's say "stay", which I need to reverse to the original after let's say 8 hours. The plugin panel shows 2 arrows for the reversing action with a delay but nothing happens after the time passes.
Has anybody been able to accomplish this?
Title: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: DeltaNu1142 on January 02, 2015, 08:22:02 am
The back light stays on and the it keeps flashing between the faulted zone & the "Alarm Canceled" message.  I punch my code in and the off button multiple times, but
it doesn't do anything. Then when I use vera U15 on my computer and click on the "DisArm" button it clears it.
I had the same issue. Exactly as you describe above. If I want to clear the fault from the keypad, I enter my code and hit "Away" instead of off. I don't know why it works, but it does.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Vandamme23 on January 02, 2015, 09:31:24 am
Did you set the serial port baud rate to 115200 in the UI?  Also make sure you list every keypad address in-use.  If either of those aren't correct it won't respond.  That was what was giving me the same error.

http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/wiki/UI5
[/quote]

I made sure the baud rate was correct and tried to add the KeyPad Address, but the variable that was there is "locked" and won't allow entry...  I added a new variable, but not sure its working properly if its listed twice...  I can't add screen prints because the forum says the upload folder is full...

Edit: January 02, 2015
Ok....  I uninstalled and re-installed the plug-in.  I am now able to enter the KeyPadAddress, but it doesn't save.  I see it there after entering it, but when I navigate away from the advanced tab and come back, it is gone...

Edit: January 04, 2015
Ok...  Not sure what has happened, but the plug-in is now working...  The KeyPadAddress is showing the correct address, and I can arm and disarm the alarm...  I will now start testing some of the advanced features....
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: reffr on January 03, 2015, 10:56:36 am
So...I have a Vera 3 and when I upgraded to UI7 the alarm functions still work except I have an error on the panel.  I cannot seem to get rid of the error (see screen shot).

If I click on Away the alarm goes to Away.  This is the only thing that isn't working.

Please help.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: ykamenet on January 13, 2015, 10:13:43 am
Any updates on the status of usb drivers issue patch for Vera Edge? There was a mention that it should release in the first weeks of January, so with today being about mid-January I was wondering if anyone heard any updates? I sent an inquiry to Vera support but haven't heard back yet.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on January 13, 2015, 10:33:59 am
Any updates on the status of usb drivers issue patch for Vera Edge? There was a mention that it should release in the first weeks of January, so with today being about mid-January I was wondering if anyone heard any updates? I sent an inquiry to Vera support but haven't heard back yet.

Read up a few posts... the kernel driver hasn't been the problem since at least late December and I posted a workaround for the remaining issues.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: ykamenet on January 13, 2015, 10:37:37 am
Any updates on the status of usb drivers issue patch for Vera Edge? There was a mention that it should release in the first weeks of January, so with today being about mid-January I was wondering if anyone heard any updates? I sent an inquiry to Vera support but haven't heard back yet.

Read up a few posts... the kernel driver hasn't been the problem since at least late December and I posted a workaround for the remaining issues.
Thanks, I will give it a shot again, I am pretty sure it didn't work for me and was saying device not found (or something like that) but I will re-check tonight and update.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: M2MExpert on January 13, 2015, 11:32:28 am
I must agree. UI5 was more or less rock solid and stable, UI6 and 7 have been really subpar. Not what I would expect from a products rolling out to the masses. This is base functionality. The home automation market is rapidly becoming mainstream. My advice would be for the Vera team to focus on quality vs. features right now and stabilize the platform. Just my thoughts. Hope the Vera Team takes it into consideration.


I've been reserved but at this point I'm going to have to throw a "WTF?" at the Vera team.  Spending a day fixing their problems, which has happened before, wears on one.  The problems described in the first post are a simple programming mistake that never should have made it past QA (argc < 4, ttydev = argv[3]... segfault).  The issues in this post just add to problem together illustrating the poor quality of the software product.   The only plus side here is that the platform is configurable to the point where we can fix their problems ourselves.  In essence, we are the Vera QA team.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: ykamenet on January 13, 2015, 09:52:48 pm
Got a reply from support regarding the USB issue:

As far as I'm aware the issue with the USB has a high priority and should be available in the January software release, which is typically release in the last week of January. So you should expect it to be available in the next two weeks.

sound-mind: Thanks for posting a workardound, but I don't want to go messing with scripts. Plus I think you mentioned that settings were lost after reboot, right?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on January 18, 2015, 11:50:09 am
Got a reply from support regarding the USB issue:

As far as I'm aware the issue with the USB has a high priority and should be available in the January software release, which is typically release in the last week of January. So you should expect it to be available in the next two weeks.

sound-mind: Thanks for posting a workardound, but I don't want to go messing with scripts. Plus I think you mentioned that settings were lost after reboot, right?

The serial port baud rate and associated device are lost on reboot. 

I rely pretty heavily on the alarm to perform a lot of tasks, like turning on internal security cameras when we set the alarm to away.  Without this, I have to manually trigger a scene to turn them on, so the workaround adds enough value for me to maintain it across reboots, which to-date have only happened when I reboot the device after, e,g, moving close to a device to pair with it. 

When a full fix comes out I'll review it and unpatch my Vera if it is functional.  However, I have very little faith in the Vera team to do it correctly.

Personally, I don't know how they were planning on fixing it but I think my approach is pretty solid.  They're going to have to modify that script regardless due to a syntax error that leads to a segfault.  The approach also addresses differences in USB product IDs ensuring the kernel module gets loaded across variances.  I think relying on the vendor ID is suddicient for these devices.  They could fix that part in other ways in userspace, though comments from support indicate they're trying to fix it in kernel space which seems like the wrong approach since the module is already perfectly functional.

FWIW, I understand mucking about in the firmware image on an embedded device is off-putting.  I've been using Linux  for 20 years, some of that time in embedded Linux environment including OpenWRT.  If I break something, I can fix it, whereas following some random person's ramblings on a forum could put others in a bad place.  I probably should have caveated the script post with something along those lines.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: reffr on January 18, 2015, 11:55:35 am
Sound-Mind:  I completely agree and am in the same boat. I'm exploring other solutions but haven't been able to find any platforms that support ademco. Please let me know if you go with a different platform.


Sent from my iPhone using Tapatalk
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Vandamme23 on January 18, 2015, 09:43:34 pm
sound-mind - I don't have any issues with a reboot...  I don't lose any of my setting...

I have since added  6 new devices, and 2 new plug-ins...  DataYours2 required a number of re-boots mostly to able to get my NAS mounted...  My settings have remained throughout...

Next up is to get my logs sent over to the NAS mount...
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on January 19, 2015, 10:58:36 am
sound-mind - I don't have any issues with a reboot...  I don't lose any of my setting...

I have since added  6 new devices, and 2 new plug-ins...  DataYours2 required a number of re-boots mostly to able to get my NAS mounted...  My settings have remained throughout...

Next up is to get my logs sent over to the NAS mount...

Funny that you mention that - I soft rebooted last night via the web UI.  I had added a device and the UI refused to store the room I was selecting, it was always showing up in No Room (reboot fixed that problem).  Regardless, the serial port info was retained across a soft boot.  I wonder if it is either fixed, or only occurs across a hard boot.  I haven't tried yet, but I wonder if it is being stored in a RAM-backed memory region that contains persistent data until power loss. 

I'll try a cold boot today and post back.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on January 24, 2015, 07:35:11 pm
sound-mind - I don't have any issues with a reboot...  I don't lose any of my setting...

I have since added  6 new devices, and 2 new plug-ins...  DataYours2 required a number of re-boots mostly to able to get my NAS mounted...  My settings have remained throughout...

Next up is to get my logs sent over to the NAS mount...

Funny that you mention that - I soft rebooted last night via the web UI.  I had added a device and the UI refused to store the room I was selecting, it was always showing up in No Room (reboot fixed that problem).  Regardless, the serial port info was retained across a soft boot.  I wonder if it is either fixed, or only occurs across a hard boot.  I haven't tried yet, but I wonder if it is being stored in a RAM-backed memory region that contains persistent data until power loss. 

I'll try a cold boot today and post back.

I finally got around to doing a cold boot and I no longer see the behavior in which the serial settings are lost.  I'm still running the same firmware version, so I have no idea what was possibly causing that before, and why it is no longer happening.  But with things 100% functional, I also don't care :)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on January 24, 2015, 10:35:35 pm
The only time the serial port settings are lost is when vera boots up and does not see the AD2USB, like when you unplug it and boot it up somewhere else to include a device. this is one of the reasons I try to always include devices using full power inclusion.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: MikeH on January 28, 2015, 10:50:50 am
I have a scene set up in vera to turn the lights on when I go downstairs and get a drink of water or something late at night.  It uses my wired motion detector connected to a Vista 20P alarm panel.  A AD2USB is connected to the panel also.  It works great except when I have the alarm set in "Stay" mode.  When its in "Stay" mode it doesn't report anything to the keypads or the AD2USB.  Is there a way to have the Vista 20P report a fault on the motion detector when its armed in "Stay" mode? 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Vandamme23 on January 28, 2015, 11:54:26 am
I have a scene set up in vera to turn the lights on when I go downstairs and get a drink of water or something late at night.  It uses my wired motion detector connected to a Vista 20P alarm panel.  A AD2USB is connected to the panel also.  It works great except when I have the alarm set in "Stay" mode.  When its in "Stay" mode it doesn't report anything to the keypads or the AD2USB.  Is there a way to have the Vista 20P report a fault on the motion detector when its armed in "Stay" mode? 

Mike, I use PLEG for this.  It has the option to set INPUTS, CONDITIONS, and ACTIONS.  Together these act like scenes.  I have one setup to activate when 'Motion Detector detects motion whether is armed or disarmed'.  This allows me to use all my Alarms sensors as triggers to control actions whether or not the alarm is actually armed...
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: MikeH on January 28, 2015, 12:11:33 pm
Vandamme23,
I use PLEG also.  Are you sure it works when the system is armed?  What alarm panel do you have?  When my system is armed "stay" it doesn't appear to send
any messages to my keypads or the AD2USB.  It just shows "Armed in Stay" Mode.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: cybrmage on January 28, 2015, 02:08:16 pm
Is there a way to have the Vista 20P report a fault on the motion detector when its armed in "Stay" mode?

No... The Vista panels will not report faults on any partition that is armed. It will only report alarms and troubles for armed partitions (this is a limitation of the panel not of the interface - AD2USB, EVL3, VAM, etc)

A workaround is to place any sensors that are used JUST for monitoring purposes into a partition that is never armed (assuming your panel supports partitions - Vista 20P or higher)...

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: MikeH on January 28, 2015, 02:21:20 pm
Cybrmage,
I have the Vista 20P.  Would that be difficult to setup?  I pretty much have everything setup the way I like it,  except for the motion detector not working when in stay mode.  Would it involve just going into zone programming and switch the partition to "2"? Could the AD2USB be used for 2 partitions?  I would want the motion detectors to arm in "away" mode. 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: cybrmage on January 28, 2015, 02:49:42 pm
Cybrmage,
I have the Vista 20P.  Would that be difficult to setup?  I pretty much have everything setup the way I like it,  except for the motion detector not working when in stay mode.  Would it involve just going into zone programming and switch the partition to "2"? Could the AD2USB be used for 2 partitions?  I would want the motion detectors to arm in "away" mode.

It's not difficult... BUT you can not get a sensor report in an armed partition...  in any armed mode...

so either place the sensor in your unused partition 2 and have it monitor only, or place it in the used partition 1 and only monitor it when the partition is disarmed...

The only way to get what you want is with two motion sensor (rather expensive is you are using wireless)... You stated that you are using a wired motion sensor... If you have an unused zone then you can jumper the motion sensor input from the existing zone terminal to the unused zone terminal... This will cause the motion sensor to fault both zones when tripped... The original zone is in partition 1 and will trip the alarm when the partition is armed... The (formerly) unused zone you will program to partition 2, and it will fault even when partition 1 is armed (as long as you don't arm partition 2).
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: MikeH on January 28, 2015, 03:15:33 pm
Cybrmage,
Thanks for the information.  Not sure what I'm going to do.  I do have 2 wired zones available.  Would the AD2USB be able to listen to both partitions at the same time?
Would I be able to leave my two 6160 keypads set on partition 1? 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: cybrmage on January 28, 2015, 03:38:22 pm
Cybrmage,
Thanks for the information.  Not sure what I'm going to do.  I do have 2 wired zones available.  Would the AD2USB be able to listen to both partitions at the same time?
Would I be able to leave my two 6160 keypads set on partition 1?

The AD2USB should be able to listen to all available partition simultaneously (The EVL3 does), as it listens to keypad messages from the panel and the plugin does support multiple partitions...

Yes, you will be able to leave your existing panels set as they are.... It is actually better to leave them, as you will not be able to accidentally arm the "monitor" partition that way.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: MikeH on January 29, 2015, 04:47:56 pm
I think I might just switch the motion detector over to partition 2 in zone programming.  That way when I arm partition 1 in "stay" mode I should be able use the motion detector to trigger scenes I've created in vera(Vista 20P doesn't use the motion detector in "stay" mode anyways).  And when I leave my home I would arm both zones in "away" mode(No ones home so no need to trigger scenes).  A couple of questions though for anybody that knows the answer.  Would I have to go into the AD2USB plugin and change the number of partition settings under the advance tab to 2 or since the zone already existed before the plugin would still recognize it? Also, is there a way to arm both zones in "away" mode with a function key?  I don't plan on having a dedicated Keypad for partition 2.  Thanks for any help.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on January 29, 2015, 05:19:05 pm
There is a way to make the AD2USB see a sensor trip when the panel is armed. I have not done it myself but if you go back 30 or 40 pages there is some talk about enabling the virtual relay feature of the AD2USB.  I'm on my phone so it's not so easy to find.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: MikeH on January 30, 2015, 10:15:57 am
Thanks SteveZ, I found it.  Not sure what I'm going to do though.  I think just changing my motion detectors over to partition 2 would be easier than
making all the changes to the settings on the alarm panel and the AD2USB.  I feel I could easily mess something up making all those changes. 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on January 30, 2015, 11:55:11 am
Yeah that's one of the reasons I never did it. I got a wireless motion sensor and just use that because that will report when the panel is armed, and it doesn't even need to be enrolled into the panel if you don't want it to be, just enter in the serial and loop numbers into the cheat sheet and it will work.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: roquej on January 30, 2015, 12:06:03 pm
You can have motion sensors that trigger when the Vista panel is armed.  It requires you to configure relays, which although not difficult it does require some work.  Everything you need is in this thread.  I have 7 Honeywell sensors ( 3 outdoor and 4 indoor) configured as zone type 23 (no alarm response - don't call the monitoring center) in my Vista 20p panel and everything works great.  I use PLEG to control motion-lights with all the sensors plus a simple perimeter alarm with the outdoor sensors. As mentioned before, the alarm sensors are much more reliable than the z-wave models.

JP
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: ctreischman on February 01, 2015, 04:17:17 pm
Not sure that i am using the most efficient method, but...I am using the authomation plugin to arm/disarm my system.  My issue is with stay mode.  The selection for stay actually says "iStay" and does nothing when selected.  Is this misspelled on purpose?  Would it also be misspelled in the actual command?  "Stay Instant" and "Night Instant" work fine, but they do not have an entry delay timer.  Thanks.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: Stefam on February 15, 2015, 11:44:38 am
Hi All,
Still trying to trigger an event when I open the door and the alarm is armed. Setting up relayes and following all the various threads fixed 90%.
The issue is (I Think): When opening the front door while armed, the AD2USB does NOT throw the relay message - it simply shows ""DISARM SYSTEM   or alarm occurs ""

So I can't trigger on my front door while armed because entry delay isn't caught by the plugin and no virtual relay is tripped? Am I correct and, if so, is there anything I can do? I have no free zones in my box to jumper to like was just suggested above.

Here's the raw data from the AD2USB as seen by Vera:
Code: [Select]
Open and Close Front Door
--
[1000000110000000----],008,[f700000f1008001c28020000000000]," DISARMED CHIME   Ready to Arm  "
!REL:12,01,01
[0000030110000000----],001,[f700000f1001030028020000000000],"FAULT 01                        "
!REL:12,01,00
[1000000110000000----],008,[f700000f1008001c28020000000000]," DISARMED CHIME   Ready to Arm  "
--

Open and Close Front Door while ARMED
--
[0010000110000000----],008,[f700000f1008008c28020000000000],"ARMED ***STAY***                "
=== This is where I opened my door ===
[0011050110000000----],008,[f700000f1008058c28020000000000],"DISARM SYSTEM   or alarm occurs "
[0011050110000000----],008,[f700000f1008058c28020000000000],"DISARM SYSTEM   or alarm occurs "
=== This is where I disarm the alarm ===
[0001010110000000----],008,[f700000f1008010c28020000000000]," DISARMED CHIME Hit * for faults"
!REL:12,01,00
--
Thanks,
Mike
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on February 16, 2015, 11:38:19 am
As an FYI I updated to firmware 1.7.961 and the serial proxy is still broken.  The workaround I posted earlier still works but the update blows away the changes so they have to be re-applied after the update:
http://forum.micasaverde.com/index.php/topic,7266.msg209964.html#msg209964
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: ykamenet on February 18, 2015, 09:32:40 pm
You do not need new firmware for your AD2USB, you almost never need new firmware for AD2USB - at this point we're only adding support for new panels and matching featuresets with ademco.  Other than some things I'm hesitant to talk about just yet and are a long time from now to come, you won't need to update your firmware.  2.2a.6 is stable and "feature complete"
Relay support for SE panels is relatively new.   Most of you with newer panels won't need an update to get that working.

Quite true, I forgot we added that in the newest betas.
Could someone please confirm that Virtual Relay support is added for 20SE (ADT Safewatch Pro 2000) in the latest beta 2.2a.8? I updated my AD2USB to this beta firmware, went into config and enabled virtual relays (set "Y" for all four) but when I go to programm *79 I get "Not Used EE" displayed. Do I need to do anything else to enable them in AD2USB or are they not supported on 20SE? Thanks
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinnutech on February 20, 2015, 04:42:05 pm
Virtual relays for SE panels were added in that beta, yes - you will need to program your alarm accordingly.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: ykamenet on February 22, 2015, 02:19:51 pm
Virtual relays for SE panels were added in that beta, yes - you will need to program your alarm accordingly.
Thanks for the confirmation. The menus on 20SE are apparently very different from 20P so that was why *79 was not working. If someone has panel programming experience, I would really appreciate some help on adding a virtual relay for one motion sensor. Since the menus are different from what is outlined for 20P in nutech thread, I am a bit lost with 20SE *80 and *81 options. I tried to follow the manual but it is not clear to me. Could really use some help from someone with more experience.

My *80 and *81 menus looks like in the attachment. My motion detector that I want to add virtual relay for is Zone#5 and I have only one partition.

Link to full programming manual for 20SE is here (http://www.diyalarmforum.com/Downloads/Ademco/install-manuals/vista20se-install.pdf). Any assistance/hints would be really appreciated. Thanks.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: ykamenet on February 23, 2015, 03:13:17 pm
Progress! I think I was able to figure it out and I am now getting messages in my log when alarm is armed to stay and the motion sensor is tripped. When it is tripped, I get this message:

!REL: 01,01,01

and when it is untripped I get this in the log:

!REL: 01,01,00

So I think it is setting the relay correctly. To add this virtual sensor to Vera plugin what do I enter in the cheat sheet? Is the first "01" serial and the second "01" loop value?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: ykamenet on February 25, 2015, 10:38:27 am
Nobody can help? Seems that I am getting close and see the relay log entries so the panel can see the relay state correctly and logs !REL messages; but I can't add that virtual sensor to vera plugin since I don't know what zone number to use (it can't be 1). Any help is appreciated. I would really hate to buy 20P just to get the relays working...
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on February 25, 2015, 10:29:41 pm
ykamenet, I have no idea because I don't use the virtual relays in my setup but check post 590 on page 40. it may help you
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: ykamenet on February 25, 2015, 11:25:21 pm
ykamenet, I have no idea because I don't use the virtual relays in my setup but check post 590 on page 40. it may help you
Thanks Steve. I have read that post as well as pretty much this whole thread. Seems like a lot of support for 20P panel and not much for SE panels which are more limited. I decided to upgrade the panel and ordered a 20P with a new 6062 keypad. Should arrive this week so I will have a task of reconnecting and re-configuring my whole security system. After I do that (hopefully successfully) I will be able to configure the relays following the existing guides. Thanks.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: ykamenet on March 04, 2015, 11:20:31 pm
Well, just to close out my struggle - my brand new 20p panel arrived a couple of days ago. I replaced my old 20se, rewired it the same way, programmed all zones, configured AD2USB, configured virtual relays and all works smooth like butter. I did not even add real zones to Vera, just the virtual relays I configured since they trip regardless of alarm state. Now will probably be buying additional sensors for the alarm since I think they are more reliable (and probably cheaper) then z-wave ones.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: xuniman on April 28, 2015, 06:11:15 pm
Can anyone help with the "Can't Detect Device" issue I and reffr (post #883) seem to be having. I have loaded the plugin and done the configuration, including the serial port, but I only get the message I quoted above in a red bar at the bottom of the Alarm Panel Device. I am running the latest version of UI7 (1.7.569).
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on April 28, 2015, 09:05:53 pm
Can anyone help with the "Can't Detect Device" issue I and reffr (post #883) seem to be having. I have loaded the plugin and done the configuration, including the serial port, but I only get the message I quoted above in a red bar at the bottom of the Alarm Panel Device. I am running the latest version of UI7 (1.7.569).

Did you try reading back a few pages and use the instructions in my post not fix the issue?

http://forum.micasaverde.com/index.php/topic,7266.msg209964.html#msg209964
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: xuniman on April 29, 2015, 06:22:10 pm
I did try that and didn't see any change. The system worked but I kept getting the error.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on April 29, 2015, 06:25:27 pm
What firmware rev?

Is this a new install?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: xuniman on April 29, 2015, 07:34:05 pm
I've got the latest firmware for the AD2USB and I'm also running the latest Vera3 firmware 7.1.569.

It's not a new install, I've had it for over a year, but I just upgraded my Vera3 to UI7. I'm in a mood to play with the Vera right now so I have done the upgrade and tried getting everything back to fully functional. So far this little bug and an issue with a few of my Zwave devices changing identifiers for Homewave were my worst issues. I'm also trying to get the AD2USB to work through a RaspberryPi I had laying around to see how that works. Currently it doesn't work but I replied to the network thread with a log snippet to see if I can help mcv.andrei get that working also.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on April 29, 2015, 09:10:59 pm
I've got the latest firmware for the AD2USB and I'm also running the latest Vera3 firmware 7.1.569.

It's not a new install, I've had it for over a year, but I just upgraded my Vera3 to UI7. I'm in a mood to play with the Vera right now so I have done the upgrade and tried getting everything back to fully functional. So far this little bug and an issue with a few of my Zwave devices changing identifiers for Homewave were my worst issues. I'm also trying to get the AD2USB to work through a RaspberryPi I had laying around to see how that works. Currently it doesn't work but I replied to the network thread with a log snippet to see if I can help mcv.andrei get that working also.

I'm not familiar with your approach with the RPi, but I have three of them, so I'm interested in hearing what you're your doing. 

What I'm trying to eliminate is a problem with wiring and the ad2usb itself.  If it works with something else as-is (RPi or minicom or...), then it does leave us with the Vera.

The only difference between your setup and mine is that I have a Vera Edge and you have the Vera 3.  Hopefully that isn't the source of the problem.

Edit: I found the thread about the RPi setup.  ser2net should have known that would be how it is used.  I was thinking more along the lines of a custom image for an touchscreen LCD cape/hat/thingie.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinnutech on April 30, 2015, 12:41:10 am
I've got the latest firmware for the AD2USB and I'm also running the latest Vera3 firmware 7.1.569.

It's not a new install, I've had it for over a year, but I just upgraded my Vera3 to UI7. I'm in a mood to play with the Vera right now so I have done the upgrade and tried getting everything back to fully functional. So far this little bug and an issue with a few of my Zwave devices changing identifiers for Homewave were my worst issues. I'm also trying to get the AD2USB to work through a RaspberryPi I had laying around to see how that works. Currently it doesn't work but I replied to the network thread with a log snippet to see if I can help mcv.andrei get that working also.

I'm not familiar with your approach with the RPi, but I have three of them, so I'm interested in hearing what you're your doing. 

What I'm trying to eliminate is a problem with wiring and the ad2usb itself.  If it works with something else as-is (RPi or minicom or...), then it does leave us with the Vera.

The only difference between your setup and mine is that I have a Vera Edge and you have the Vera 3.  Hopefully that isn't the source of the problem.

Edit: I found the thread about the RPi setup.  ser2net should have known that would be how it is used.  I was thinking more along the lines of a custom image for an touchscreen LCD cape/hat/thingie.

He is using alarmdecoder webapp and ser2sock to share his ad2 on his network, and the vera is then able to connect to the ser2sock instance as the "serial port device" required for the ad2usb plugin.   This means ad2pi and ad2serial could also be used.  As well as multiple devices (not just the vera) are able to use the device at the same time.  Endless fun could be had from many different angles.   Plus the webapp has a pretty robust keypad.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: xuniman on April 30, 2015, 11:21:06 am
Exactly Kevin. I was looking to be able to see the AD2USB log without having to SSH into the Vera and shut down the LUUP engine. I have recently set up the virtual relays and added some wireless sensors that aren't enrolled in the panel (they are just for Vera triggers). During testing it was a pain to see the AD2 logs directly. Since I was one of the people who tried this method last year when Nutech first released the webapp I thought I'd give it a try now. It seems that some combination of UI7 and the plugin lua file have issues currently that make this unusable. I'm going to keep trying to help in the other thread if mcv.andrie returns.
Title: RFX! Errors
Post by: dlemmink on June 04, 2015, 10:49:30 am
I keep getting false triggers with my AD2USB interface. I get a tripped response in Vera sometimes even when the door sensor on my alarm is closed.
Looking at the logs:
Normally I get an RFX! (id),a0 to indicate open and RFX! (id),80 when the door is closed.
The false triggers have been trace to a RFX! (id), 84.  It appears that response is undefined, but triggers a tripped in Vera.
Is there a way to make the plugin ignore those messages?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kand on June 14, 2015, 09:31:36 pm
ok, I've beat my brain and exhausted my search capabilities to try to get this thing working and am coming up empty.       Vera Edge, on latest firmware (1.7.1181)     I just added a new AD2USB.
I connected to the AD2USB and set the address to 31  (Vista20se), and confirm it is talking to the panel.

Installed the plugin for the AD2USB (ver 3.12) and go two devices created.   One is the panel, one is partition 1
I then went into the Partition 1 device and set the keyboard address variable to 31.
My dashboard shows the panel device with error "Can't detect device"
the partition 1 device appears without errors but if I try to change the alarm status, I get error "Device communication failure"
The UI also shows "Vista Alarm Panel: Connection down" at the top.

I found some much older posts regarding configuring the serial port, but I get to that screen and it says
"if you connected the USB/serial device and it's not displayed here, reload Luup", and it's not listed there, and reloading Luup doesn't change anything.

I've deleted devices multiple times and started over, power reset the AD2USB and the Vera as well.

I see others have this working with the Vista 20se so I know there is hope !!!     Any suggestions are appreciated.

Thanks
Title: Re: RFX! Errors
Post by: kevinnutech on June 15, 2015, 11:05:02 pm
I keep getting false triggers with my AD2USB interface. I get a tripped response in Vera sometimes even when the door sensor on my alarm is closed.
Looking at the logs:
Normally I get an RFX! (id),a0 to indicate open and RFX! (id),80 when the door is closed.
The false triggers have been trace to a RFX! (id), 84.  It appears that response is undefined, but triggers a tripped in Vera.
Is there a way to make the plugin ignore those messages?

Protocol documentation states that if bit 1 is set in the RFX Message then the loop indicators should be ignored.  Vera needs to update plugin to address this.  http://www.alarmdecoder.com/wiki/index.php/Protocol#RFX
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinnutech on June 15, 2015, 11:08:27 pm
ok, I've beat my brain and exhausted my search capabilities to try to get this thing working and am coming up empty.       Vera Edge, on latest firmware (1.7.1181)     I just added a new AD2USB.
I connected to the AD2USB and set the address to 31  (Vista20se), and confirm it is talking to the panel.

Installed the plugin for the AD2USB (ver 3.12) and go two devices created.   One is the panel, one is partition 1
I then went into the Partition 1 device and set the keyboard address variable to 31.
My dashboard shows the panel device with error "Can't detect device"
the partition 1 device appears without errors but if I try to change the alarm status, I get error "Device communication failure"
The UI also shows "Vista Alarm Panel: Connection down" at the top.

I found some much older posts regarding configuring the serial port, but I get to that screen and it says
"if you connected the USB/serial device and it's not displayed here, reload Luup", and it's not listed there, and reloading Luup doesn't change anything.

I've deleted devices multiple times and started over, power reset the AD2USB and the Vera as well.

I see others have this working with the Vista 20se so I know there is hope !!!     Any suggestions are appreciated.

Thanks

Contact Vera about a software update that will update the USB drivers on your Vera Edge - this will allow the Edge to detect the AD2USB correctly, and you can then go to the serial port configuration screen properly.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kand on June 16, 2015, 08:52:52 am
Thank You!      I will be contacting them today.

contacted Vera support,  5 rings... answer, they connected remotely and updated the drivers.    when I checked, still no USB device showing, so one more call and they took care of it.
I now have control over the alarm, and off to experiment with zones and other features.

thanks again
Title: Re: RFX! Errors
Post by: hugheaves on June 16, 2015, 09:43:45 am
I keep getting false triggers with my AD2USB interface. I get a tripped response in Vera sometimes even when the door sensor on my alarm is closed.
Looking at the logs:
Normally I get an RFX! (id),a0 to indicate open and RFX! (id),80 when the door is closed.
The false triggers have been trace to a RFX! (id), 84.  It appears that response is undefined, but triggers a tripped in Vera.
Is there a way to make the plugin ignore those messages?

Protocol documentation states that if bit 1 is set in the RFX Message then the loop indicators should be ignored.  Vera needs to update plugin to address this.  http://www.alarmdecoder.com/wiki/index.php/Protocol#RFX

To be fair, the old documentation (on which the plug-in was based) didn't mention that messages with bit 1 set should be ignored, merely that its function was "UNKNOWN at this time". Nonetheless, somebody needs to fix the plug-in. As I wrote the RFX / REL / EXP portion of the plug-in, I'd be happy to fix it, but I don't know if Vera would rather do it as they've made some further changes since I submitted mine.

(Original doc here:)
http://archive.nutech.com/index.php?option=com_fireboard&Itemid=0&func=view&catid=4&id=5

bit Meaning
============
1 UNKNOWN at this time
2 battery
3 supervision
4 UNKNOWN at this time
5 loop 3
6 loop 2
7 loop 4
8 loop 1

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: andreimios on June 16, 2015, 10:03:16 am
Hi hugheaves,

I updated the plugin and tried to include the fix you did for "overnetwork" so users will have the both versions on the same plugin. I did it because we got some requests for this and I didn't know if you want to do it yourself, you didn't response to my PM. It would be batter if you want to make the changes, I don't have the alarm panel in order to test.
So if you still want to maintain the plugin, there is no problem from our side.

All the Bests,

- Andrei -
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: hugheaves on June 16, 2015, 10:50:24 am
Hi hugheaves,

I updated the plugin and tried to include the fix you did for "overnetwork" so users will have the both versions on the same plugin. I did it because we got some requests for this and I didn't know if you want to do it yourself, you didn't response to my PM. It would be batter if you want to make the changes, I don't have the alarm panel in order to test.
So if you still want to maintain the plugin, there is no problem from our side.

All the Bests,

- Andrei -

Sorry for not responding to your PM. I just now looked, and realized I'd missed it!

I can take a more active roll in maintaining this plug-in if you like. A couple of quick questions though:

What is the license for the existing source code? Is it GPLv2, V3, or something else? (MiOS proprietary?)

Where are we on UI7 support for this plug-in? I haven't worked with UI7 yet, so I'd need to get 'up to speed' to maintain a UI7 version as well. I wasn't sure if the current version was even intended to support UI7.

Hugh
Title: Re: RFX! Errors
Post by: hugheaves on June 16, 2015, 03:22:07 pm
I keep getting false triggers with my AD2USB interface. I get a tripped response in Vera sometimes even when the door sensor on my alarm is closed.
Looking at the logs:
Normally I get an RFX! (id),a0 to indicate open and RFX! (id),80 when the door is closed.
The false triggers have been trace to a RFX! (id), 84.  It appears that response is undefined, but triggers a tripped in Vera.
Is there a way to make the plugin ignore those messages?

I keep getting false triggers with my AD2USB interface. I get a tripped response in Vera sometimes even when the door sensor on my alarm is closed.
Looking at the logs:
Normally I get an RFX! (id),a0 to indicate open and RFX! (id),80 when the door is closed.
The false triggers have been trace to a RFX! (id), 84.  It appears that response is undefined, but triggers a tripped in Vera.
Is there a way to make the plugin ignore those messages?

Protocol documentation states that if bit 1 is set in the RFX Message then the loop indicators should be ignored.  Vera needs to update plugin to address this.  http://www.alarmdecoder.com/wiki/index.php/Protocol#RFX

Actually, unless I'm getting the bit order incorrect, bit 1 (aka the least significant bit) is clear on both of these messages.
    bit: 8765 4321
0xa0 -> 1010 0000
0x84 -> 1000 0100


It looks like the 0x84 message has the supervisory bit set, and for these types of messages I still use the loop status bits to update the state of all the loops in case a prior transmission was lost. In this particular case, it looks like the door sensor is using loop 2, and the 0x84 message is just reaffirming that the door is in fact closed.

@dlemmink,

I'm not sure what's going on here, but a section of the logs after the 0x84 message is received would be helpful to diagnose the issue.

Hugh


Title: Re: RFX! Errors
Post by: kevinnutech on June 16, 2015, 09:42:20 pm
I keep getting false triggers with my AD2USB interface. I get a tripped response in Vera sometimes even when the door sensor on my alarm is closed.
Looking at the logs:
Normally I get an RFX! (id),a0 to indicate open and RFX! (id),80 when the door is closed.
The false triggers have been trace to a RFX! (id), 84.  It appears that response is undefined, but triggers a tripped in Vera.
Is there a way to make the plugin ignore those messages?

I keep getting false triggers with my AD2USB interface. I get a tripped response in Vera sometimes even when the door sensor on my alarm is closed.
Looking at the logs:
Normally I get an RFX! (id),a0 to indicate open and RFX! (id),80 when the door is closed.
The false triggers have been trace to a RFX! (id), 84.  It appears that response is undefined, but triggers a tripped in Vera.
Is there a way to make the plugin ignore those messages?

Protocol documentation states that if bit 1 is set in the RFX Message then the loop indicators should be ignored.  Vera needs to update plugin to address this.  http://www.alarmdecoder.com/wiki/index.php/Protocol#RFX

Actually, unless I'm getting the bit order incorrect, bit 1 (aka the least significant bit) is clear on both of these messages.
    bit: 8765 4321
0xa0 -> 1010 0000
0x84 -> 1000 0100


It looks like the 0x84 message has the supervisory bit set, and for these types of messages I still use the loop status bits to update the state of all the loops in case a prior transmission was lost. In this particular case, it looks like the door sensor is using loop 2, and the 0x84 message is just reaffirming that the door is in fact closed.

@dlemmink,

I'm not sure what's going on here, but a section of the logs after the 0x84 message is received would be helpful to diagnose the issue.

Hugh

You are correct and that is correct behavior - in a rush I used MSB instead of LSB, my bad.  Regardless it is a good time to bring up the known protocol change.  As far as anything on archive.nutech.com - that is for historical purposes and years out of date - alarmdecoder.com is the official place for anything ad2 related.   A new firmware is in the works and there will be protocol additions as well as proper DSC panel support for the device.  Documentation will be updated in the wiki on alarmdecoder.com :)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: andreimios on June 17, 2015, 05:05:14 am
Hi Hugh,

I don't know exactly the full story for the plugin, but i can tell you the short version : initially it was developed by MiOS but after that was maintained by community. It is an open source project and as long as you use our repository( you are already listed as contributor on both code and apps) there is no problem if you maintain/improve the plugin.
Regarding the UI7 support for plugins, you shouldn't worry about, there are minor changes that needs to be done to migrate a plugin and I can assist you with this. We can discuss more via Skype/email/PM.

Best Regards,

- Andrei -
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kand on June 17, 2015, 01:11:33 pm
I am trying to set up the zones in the cheat sheet, but unsure of the two fields for Address and Loop/channel are required or from where get them.     
It is for a Vista 20se panel and I do have the original configuration sheet with zone information some of which are wired and a few wireless.
Is just a zone number required, or do I need the other fields?   
It lets me enter all the zones but I do not get any additional devices created in Vera
(Vera edge, latest firmware)     
---UPDATE--   seems I stumbled on the correct way.     I went back to the alarm panel device and changed the "automatically configure" parameter from "yes" to "Default" and when I saved that, the devices entered in the cheat sheet all got created. 
Title: Re: RFX! Errors
Post by: dlemmink on June 20, 2015, 06:40:54 pm
I keep getting false triggers with my AD2USB interface. I get a tripped response in Vera sometimes even when the door sensor on my alarm is closed.
Looking at the logs:
Normally I get an RFX! (id),a0 to indicate open and RFX! (id),80 when the door is closed.
The false triggers have been trace to a RFX! (id), 84.  It appears that response is undefined, but triggers a tripped in Vera.
Is there a way to make the plugin ignore those messages?

I keep getting false triggers with my AD2USB interface. I get a tripped response in Vera sometimes even when the door sensor on my alarm is closed.
Looking at the logs:
Normally I get an RFX! (id),a0 to indicate open and RFX! (id),80 when the door is closed.
The false triggers have been trace to a RFX! (id), 84.  It appears that response is undefined, but triggers a tripped in Vera.
Is there a way to make the plugin ignore those messages?

Protocol documentation states that if bit 1 is set in the RFX Message then the loop indicators should be ignored.  Vera needs to update plugin to address this.  http://www.alarmdecoder.com/wiki/index.php/Protocol#RFX

Actually, unless I'm getting the bit order incorrect, bit 1 (aka the least significant bit) is clear on both of these messages.
    bit: 8765 4321
0xa0 -> 1010 0000
0x84 -> 1000 0100


It looks like the 0x84 message has the supervisory bit set, and for these types of messages I still use the loop status bits to update the state of all the loops in case a prior transmission was lost. In this particular case, it looks like the door sensor is using loop 2, and the 0x84 message is just reaffirming that the door is in fact closed.

@dlemmink,

I'm not sure what's going on here, but a section of the logs after the 0x84 message is received would be helpful to diagnose the issue.

Hugh


Logs from the particular event.   It seems to be a supervisory function but triggers a tripped status.  Event occurs about every hour with my system on each of the sensors.

50   06/20/15 18:20:57.886   luup_log:415: (VistaAlarmPanel::processIncoming) Incoming data = '!RFX:0941315,84'. <0x312f8680>
50   06/20/15 18:20:57.887   luup_log:415: (VistaAlarmPanel::processExMessage) Decoded RFX message: serial = 0941315, loop[1] = true, loop[2] = false, loop[3] = false, loop[4] = false, flags.unknown2 = false, flags.unknown1 = false, flags.battery = false, flags.supervision = true <0x312f8680>
50   06/20/15 18:20:57.888   luup_log:415: (VistaAlarmPanel::updateZoneByAddress) Looking for zone, address = 0941315, channel = 1 <0x312f8680>
50   06/20/15 18:20:57.888   luup_log:415: (VistaAlarmPanel::updateZoneByAddress) Found zone 12, setting faulted to true <0x312f8680>
06   06/20/15 18:20:57.889   Device_Variable::m_szValue_set device: 419 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: LastTrip was: 1434834606 now: 1434838857 #hooks: 0 upnp: 0 skip: 0 v:0xe0bdb0/NONE duplicate:0 <0x312f8680>
06   06/20/15 18:20:57.890   Device_Variable::m_szValue_set device: 419 service: urn:micasaverde-com:serviceId:SecuritySensor1 variable: Tripped was: 0 now: 1 #hooks: 4 upnp: 0 skip: 0 v:0xe3bbd0/NONE duplicate:0 <0x312f8680>
07   06/20/15 18:20:57.891   Event::Evaluate 49  scene Alarm - Back Door Opened is true users: allow:1 <0x312f8680>
08   06/20/15 18:20:57.891   Scene::RunScene running 111 Alarm - Back Door Opened <0x312f8680>
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: adamjs83 on June 26, 2015, 09:27:55 pm
Can anyone tell me if there is a known method to get the ad2usb recognized by a Vera Edge running ui7?  I have one set up and connected to my panel and the edge is not recognizing that there is a serial port.  I tried searching but I can't find anything definitive on this subject.
Thanks
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kand on June 26, 2015, 10:02:33 pm
yes,  I had the same issue.....    about 10 posts prior.

Contact Vera support.   they need to update the USB drivers for you.

Call them... they will have you enable remote support and do it in a few minutes
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: copekyle on July 03, 2015, 11:16:36 pm
So this plug in locked up on me in the worst moment ever.  We just left on vacation and my vera is showing connection down.  I was using the plug in fine but then I armed my system from the physical panel when I left my home today and now my dashboard shows the connection is down and the status of the alarm panel is "exitdelay"... can anyone help me troubleshoot this problem asap?

Edit: (vacation over)  Came home and found my Vista20P powered completely off.  Went to work troubleshooting.  It seems that my 12V terminals were overloaded, I unplugged one of my panels and the system came back up.  It showed an alarm state pointing to one of my windows.  As luck would have it (not), one of my magnets fell off while I was gone.  It seems that the system triggered the siren and then didn't have enough power to operate and completely shut down.  Lesson learned.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on July 07, 2015, 06:03:00 pm
The devices section of the UI 7 interface indicates my plugin 2.45. Under My Apps it indicates the current version is 3.12. I have auto updates on and it doesn't update to that version.

I noted this commit by Hugh in SVN:
http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/changeset?reponame=&new=83%40trunk%2FL_VistaAlarmPanel1.lua&old=82%40trunk%2FL_VistaAlarmPanel1.lua

Which includes an update for the VERSION var from 2.45 to 3.89. Then I looked at the diff between r77 and r83 and didn't see any other version changes:
http://code.mios.com/trac/mios_vista-alarm-panel-ad2usb/changeset?old_path=%2Ftrunk&old=77&new_path=%2Ftrunk&new=83

So questions:
1. Where is the UI under My Apps getting the 3.12 from? Is that not tied to the VERSION variable in the code, i.e., it is specific to Apps not the code itself?

2. Am I correct in assuming that that is inaccurate, and the released version would still indicate 2.45 until this update to v3.89 is released? If it is inaccurate, where is the 3.12 coming from and should it be filed as a bug to support?

EDIT: looking at another thread it appears other people are on 3.0+/ I guess another question would be, why am I stuck on 2.45 even if I have auto update checked? Back on UI 5 I manually updating to a beta version via SSH but I'd prefer to avoid that and fix it properly.

TIA
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: cybrmage on July 07, 2015, 06:37:12 pm
Edit: (vacation over)  Came home and found my Vista20P powered completely off.  Went to work troubleshooting.  It seems that my 12V terminals were overloaded, I unplugged one of my panels and the system came back up.  It showed an alarm state pointing to one of my windows.  As luck would have it (not), one of my magnets fell off while I was gone.  It seems that the system triggered the siren and then didn't have enough power to operate and completely shut down.  Lesson learned.

The joys of power-limited aux power terminals... At least it didn't fry your panel...

The aux power terminals are limited to 600ma... If you are using them to power all your keypads/AUIs, you can easily overload them... and, as you discovered, bad things happen...

Ideally, you should only be powering zone devices (a single PIR uses 10-30ma), zone expanders (4219 uses 30ma) and a single keypad (a 6160 150ma, 6160RF uses 180ma, don't try to power a TuxWifi as it uses 310ma)...
Additional keypads (such as the TuxWifi) and other non essential devices should be powered from a supplementary power supply (with the ground terminals interconnected)... My preferred choice is a 12VDC 5AH power supply designed for access control use... It provides up to 5000ma and can have it's own backup battery connected..

Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: copekyle on July 07, 2015, 07:02:48 pm
Ideally, you should only be powering zone devices (a single PIR uses 10-30ma), zone expanders (4219 uses 30ma) and a single keypad (a 6160 150ma, 6160RF uses 180ma, don't try to power a TuxWifi as it uses 310ma)...
Additional keypads (such as the TuxWifi) and other non essential devices should be powered from a supplementary power supply (with the ground terminals interconnected)... My preferred choice is a 12VDC 5AH power supply designed for access control use... It provides up to 5000ma and can have it's own backup battery connected..

Ya... I've installed over 500 vista 15p's but I've never done a system as advanced as what I have in my home.  I have 1 6150RF, 2 6160's, 2 6270's, and 6 motion detectors.  I'd never worried about power requirements on the standard 2 panel, 2 motion system.  I'm guessing I was just lucky up to this point.  I've unplugged the 2 6270's until I can get a stand alone power supply.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinnutech on July 07, 2015, 10:11:01 pm
Just to comment on the power usage - the AD2USB only uses 30ma itself, so it is pretty safe to use in conjunction with most add-ons, but yes the bus can become easily overloaded if you have too many keypads for instance.

In your case, I would keep the RF keypad for the radio, and ditch one or two of the other ones if convenient.  Since the Vera makes things so easy to arm/disarm maybe some of the keypads have become redundant.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: xuniman on July 08, 2015, 06:18:50 pm
My plugin stopped working. It was working OK over the network when andrei_mcv did the changes to the plugin for network awareness but I mistakenly left autoupdate enabled so when andrei reverted the plugin I lost my ability to use the system. Is the new plugin in beta? Can I get a copy of the kua files that enable networking? I'd be happy to help with testing. The ad2usb is working fine from the RPi with the Alarm Decoder software web interface.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinnutech on August 05, 2015, 05:07:54 pm
There is an issue with this plugin when the panel goes into ready, it should clear all faulted zones so that you do not have to wait for a timeout. This will help alleviate zone restores based on the TTL parameter (which is a hack).  Ready realy means that ALL ZONES ARE GOOD, so they should all be restored in the UI when the status is "Ready".
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: BulldogLowell on August 10, 2015, 07:05:15 am
There is an issue with this plugin when the panel goes into ready, it should clear all faulted zones so that you do not have to wait for a timeout. This will help alleviate zone restores based on the TTL parameter (which is a hack).  Ready realy means that ALL ZONES ARE GOOD, so they should all be restored in the UI when the status is "Ready".

Kevin, I've seen this since my recent upgrade to UI7... but cannot find anything on the forums to get this resolved:

"can't detect device"

but I can toggle the alarm state on either of two partitions?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinnutech on August 14, 2015, 05:59:03 pm
Got me, must be a bug in the UI or the plugin - not the developer so I can't say one way or the other.  If you have specific AD2 questions, I can answer them no problem.  Plugin issues you'll have to direct toward Vera as I am doing as well.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: rstrouse on August 14, 2015, 06:13:43 pm
Go to the variables tab for the device and set CommFailure and CommFailureTime to 0 and see if it comes back.  I've had these variables not set before and experienced the issue on that device.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: BulldogLowell on August 16, 2015, 01:20:12 pm
Well, I couldn't get it fixed... I contacted Vera and they took care of it.

Thanks Vera Team!
Title: Can't Detect Device / Failed to open IO Port
Post by: terminus on August 27, 2015, 12:55:32 am
I'm using version 2.45 of the Ademco Vista Alarm Panel plugin with an AlarmDecoder ad2usb and Veralite UI7.  I've configured it using minicom and a Linux computer to have the correct device address for my alarm panel (31, it's an FA148C which is mostly the same as a Vista 15P). I receive messages from my alarm panel when I use minicom.

But when transferring the USB device to my Veralite, it is not detected.  I made the changes described earlier in this thread to add the correct USB device numbers to the USB serial driver.  And I also replaced the Start_serproxy.sh file with the script at forum.micasaverde.com/index.php/topic,7266.msg209964.html#msg209964.

In the serial port configuration in the Web interface, the ttyUSB0 device shows up.  It had 9600 baud which was wrong, and was not assigned to a device, so I assigned it to "Ademco Vista Alarm Panel" (also tried assigning it to "Ademco Vista Partition 1") and changed the baud rate to 115200.  When I run "ps aux" on the Vera I can see the serproxy and ser2net processes running:

Code: [Select]
12294 root       900 S    /usr/bin/serproxy 127.0.0.1 127.0.0.1 35038308 /dev/ttyUSB0
12328 root      1676 S    /bin/sh -c ser2net -n  -C "3482:raw:0:/dev/ttyUSB0:115200 1STOPBIT NONE"
12329 root       800 S    ser2net -n -C 3482 raw 0 /dev/ttyUSB0 115200 1STOPBIT

However the Vera Web interface shows "Ademco Vista Alarm Panel[7] : Failed to open IO Port" at the top in a blue bar and "Can't Detect Device" in a red one below the device itself.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: dlemmink on August 29, 2015, 10:37:30 pm
I've notice recently that my VERA edge running u17 v 1.7.1320 recently created 12 motion sensors for my AD2USB alarm interface.
It has my device id_parent pointing at my Ademco panel.

All of my devices are wireless for this panel.  Are these just ghost devices that are now being created to support the hardwired zones?
Which zones do they represent? (VERA named them _Motion Sensor to _Motion Sensor 11)
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: wellVersed on September 05, 2015, 09:29:18 am
Well, I couldn't get it fixed... I contacted Vera and they took care of it.

Thanks Vera Team!

BulldogLowell - do you know who you worked with at Vera?  The tech I've been emailing isn't getting me anywhere...
Title: Re: Can't Detect Device / Failed to open IO Port
Post by: sound-mind on September 14, 2015, 09:28:14 pm
I'm using version 2.45 of the Ademco Vista Alarm Panel plugin with an AlarmDecoder ad2usb and Veralite UI7.  I've configured it using minicom and a Linux computer to have the correct device address for my alarm panel (31, it's an FA148C which is mostly the same as a Vista 15P). I receive messages from my alarm panel when I use minicom.

But when transferring the USB device to my Veralite, it is not detected.  I made the changes described earlier in this thread to add the correct USB device numbers to the USB serial driver.  And I also replaced the Start_serproxy.sh file with the script at forum.micasaverde.com/index.php/topic,7266.msg209964.html#msg209964.

In the serial port configuration in the Web interface, the ttyUSB0 device shows up.  It had 9600 baud which was wrong, and was not assigned to a device, so I assigned it to "Ademco Vista Alarm Panel" (also tried assigning it to "Ademco Vista Partition 1") and changed the baud rate to 115200.  When I run "ps aux" on the Vera I can see the serproxy and ser2net processes running:

Code: [Select]
12294 root       900 S    /usr/bin/serproxy 127.0.0.1 127.0.0.1 35038308 /dev/ttyUSB0
12328 root      1676 S    /bin/sh -c ser2net -n  -C "3482:raw:0:/dev/ttyUSB0:115200 1STOPBIT NONE"
12329 root       800 S    ser2net -n -C 3482 raw 0 /dev/ttyUSB0 115200 1STOPBIT

However the Vera Web interface shows "Ademco Vista Alarm Panel[7] : Failed to open IO Port" at the top in a blue bar and "Can't Detect Device" in a red one below the device itself.

My posted script should not be needed. As of 1.7.1419 I no longer have to make or reapply my script modifications. This was the first release I encountered that actually fixed the issue for me.

Associating it with the panel, not the partition, is correct. Baud rate is also correct. Unfortunately this means I can't provide much help. To be sure, the keypad address 31 is not in use by anything else?

Re: version 2.45, I contacted support as that version was old, not sure why Dashboard/Devices said that. They told me to ignore that version and rely on the one in the Apps interface. Based on changes in the plugin, I believe they are correct.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: sound-mind on September 14, 2015, 09:32:43 pm
Upgraded to 1.7.1419 plugin v3.12. Now I'm getting notifications from every door/entry sensor each time it is triggered, although I've never configured any notifications for those sensors. Anybody else experiencing this?
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: stibbzy on September 16, 2015, 01:52:35 am
Hi all,

I've looked everywhere for an answer to this question but am coming up blank. Is it possible to trigger the alarm/siren (Ademco 10SE) with sensors other than those connected to the panel? For example, I have Fibaro magnetic door sensors, and I would love to be able to have the alarm go off if one of these is faulted. I thought of maybe creating a scene so that, when the Fibaro faulted, the scene pressed a lettered key (A,B,C,D) for the panic mode - setting off the alarm. Unfortunately, these buttons don't appear as selectable options on the partition when I'm creating a scene.

Can anyone help?

Cheers,
Stibbzy.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: SteveZ on September 16, 2015, 01:27:20 pm
You should have the option for letter key press in the advanced tab when creating a new scene. I'm on UI5 but I assume UI7 is the same
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: johnes on September 17, 2015, 11:30:26 am
Upgraded to 1.7.1419 plugin v3.12. Now I'm getting notifications from every door/entry sensor each time it is triggered, although I've never configured any notifications for those sensors. Anybody else experiencing this?
Same here...
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: jvarone on September 27, 2015, 10:40:20 am
Does anyone have documentation to connect the AD2USB to Vera running UI7?

Thanks,

John
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: MikeH on October 09, 2015, 05:23:19 pm
Need help with partitions in Vera.  I moved a zone to partition 2 so that I could check its status when armed in my Vista 20p.  In Vera I entered 2 partitions in the  "Ademco Vista Alarm Panel" app. I also added keypad addresses to the Vista Partition.  The zone is showing green when its supposed to be tripped.  Could someone give me
a hand trying to figure this out.  Any help would be greatly appreciated
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: wsyaeger on October 10, 2015, 01:45:03 am
I just ordered an AD2USB from amazon and should have in a couple of days. In the meantime, i'm trying to get up to speed with all the information in this topic- it looks pretty daunting at the moment.

In any event, I'm trying to get prepared and at least have all of the necessary equipment to start hooking things up when the AD2USB arrives. I understand a mini USB cable is needed to connect the module to the Vera and I believe some 4 conductor alarm wire is needed to connect the module to the panel. Is there no alarm wire included with the module? If not, does anyone recommend when to get some inexpensively? I only need 20 ft max. Or is there an alternation that can be used- like telephone wire?

Also, I'm going to be using this with a Vera Light, which has one USB port. Does anyone know if I can attach a hub to the single port so I can connect the AD2USB and a flash drive for logging to it?

Thank you in advance for any thoughts and help.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: kevinnutech on October 11, 2015, 03:30:02 pm
I just ordered an AD2USB from amazon and should have in a couple of days. In the meantime, i'm trying to get up to speed with all the information in this topic- it looks pretty daunting at the moment.

In any event, I'm trying to get prepared and at least have all of the necessary equipment to start hooking things up when the AD2USB arrives. I understand a mini USB cable is needed to connect the module to the Vera and I believe some 4 conductor alarm wire is needed to connect the module to the panel. Is there no alarm wire included with the module? If not, does anyone recommend when to get some inexpensively? I only need 20 ft max. Or is there an alternation that can be used- like telephone wire?

Also, I'm going to be using this with a Vera Light, which has one USB port. Does anyone know if I can attach a hub to the single port so I can connect the AD2USB and a flash drive for logging to it?

Thank you in advance for any thoughts and help.

The AD2USB does not come with any of the required wires.  It requires a mini USB cable and ANY 4 conductor wire will work.  Telephone wire, specialty alarm wire (we sell this on the official ad2usb store site), ethernet pairs, etc.

Unsure about the hub, never tried - I'm sure you could configure logging to a syslog server or something if needed.
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: wsyaeger on October 12, 2015, 12:27:32 am


The AD2USB does not come with any of the required wires.  It requires a mini USB cable and ANY 4 conductor wire will work.  Telephone wire, specialty alarm wire (we sell this on the official ad2usb store site), ethernet pairs, etc.

Unsure about the hub, never tried - I'm sure you could configure logging to a syslog server or something if needed.

Thanks for your response and information.  I'll try to get by with phone cords laying around that would otherwise go untouched.  I appreciate the help.  I have a feeling I'll be back for more soon. 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: MikeH on November 03, 2015, 02:37:02 pm
Has anyone actually got it working where an entry door fault, with the system armed, will show up in Vera using the AD2USB (with Virtual relays) and a Vista 20P?  I have it working with a wired motion detector and it works great.  When I try it with an entry door it works when the system is unarmed, although the fault clears after a few seconds even though the door is still open.  But it doesn't work at all when the system is armed.  I have a 2 partition system if that matters.  Any help would be appreciated. 
Title: Re: Honeywell Ademco Vista Alarm Panels Plugin via AD2USB
Post by: ykamenet on November 20, 2015, 07:30:36 pm
Has anyone actually got it working where an entry door fault, with the system armed, will show up in Vera using the AD2USB (with Virtual relays) and a Vista 20P?  I have it working with a wired motion detector and it works great.  When I try it with an entry door it works when the system is unarmed, although the fault clears after a few seconds even though the door is still open.  But it doesn't work at all when the system is armed.  I have a 2 partition system if that matters.  Any help would be appreciated.
Same thing here. I have hardwired door/windows sensors and hardwired motion detector. I