The Vera Community forums have moved!

Advanced => Plugins & Plugin Development => Programming => AD2USB Plugin for the Honeywell/Ademco Vista Alarm Panels => Topic started by: wmichael3 on May 15, 2015, 12:26:27 pm

Title: 3.82 update broke my connection to Vera
Post by: wmichael3 on May 15, 2015, 12:26:27 pm
I woke up this morning to find communication errors between my AD2USB and the Veralite; it had been working perfectly since installed several months ago.  There was a Lua startup error and everything I touched kicked out a "Communication Failure" popup.  I spent the last few hours troubleshooting - I hooked the AD2USB to a PC and ran the NuTech alarm pad software and it worked perfectly.  Serial port settings on the Vera appeared to be correct.  I logged into the Vera console and could see the traffic from the AD2USB coming in via a cat command to the USB port - I was stumped.  Finally I spotted that the plugin appeared to have been upgraded from 3.12 to 3.82 with today's (May 15, 2015) date.  I downgraded the plugin back to 3.12 (unchecked the auto-update box) and everything started working again.  A cautionary tale.
Title: Re: 3.82 update broke my connection to Vera
Post by: pentium on May 15, 2015, 12:34:32 pm
Thank you for that!  I checked and i am on 3.0 and had the update unchecked.  I believe i will just let everything stay as is for a while. 
Title: Re: 3.82 update broke my connection to Vera
Post by: Almatoy on May 16, 2015, 10:30:57 am
Thanks!  I've been running down the same path this morning trying to figure this problem out and ran across your post.  Bingo! 

Next question, if they fix this error, and put out a new update, how will we ever know? :-\
Title: Re: 3.82 update broke my connection to Vera
Post by: packetmouse on May 17, 2015, 02:42:29 pm
Mine is also broken-- happened at some unknown time between the latest Firmware update (v.1.7.583) and and automatic app update.  Attempted to downgrade the app by unchecking the box, no luck.

Mine says "Missing Port" and "Cannot Detect Device".  Works fine connected to PC.  Serial setup seems to be configured same as it was before, so I'm kinda stumped but suspect it's the firmware.

I've opened a support request to try to get my unit returned to the previous firmware rev, but meh.  dangit.
Title: Re: 3.82 update broke my connection to Vera
Post by: andreimios on May 21, 2015, 04:31:36 am
Hi all,

Take a look here : http://forum.micasaverde.com/index.php/topic,26672.0.html

The last update includes this new feature. I found a potential cause of this issue but I need someone to test it. Please upload the L_VistaAlarmPanel1.lua file on your unit (Apps/Develop Apps/Luup files) and reload the engine.
If this doesn't fix the issues you can downgrade the plugin to version 3.12 with the following request in your browser :
Quote
GATEWAY_IP:3480/data_request?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=CreatePlugin&PluginNum=968&Version=26030
Don't forget to uncheck auto-upgrade.

Please let me know if it worked so I can make the fix public.

Best Regards,

- Andrei -
Title: Re: 3.82 update broke my connection to Vera
Post by: ykamenet on May 21, 2015, 12:22:40 pm
I tried the lua file and it did not fix the issue for me (Vera not getting alarm status). But downgrading the version did the trick. However, even when I un-check "Auto Update" and go back to that page, it is checked again for some reason... so I am worried that it will auto update again by itself.

If there are any logs I can provide to help troubleshoot this issue, please let me know and I'll be happy to help if I can.

Thanks
Title: Re: 3.82 update broke my connection to Vera
Post by: helraiser on May 22, 2015, 01:29:11 am
I'm still at 3.0 for this plugin. What features/fixes do the new versions bring? Thx
Title: Re: 3.82 update broke my connection to Vera
Post by: andreimios on May 22, 2015, 04:42:05 am
Hi all,

I will remove 3.82 version form the appstore until we fix the issues in this version. If your plugin is not updated to 3.12 in the next 24 hours, please use the following url do downgrade the plugin

Quote
GATEWAY_IP:3480/data_request?id=action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=CreatePlugin&PluginNum=968&Version=26030

@ykamenet : If you want to let me access your unit I will contact you in the beginning of the next week to see when is ok to do the tests.

All the Bests,

- Andrei -