DSC Alarm Integration - and Alarms in General

@Vassilis Still trying to get things to work, I am pretty confident all is setup. But no luck yet.

  • Modules stacked in the config you mention
  • Smart Shield added
  • New DeviceType with your code added and smart shield has this device type (the switch, sensor and alarm show up in SmartThings)
  • IT-100 hooked up and green light is flashing at 1/2 second intervals indicating its in communication with the panel
  • Sketch was successfully compiled and uploaded to the Mega. (I inserted my alarm code on the **** as suggested)
  • 0-4 pins were bent on my protoshield and rerouted to TX/RX 1 and 2 on the mega as suggested in instructions
  • SmartThings is communicating with the shield.
  • Each time I press the Arm/Disarm from SmartThings, the TX light fires on my RS232 shield indicating its transmitting.

Nothing is happening though. I had this IT-100 hooked up to my previous home automation system so Im not sure what the problem could be. Whats the best way to go about debugging this?

@jason3fc A few suggestions:

  1. Try enabling debug mode in the Arduino code and connect the Arduino IDE serial terminal (uncomment #define DEBUG_ENABLE)
  2. Make sure you have the right pin code entered
  3. Make sure you have not reversed any TX/RX pins
  4. With debug enabled you will be able to see all traffic in the DSC bus, compare the ARM command sent by the Arduino (starting with 033) to the one sent on the bus when you arm manually from the keypad.
  5. It could also be the you have a different model than mine and it expects different codes (or sequence) for arming. Arm manually (from keypad) and record the sequence of commands. The list of all commands can be found at:

Is the zone open/close detection working?

Hope this helps.

Must be my IT-100 now. I hooked it back up to the PC and have tried to get it to communicate but now it isnt even though I get the light flashing saying its connected to the panel. I guess Ill troubleshoot that and come back to the ardunios when I get the IT-100 working again.

Yeah definitely some sort of IT-100 issue. I got debugging setup on the arduino and I am getting nothing On the Receives in the serial monitor. I checked the pins and all is right, so tomorrow Ill get up in the alarm box and check the wiring going to the IT-100 and see what I can find. Thanks for all the help so far.

"
SmartThings integration with EnvisaLink 3 would be a dream of mine

more info here https://www.eyez-on.com/EZMAIN/envisalink3.php
"

Absolutely, I second that request!

  • JC
1 Like

It would be great and easy to integrate with envisalink as they have API to integrate.

@coolcatiger,

Yes, I believe what I need is available here: http://forum.eyez-on.com/FORUM/viewtopic.php?f=6&t=301&sid=97fed111d91130709a996d59368ef7ec

I would imagine it canā€™t be too difficult, but my problem is that Iā€™ve been out of the development world for quite some time. Iā€™m going to dust off that part of by brain and see what happensā€¦

Since I have a few servers on my network, using those is easier to me. Someone mentioned needing help with AlarmServer. It is python, so as long as you have that installed it should be straight forward. What I canā€™t do and maybe using the shield may help with is securely arming/disarming the alarmā€¦I am ok with communicating out to SmartThings, but donā€™t want to communicate back in to my house over http. Once we have local network communication I can enable arming and disarming without worry of security I hope.

I do have some insteon lights I am turning on and off over http, but that doesnā€™t worry me as much as someone potentially disarming my alarm.

Will the code for the Concord 4 panels be the same as for DSC panels? Iā€™ve got a GE 60-783-02 Superbus 2000 RS-232 and Smartthings Hub on the way :slight_smile:

Dumb question timeā€¦ has anyone tried using the DSC IT-230 (z-wave adapter) to connect to the St?

If I am not wrong DSC IT-230 is used to control other z-wave devices. I donā€™t think you can control DSC system using this.

FYI, Concord 4 Superbus 2000 R-242 Protocol can be found here: http://www.interlogix.com/_/assets/library/Automation%20Module%20Protocol.pdf

Iā€™ll be delving into the hardware and coding once my ST hub arrives. Any help would be much appreciated.

Stupid Noob here.

Iā€™m trying to compile vassilisv code into my Arduino Mega and get this error message:

ā€˜Serial2ā€™ was not declared in this scope

What am I doing wrong? Be aware ā€¦ I know absolutely nothing! This is my first Arduino project.

Iā€™ve started a new project here: http://build.smartthings.com/projects/concord4alarm/

Figured out the Serial2 problem. Absolutely stupid mistake since I had not done anything with Arduino before, I didnā€™t know that I had to pick the Mega board in the IDE.

Iā€™ve got the hardware put together now and both serial connections are working. I need help with repurposing the DSC code for use with the Concord 4.

Iā€™m trying to setup the callback url stuff with AlarmServer but I canā€™t get my devices in the Smartthings IDE to change state ever.
I setup the rest API endpoint tutorial and have the URL endpoints responding properly but not device state changes ever happen.
Seems like sendEvent and createEvent just donā€™t do anything, I have tried using multiple device types also (contacts and motion sensors).
Does anyone have some working code they could share, the code below seems to never do anything at all.

sendEvent(name: $device, value: 'inactive')

For anyone interestedā€¦ I just made a NodeJS NPM package for a node version of the python alarmproxy. You can find it here: https://www.npmjs.org/package/nodealarmproxy

Personally, my next step is going to be to integrate this with a node js server and pull in data from the alarm, smartthings, nest, cameras, and some other stuff and create my own web front-end (will also be on github at some point).

But if anyone wants to contribute or provide feedback for the nodealarmproxy package, just let me know.

Matt

I will try to upload the alarmserver version I have at home tonight. It reliably switches states of doors and motion sensors all the time unless the IP address of the EVL changes, then it basically dies. I have been swapping in and out routers as of late.

I also have a devicetype for arming/disarming the alarm, but without SSL or local LAN someone could disarm your alarm (not good).

Beta support for Smartthings on the AlarmServer project added by me.
Make sure you grab the ā€˜smartthingsā€™ branch on Github per the link below.

Smartthings for AlarmServer (python project):
https://github.com/juggie/AlarmServer/tree/smartthings

There are instructions in the Wiki at:
https://github.com/juggie/AlarmServer/wiki/Smartthings-Integration

There are also some comments in the code for adjusting how the Panel device looks.
Basically itā€™s a single icon you can open up to see all your zones.
The main icon reports the main partition status and has various colors and icon changes to notify you of whats going on along with some simple but descriptive text. I will be adding more features to the main app soon, the first new features will be notifications so you can turn on/off other devices based on zone status events. Second feature will be ability to disarm and possibly arm your system via the Smartthings device/apps.

There is still a lot of work left to do!
Please feel free to contribute changes and suggestions on how to make it better.

Example screen shot of the device/panel in the iOS app is below:
SmartthingsDeviceDSCPanel

Nice looking work. I have a DSC 1832 panel that I have yet to wire in. I wired the entire home during construction 2 years ago. I look forward to one day, using an app like ST to arm, disarm, and view the status of my panel and all items hanging off it as well as getting a push/text message of any alarm state.

Then, how far off could be the possibility to use any switch or item connected to the alarm panel as a Thing to be used to trigger ST events?

@sanity, this is what Iā€™d really like to do vs another attempt Iā€™m working on (I just posted a topic on that). This is awesome, great job on this!

I have a Vista 20p and Iā€™m using an EnvisaLink 3 IP module, which does have an API (see page 2 in this post). Do you foresee something like this becoming available for those with a setup like mine?