Cynical Honey: A Honeywell/Ademco alarm system interface

Posted on
Sat Sep 21, 2013 11:59 pm
berkinet offline
User avatar
Posts: 3290
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Re: Cynical Honey: A Honeywell/Ademco alarm system interface

hamw wrote:
...when I run a terminal check the keyspan device does not appear:


macmini:~ WilliamsEC$ ls -l /dev/cu.usbserial-*
crw-rw-rw- 1 root wheel 18, 19 Sep 21 17:46 /dev/cu.usbserial-03VGC6FK9
crw-rw-rw- 1 root wheel 18, 21 Sep 21 17:46 /dev/cu.usbserial-A1018WW310
crw-rw-rw- 1 root wheel 18, 7 Sep 21 17:46 /dev/cu.usbserial-A600exMb
macmini:~ WilliamsEC$


Try changing the command to ls -l /dev/cu*

I get
$ ls -l /dev/cu*
crw-rw-rw- 1 root wheel 18, 11 Sep 19 14:22 /dev/cu.Bluetooth-Modem
crw-rw-rw- 1 root wheel 18, 13 Sep 19 14:22 /dev/cu.Bluetooth-PDA-Sync
crw-rw-rw- 1 root wheel 18, 7 Sep 19 14:22 /dev/cu.Bluetooth-Serial-1
crw-rw-rw- 1 root wheel 18, 9 Sep 19 14:22 /dev/cu.Bluetooth-Serial-2
crw-rw-rw- 1 root wheel 18, 3 Sep 22 04:00 /dev/cu.KeySerial1
crw-rw-rw- 1 root wheel 18, 1 Sep 22 07:57 /dev/cu.SLAB_USBtoUART
crw-rw-rw- 1 root wheel 18, 5 Sep 19 14:22 /dev/cu.USA19H143P1.1

Posted on
Sun Sep 22, 2013 6:08 pm
hamw offline
Posts: 1212
Joined: Mar 31, 2008

Re: Cynical Honey: A Honeywell/Ademco alarm system interface

Thanks, Berkinet, that worked.

I enabled the plugin and got the following:


Starting plugin "Cynical Honey 1.0.2" (pid 91798)
Cynical Honey API version 1.11
Started plugin "Cynical Honey 1.0.2"
Cynical Honey mapping device "Cynical Honey" 751773251(system)
Cynical Honey Cynical Honey starting
Cynical Honey Cynical Honey connecting to serial port /dev/cu.USA19H64P1.1
Cynical Honey Cynical Honey is now exploring
Cynical Honey Cynical Honey enabling idle probes
Cynical Honey plugin starting asyn operation

about 10 minutes later:

Cynical Honey Error Cynical Honey unavailable: no response from device
Cynical Honey Cynical Honey connecting to serial port /dev/cu.USA19H64P1.1

Same as Elwood.

Posted on
Mon Sep 23, 2013 12:16 am
Perry The Cynic offline
Posts: 836
Joined: Apr 07, 2008

Re: Cynical Honey: A Honeywell/Ademco alarm system interface

Cynical Honey Error Cynical Honey unavailable: no response from device
Cynical Honey Cynical Honey connecting to serial port /dev/cu.USA19H64P1.1

The plugin has the (dubious) habit of waiting forever for an answer from the device (until, if you have keep-alive turned on, it finally raises the alarm after 10 minutes). In other words, the plugin isn't seeing any data from the device.

What type of panel (and what serial interface) are you using? Are you using the latest version of the plugin (with the speed setting), and do you have it set right?

Cheers
-- perry

Posted on
Mon Sep 23, 2013 4:56 am
hamw offline
Posts: 1212
Joined: Mar 31, 2008

Re: Cynical Honey: A Honeywell/Ademco alarm system interface

It is a 128 FBP. I am using the 4100 SMinterface with an ethernet cable attached to a key span USB to serial adapter. The plug-in version was downloaded last night from the link posted above,1.02 (?) so it is current.

Thanks for your interest in this, Perry.

Posted on
Mon Sep 23, 2013 9:48 pm
Perry The Cynic offline
Posts: 836
Joined: Apr 07, 2008

Re: Cynical Honey: A Honeywell/Ademco alarm system interface

It is a 128 FBP. I am using the 4100 SMinterface with an ethernet cable attached to a key span USB to serial adapter. The plug-in version was downloaded last night from the link posted above,1.02 (?) so it is current.

I just verified that the serial mode of my plugin works (at 9600bps) with my own panel. So serial ports aren't completely broken. :-)

I don't have the 4100SM, so I don't know what idiosyncrasies it might have. I know that the instructions for configuring the panel for a 4100SM seem different from those for configuring it for the built-in (turbo) port; and I know it took my panel installer three tries to get mine right. And me two hours to get the serial cable right. :-(

If you want to cut out the plugin and test the serial line directly, grab some serial terminal program (I use CoolTerm), point it at your serial adapter, and then trigger events on your panel (open a door or window, move in front of a motion sensor, etc.) You should see input as the panel reports the events (it'll look like gibberish, something like 1BnqF5011000135202309130084). If you get nothing, your panel's misconfigured or your serial connection is mis-wired. If you get gibberish involving weird characters (anything but letters and digits), you've got the wrong serial configuration.

Cheers
-- perry

Posted on
Tue Sep 24, 2013 9:26 pm
ELWOOD offline
Posts: 225
Joined: Feb 11, 2007
Location: Ramsey, NJ

Re: Cynical Honey: A Honeywell/Ademco alarm system interface

Hi Perry

Did a little more playing with your plugin, still not working but it now is talking to the alarm panel.

I have a vista 128bp with the 4100SM

I found some new settings for the 128 here is my set up:

system event notify *05 = 1
RS232 input enable *14 = 1
event log types 1*70 = 1 1 1 1 1
Printer baud rate 1200 1*73 = 0
extended home cont enable 1*78 = 1
home control events 1*79 = 1 1 1 1 1

( 1*78 extended home control enable; 0= limited home control control command set 32 commands;
1= extended home control control command set 255 commands)

Now when i start the plugin with device vista 128 I get the same log as before


Sep 24, 2013 10:20:57 PM
Reloading plugin "Cynical Honey 1.0.2"
Stopping plugin "Cynical Honey 1.0.2" (pid 241)
Cynical Honey shutdown sensed
Cynical Honey vista 128 stopping
Stopped plugin "Cynical Honey 1.0.2"
Starting plugin "Cynical Honey 1.0.2" (pid 261)
Cynical Honey API version 1.11
Started plugin "Cynical Honey 1.0.2"
Cynical Honey mapping device "vista 128" 506430825(system)
Cynical Honey vista 128 starting
Cynical Honey vista 128 connecting to serial port /dev/cu.usbserial
Cynical Honey vista 128 is now exploring
Cynical Honey vista 128 enabling idle probes
Cynical Honey plugin starting asyn operation

and after 10 minutes I get the same error:

Sep 24, 2013 10:31:21 PM
Cynical Honey Error vista 128 unavailable: no response from device
Cynical Honey vista 128 connecting to serial port /dev/cu.usbserial



However now when I arm and dis arm the panel and fault zones the plugin shows the following in the log.


Sep 24, 2013 10:31:42 PM this first set is arm..disarm.....arm.....disarm
Cynical Honey unrecognized event <Ctx:invalid>
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey unrecognized event <Ctx:invalid> P



Sep 24, 2013 10:32:36 PM the following are fault .... clear's
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey unrecognized event <Ctx:invalid> P

Sep 24, 2013 10:33:24 PM
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey unrecognized event <Ctx:invalid> P

Sep 24, 2013 10:34:14 PM
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey unrecognized event <Ctx:invalid> P

Sep 24, 2013 10:35:14 PM
Cynical Honey unrecognized event <Ctx:invalid> P

Sep 24, 2013 10:35:53 PM
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey unrecognized event <Ctx:invalid> P


So it seems to talking to the panel.


Hope this helps.

Elwood

Posted on
Tue Sep 24, 2013 9:34 pm
hamw offline
Posts: 1212
Joined: Mar 31, 2008

Re: Cynical Honey: A Honeywell/Ademco alarm system interface

Elwood, what is your serial pinout? I just hooked up 2-9 in the DB9 to Ethernet adapters for both ends, assuming that would be the same as hooking up a straight serial cable.

Posted on
Wed Sep 25, 2013 8:38 am
ELWOOD offline
Posts: 225
Joined: Feb 11, 2007
Location: Ramsey, NJ

Re: Cynical Honey: A Honeywell/Ademco alarm system interface

Hi hamw
So far I have only been trying to get the plugin to work using my laptop at the alarm panel so I only have the short serial cable
that comes with the 4100sm. If I get it to work I will need to extend the serial cable about 70 feet to connect to the mac mini
that runs the house. Don't know if it should be a straight connect cable or if it should be a crossover cable.
Also I think you said you have the vista 128FBP panel? The hookup for that panel to the 4100 is different from the 128BP and
the drawing that Perry included with the set up for his plug in.
Here is a link to Honeywells PDF on the hookup for the 4100sm. Down near the bottom is the wire hookup for the 128FBP for
home control.

http://www.agm.com.co/files/products/136/I-4100SM.pdf

Elwood

Posted on
Wed Sep 25, 2013 10:48 am
Perry The Cynic offline
Posts: 836
Joined: Apr 07, 2008

Re: Cynical Honey: A Honeywell/Ademco alarm system interface

Sep 24, 2013 10:31:42 PM this first set is arm..disarm.....arm.....disarm
Cynical Honey unrecognized event <Ctx:invalid>
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey unrecognized event <Ctx:invalid> P

Great. So it looks like you're talking to the panel. (Beware that you can have half-working wiring - receive without send or vice versa. Ask me how I know. :-))

Open up the plugin configuration and enter this into the Debug modules text field: ademco.system. This will log the actual messages sent and received. Tell me what it says, and we'll see what's going on.

Cheers
-- perry

Posted on
Wed Sep 25, 2013 4:36 pm
ELWOOD offline
Posts: 225
Joined: Feb 11, 2007
Location: Ramsey, NJ

Re: Cynical Honey: A Honeywell/Ademco alarm system interface

Perry
Here is the log:



Sep 25, 2013 5:55:17 PM
Reloading plugin "Cynical Honey 1.0.2"
Stopping plugin "Cynical Honey 1.0.2" (pid 218)
Cynical Honey shutdown sensed
Cynical Honey vista 128 stopping
Stopped plugin "Cynical Honey 1.0.2"
Starting plugin "Cynical Honey 1.0.2" (pid 234)
Cynical Honey API version 1.11
Cynical Honey debugging module: ademco.system
Started plugin "Cynical Honey 1.0.2"
Cynical Honey mapping device "vista 128" 506430825(system)
Cynical Honey vista 128 starting
Cynical Honey vista 128 connecting to serial port /dev/cu.usbserial
Cynical Honey vista 128 is now exploring
Cynical Honey -> 08..00DC
Cynical Honey vista 128 enabling idle probes
Cynical Honey plugin starting asyn operation

Sep 25, 2013 6:05:42 PM
Cynical Honey Error vista 128 unavailable: no response from device
Cynical Honey vista 128 connecting to serial port /dev/cu.usbserial

###### First round is arm away---disarm---arm stay---disarm

Sep 25, 2013 6:06:03 PM
Cynical Honey <- <Ctx:line>
Cynical Honey unrecognized event <Ctx:invalid>
Cynical Honey <- <Ctx:line> 1Bnq27000000103182509130094
Cynical Honey <- <Ctx:line> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey <- <Ctx:line> 1Bnq08000000103182509130095
Cynical Honey <- <Ctx:line> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey <- <Ctx:line> 1BnqB7000000103182509130084
Cynical Honey <- <Ctx:line> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey <- <Ctx:line> 1Bnq08000000104182509130094

#######Remainder are different zones fault and clear

Sep 25, 2013 6:06:59 PM
Cynical Honey <- <Ctx:line> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey <- <Ctx:line> 1BnqF5045000104182509130078
Cynical Honey <- <Ctx:line> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey <- <Ctx:line> 1BnqF502000010418250913007F
Cynical Honey <- <Ctx:line> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey <- <Ctx:line> 1BnqF602000010418250913007E
Cynical Honey <- <Ctx:line> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey <- <Ctx:line> 1BnqF6045000104182509130077
Cynical Honey <- <Ctx:line> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey <- <Ctx:line> 1BnqF500600010418250913007B
Cynical Honey <- <Ctx:line> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey <- <Ctx:line> 1BnqF502300010518250913007B
Cynical Honey <- <Ctx:line> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey <- <Ctx:line> 1BnqF6006000105182509130079
Cynical Honey <- <Ctx:line> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey <- <Ctx:line> 1BnqF602300010518250913007A
Cynical Honey <- <Ctx:line> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey <- <Ctx:line> 1BnqF500600010518250913007A
Cynical Honey <- <Ctx:line> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey <- <Ctx:line> 1BnqF6006000105182509130079
Cynical Honey <- <Ctx:line> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey <- <Ctx:line> 1BnqF500600010518250913007A
Cynical Honey <- <Ctx:line> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey <- <Ctx:line> 1BnqF5044000105182509130078
Cynical Honey <- <Ctx:line> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey <- <Ctx:line> 1BnqF6006000105182509130079

Sep 25, 2013 6:07:58 PM
Cynical Honey <- <Ctx:line> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey <- <Ctx:line> 1BnqF500600010518250913007A
Cynical Honey <- <Ctx:line> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey <- <Ctx:line> 1BnqF6044000105182509130077
Cynical Honey <- <Ctx:line> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey <- <Ctx:line> 1BnqF6006000105182509130079
Cynical Honey <- <Ctx:line> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey <- <Ctx:line> 1BnqF500600010518250913007A
Cynical Honey <- <Ctx:line> P
Cynical Honey unrecognized event <Ctx:invalid> P
Cynical Honey <- <Ctx:line> 1BnqF6006000105182509130079

Elwood

Posted on
Wed Sep 25, 2013 6:33 pm
Perry The Cynic offline
Posts: 836
Joined: Apr 07, 2008

Re: Cynical Honey: A Honeywell/Ademco alarm system interface

Elwood,

The 1Bnq... messages look good (they're zones-changing-status updates). You've got the right serial parameters, it seems; and you have no problem receiving messages from the panel.

The plugin also reports incoming lines consisting of single "P" characters. Those are not to spec and I have no idea where they come from. (You're using a "dumb" USB-to-serial adapter, right; not a network interface?) I can easily tell the plugin to ignore those if it comes to that.

Your bigger problem is that the panel isn't responding to queries sent to it (which is why discovery doesn't complete, until we time out after ten minutes). Check your wiring (wiggle the plugs - seriously); specifically, the TX pin (at the computer end; it's the RX pin at the panel end, naturally). It may also be worth while resetting the panel, just in case.

Cheers
-- perry

Posted on
Sat Sep 28, 2013 2:08 pm
ELWOOD offline
Posts: 225
Joined: Feb 11, 2007
Location: Ramsey, NJ

Re: Cynical Honey: A Honeywell/Ademco alarm system interface

Perry
Update on your plugin, I checked all connection, also tried a different serial cable and the serial to USB mod, still only receiving data.
Checked Honeywells troubleshooting the 4100sm, states idle voltage on ter 23 (128 rec) should be 4 volts which is what i have. When
i restart the plugin I get a quick jump in voltage. Looks like the plugin is sending data.
Got a copy of CoolTerm. Running it shows the same type of data in its log as with the plugin log when I arm/disarm and fault zones.
Copied the text when the panel is disarmed and pasted it into the send window. When I hit send I get the jump in voltage on ter 23.
The panel did not disarm.

Let me know what the next step is.

Elwood

Posted on
Tue Oct 08, 2013 6:31 pm
Perry The Cynic offline
Posts: 836
Joined: Apr 07, 2008

Re: Cynical Honey: A Honeywell/Ademco alarm system interface

Let me know what the next step is.

I'm not sure what to tell you. By using CoolTerm (it displayed the output, "P" lines and all, right?), you've pretty much ruled out the plugin as a problem source for now. After rechecking the wiring (be sure wiggle the wires - seriously), the next suspects would be either misconfiguration at the panel (that's a black art), and possibly a defective interface module.

Cheers
-- perry

Posted on
Tue Oct 29, 2013 8:18 pm
jltnol offline
Posts: 989
Joined: Oct 15, 2013

Cynical Honey: A Honeywell/Ademco alarm system interface

So Here's my story.

I have a Vista 15P system. Very simple. I've managed to get it connected to the AD2USB device, and to get the device to communicate successfully thru Indigo with the AD2USB plugin. But the plug doesn't seem to do some things that I'd like it to do(or maybe I just don't understand how to do them)...

Which brings me to your plugin.

I disabled the former plugin, enabled yours, setup the path to the serial device, but all it does is get stuck on "exploring"

I know the AD2USB is set to 115200 baud, but not sure what serial speed to use with the Cynic plug. Does this conflict make it incompatible? I'm assuming since I'm getting thru the previous steps to the exploring mode that I'm actually connected to the alarm panel, but communications aren't being properly established...

Any suggestions?

Posted on
Wed Oct 30, 2013 1:52 am
berkinet offline
User avatar
Posts: 3290
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Re: Cynical Honey: A Honeywell/Ademco alarm system interface

jltnol wrote:
...I have a Vista 15P system. Very simple. I've managed to get it connected to the AD2USB device, and to get the device to communicate successfully thru Indigo with the AD2USB plugin. But the plug doesn't seem to do some things that I'd like it to do (or maybe I just don't understand how to do them)...

...I know the AD2USB is set to 115200 baud, but not sure what serial speed to use with the Cynic plug. Does this conflict make it incompatible? I'm assuming since I'm getting thru the previous steps to the exploring mode that I'm actually connected to the alarm panel, but communications aren't being properly established...

Could you post to the ad2usb plugin thread noting the things do you want to do with the ad2usb (and the associated plugin) that you have not been able to do.

You may have missed this note from Perry in the first post in this thread: Cynical Honey uses the serial interface on a Honeywell (aka Ademco) security system to connect it to Indigo. The Vista15P does not contain an onboard, or optional add-on, serial interface and for that reason, cannot be used with the Cynical Honey plugin. That is why the ad2usb interface was developed. Note that the communications protocols for the Honeywell serial interface and the ad2usb are not only completely different but also reflect a different point of attachment to the panel (look through this thread for more information).

Who is online

Users browsing this forum: No registered users and 3 guests