ADT Integration

Finally got it working, had to erase the address and then push that, After that I updated the address and now is working great. I now am looking for info on how to monitor the status of the doors with other triggers. Any idea? I want to let me know when the back door is left open for some time (happens at our house all the time).

Check out AlarmThing. With some minor modifications it can be made to do what you want (that’s what I did). Keep in mind that there is a small lag between the zone being triggered by the panel and ST receiving the message. It’s not large, but it does exist. Also keep in mind that when the alarm is on, the sensors do not respond (unless the alarm is triggered). PM me if you have questions.

I just purchased a used Vista 20p system and now would like to get it integrated with ST. I have this 4232CBM card installed in the box, but I’m not sure exactly how it fits in the whole scheme of things. Would it replace the arduino mentioned in this thread?

I don’t have a good “high level” understanding of what each piece of this puzzle does. (I did read the instructions on the Github). Can I integrate using this card or should I just rip it out and install the devices mentioned here?

@japple,

My understanding is that the 4232CBM card creates a serial connection to the Vista panel. You would still have to 1) interpret that stream and 2) convert the steam to a supported wireless protocol. The Arduino with the ThingShield, serves purpose 1) and 2). You could use your 4232CBM card and a Arduino Serial Shield instead of the AD2Pi, however, this would require extensive updates to the code or a rewrite.

My sense is you are better off just purchasing the Arduino, ThingShield and AD2Pi if you are interested in this project.

Cheers

Thank you all for your hard work in getting this integration put together. Its great having visibility to these sensors with Smartthings !

Question for those that have the setup active - have you been able to trigger mode changes when you arm the ADT system in either away or stay mode? I am trying to use the “switch changes mode” smart app but it doesn’t seem to recognize when the ADT system is is armed in either state.

Great thread! Just a couple of quick questions. I purchased an AD2PI Network Bundle (http://www.alarmdecoder.com/catalog/product_info.php/products_id/39). I see a lot of great information on hooking up the AD2PIUSB or AD2PI with the Arudino card, but there isn’t a lot of information using this device by itself. Is it possible? I have it all configured and can access the web gui on the rasperry PI and can control the alarm from my laptop, I’m just stuck on how to get the ST hub to see the Raspberry pi.

Any thoughts? do I need another piece of hardware?

Cheers

Yes, you can, but i used a custom app. I also have modes activate the alarm.

Thanks for the info. Was that app something you created or did you find it online?

Stan thanks for the great info on connecting ADT to Smartthings. I have two of the boards but I am waiting on the AD2PI board to start the install. One question I have is how the range of the zigbee signal is affected by the metal alarm box. How strong is the signal on this setup or do I need to mount it outside the box.

How far are you talking? I have mine in the metal enclosure and it works just fine. Depends on distance from your hub/zigbee mesh.

The hub is 55’-60’ away and a has to go through 4-5 plasterboard walls. I can put a zigbee plug with a repeater about 12 ft and 1 wall away but I wanted to check on the metal box first.

Thanks for the project. I am looking to add this to my system. Would it be possible to wire the Arduino to the aux power on the Vista 20p instead of using a 9V power supply? I am definitely not an electrician and don’t want to risk it if I am way off base.

@rogereef,

Great question. A community member @Francois_Deliege provided the solution:

You can actually get rid of the 9V power supply by redirecting the red and black wire coming from the ADEMCO to the VIN and GROUND of the Arduino. Connect a black wire from terminal 4 on the Vista panel to a GROUND pin on the Arduino. Connect a red wire from terminal 5 on the Vista panel to the VIN pin on the Arduino. You can now eliminate the power supply to the Arduino.

I need to update the README with this suggestion. Its a great idea.

@d8adrvn @Francois_Deliege,

Thanks for the quick response. That is even simpler than i was thinking and is good news as I don’t have convenient access to a wall outlet. Thanks for the help and the great project.

I have been using this setup for over a month without any issue. :smile:

Toubleshooting question. Got everything hooked up but continue to see “!setting ADDRESS XX” on the ST app. I have tried configuring two different addresses both on the Vista 20p and on the AD2Pi. Both times I see the same return. I saw this coming up in an earlier troubleshooting post, but am still not sure what is causing the issue. Any suggestions on where to troubleshoot?

@d8adrvn @Francois_Deliege

After having trouble last night, I realized that I still had to keep the red and black wires from the AD2Pi attached to the Vista (in addition to to additional wires running from the Vista to the VIN and Ground on the Arduino. It is working great now.

I realize that the explanation could use a picture of my wiring. Glad to hear that you got it working.

@d8adrvn

Stan,

Just downloaded your 2.1.1 release. Loaded into Arduino 1.6.7. Added Timer and SmartThings. When I verify, I get the following errors.

Any thoughts?

(Apologies as I just started with this stuff…but I am following your directions on git!)

And while I have your attention, your photos on the website show your jumpers between the Mega and ThingShield going from RX0 to 17 and TX1 to 16, but your source code comments says 2 to 14 and 3 to 15. Which one is correct? (I did bend pins 0 and 1 from the ThingShield as you recommended.)


Arduino: 1.6.7 (Mac OS X), Board: “Arduino/Genuino Uno”

AD2SmartThings_v3_0:56: error: ‘messageCallout’ was not declared in this scope
SmartThings smartthing(HW_SERIAL3, messageCallout); //constructor for hardware serial port with ST_Anything Library
^
/Users/MS/Downloads/AD2SmartThings-2.1.1/Arduino/AD2SmartThings_v3_0/AD2SmartThings_v3_0.ino: In function ‘void setup()’:
AD2SmartThings_v3_0:68: error: ‘Serial1’ was not declared in this scope
Serial1.begin(115200);
^
/Users/MS/Downloads/AD2SmartThings-2.1.1/Arduino/AD2SmartThings_v3_0/AD2SmartThings_v3_0.ino: In function ‘void loop()’:
AD2SmartThings_v3_0:90: error: ‘Serial1’ was not declared in this scope
if(Serial1.available() >0) {
^
/Users/MS/Downloads/AD2SmartThings-2.1.1/Arduino/AD2SmartThings_v3_0/AD2SmartThings_v3_0.ino: In function ‘void messageCallout(String)’:
AD2SmartThings_v3_0:169: error: ‘Serial1’ was not declared in this scope
Serial1.println(cmd); //send AD2Pi the command to pass on to Alarm Panel
^
AD2SmartThings_v3_0:175: error: ‘Serial1’ was not declared in this scope
Serial1.println(“C” + cmd); //send configuration command to AD2Pi
^
AD2SmartThings_v3_0:185: error: ‘Serial1’ was not declared in this scope
Serial1.write(1);
^
AD2SmartThings_v3_0:190: error: ‘Serial1’ was not declared in this scope
Serial1.write(2);
^
AD2SmartThings_v3_0:195: error: ‘Serial1’ was not declared in this scope
Serial1.write(3);
^
exit status 1
’messageCallout’ was not declared in this scope

This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.

You need to add the following above (HW_SERIAL3, messageCallout):

SmartThingsCallout_t messageCallout; // call out function forward declaration

It will compile without errors after that.