Page 3 of 3

Re: AD2USB & Vista 21P Questions

PostPosted: Thu Dec 22, 2011 3:45 pm
by berkinet
I have posted a version with some extra debugging on dropbox. Please post the error messages.

Re: AD2USB & Vista 21P Questions

PostPosted: Thu Dec 22, 2011 4:28 pm
by ethanw
Still no workie but better error :-)

Trigger Alarm Arm Away
AD2USB Alarm Interface Debug Entering write control function
AD2USB Alarm Interface Debug Control received: description : write to panel
deviceId : 0
pluginId : com.berkinet.ad2usb
pluginTypeId : writeToPanel
props : com.berkinet.ad2usb : (dict)
panelMessage : 11234 (string)
AD2USB Alarm Interface Debug Control found mesg: 11234
AD2USB Alarm Interface Debug Entering write function with write mesg: 11234
AD2USB Alarm Interface Debug Unable to write panel message: 11234. Check that your ad2usb is connected.
AD2USB Alarm Interface Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 317, in panelMsgWrite
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/ad2usb-rev.indigoPlugin/Contents/Server Plugin/ad2usb.py", line 37, in panelMsgWrite
<type 'exceptions.TypeError'>: not all arguments converted during string formatting


AD2USB Alarm Interface Debug Read msg: !AUI:0e020000000054fefeec01010101

Re: AD2USB & Vista 21P Questions

PostPosted: Thu Dec 22, 2011 4:34 pm
by berkinet
DOH! :roll: that was an error in the debugging code itself. I fixed that and updated the copy on dropbox. You will probably have to manually place this in Indigo's plugin folder and then restart the plugin -- Indigo will not let you install a version that is already installed.

Re: AD2USB & Vista 21P Questions

PostPosted: Thu Dec 22, 2011 4:46 pm
by ethanw
So I get this:

Trigger Alarm Arm Away
AD2USB Alarm Interface Debug Entering write control function
AD2USB Alarm Interface Debug Control received: description : write to panel
deviceId : 0
pluginId : com.berkinet.ad2usb
pluginTypeId : writeToPanel
props : com.berkinet.ad2usb : (dict)
panelMessage : 11234 (string)
AD2USB Alarm Interface Debug Control found mesg: 11234
AD2USB Alarm Interface Debug Entering write function with write mesg: 11234
AD2USB Alarm Interface Debug Unable to write panel message: 11234. Check that your ad2usb is connected.
AD2USB Alarm Interface Error The error message was: 'str' object has no attribute 'write', <type 'exceptions.AttributeError'>
AD2USB Alarm Interface Debug Read msg: !AUI:0e020000000051fefeec01010101

AD2USB Alarm Interface Debug panelReadMsg Quit
AD2USB Alarm Interface Debug Read msg: [1000000100000000----],008,[f702001f1008001c08020000000000],"****DISARMED**** Ready to Arm "

Re: AD2USB & Vista 21P Questions

PostPosted: Thu Dec 22, 2011 4:56 pm
by berkinet
@ethanw

Thanks... I found the problem. It is a bug in the plugin write routine that crep in a couple of releases ago. I'll get an official v0.9.18 out.

Re: AD2USB & Vista 21P Questions

PostPosted: Thu Dec 22, 2011 5:02 pm
by ethanw
Thanks for the all help :-) I am excited to get to work :-)

berkinet wrote:
@ethanw

Thanks... I found the problem. It is a bug in the plugin write routine that crep in a couple of releases ago. I'll get an official v0.9.18 out.

Re: AD2USB & Vista 21P Questions

PostPosted: Thu Dec 22, 2011 5:14 pm
by berkinet
v0.8.18 is now on [url=v 0.9.18 Dec 22, 2011
added extended debugging in panel write method
fixed bug in connection sharing]dropbox[/url]. This version fixes a serious bug in the panel write method that crept in in 0.9.16.

Re: AD2USB & Vista 21P Questions

PostPosted: Thu Dec 22, 2011 5:53 pm
by ethanw
IS ALIVE IS ALIVE :-) It works mate. Thanks a bunch again for taking your own time and help the community. Merry Christmas to you Berkinet and everybody else

Re: AD2USB & Vista 21P Questions

PostPosted: Wed Jul 04, 2012 12:46 pm
by fr2034@gmail.com
I installed the ser2sock in the /usr/bin directory. When I try to run it via Applescript or Terminal I get the following message: sh: /usr/bin/ser2sock: Permission denied

Please help

Re: AD2USB & Vista 21P Questions

PostPosted: Wed Jul 04, 2012 5:20 pm
by berkinet
You need to make ser2sock executable. Try...

sudo chmod 755 /usr/bin/ser2sock

Re: AD2USB & Vista 21P Questions

PostPosted: Thu Jul 05, 2012 11:35 am
by fr2034@gmail.com
Worked thanks a lot