AD2USB & Vista 21P Questions

Posted on
Thu Dec 22, 2011 3:45 pm
berkinet offline
User avatar
Posts: 3290
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Re: AD2USB & Vista 21P Questions

I have posted a version with some extra debugging on dropbox. Please post the error messages.

Posted on
Thu Dec 22, 2011 4:28 pm
ethanw offline

Re: AD2USB & Vista 21P Questions

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

Posted on
Thu Dec 22, 2011 4:34 pm
berkinet offline
User avatar
Posts: 3290
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Re: AD2USB & Vista 21P Questions

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.

Posted on
Thu Dec 22, 2011 4:46 pm
ethanw offline

Re: AD2USB & Vista 21P Questions

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 "

Posted on
Thu Dec 22, 2011 4:56 pm
berkinet offline
User avatar
Posts: 3290
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Re: AD2USB & Vista 21P Questions

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

Posted on
Thu Dec 22, 2011 5:02 pm
ethanw offline

Re: AD2USB & Vista 21P Questions

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.

Posted on
Thu Dec 22, 2011 5:14 pm
berkinet offline
User avatar
Posts: 3290
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Re: AD2USB & Vista 21P Questions

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.

Posted on
Thu Dec 22, 2011 5:53 pm
ethanw offline

Re: AD2USB & Vista 21P Questions

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

Posted on
Wed Jul 04, 2012 12:46 pm
fr2034@gmail.com offline
Posts: 4
Joined: Jul 15, 2011

Re: AD2USB & Vista 21P Questions

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

Posted on
Wed Jul 04, 2012 5:20 pm
berkinet offline
User avatar
Posts: 3290
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Re: AD2USB & Vista 21P Questions

You need to make ser2sock executable. Try...

sudo chmod 755 /usr/bin/ser2sock

Posted on
Thu Jul 05, 2012 11:35 am
fr2034@gmail.com offline
Posts: 4
Joined: Jul 15, 2011

Re: AD2USB & Vista 21P Questions

Worked thanks a lot

Who is online

Users browsing this forum: No registered users and 3 guests