AD2SmartThings

OK, I decided to just ignore all the errors. It took six seconds to see the error messages after uploading began, so I gambled that the sketch had been uploaded notwithstanding the errors. Also, the errors spoke to verification, so maybe they don’t matter.

I then updated the DTH and SmartApp. Early results say it’s working, at least partially. I can turn the alarm on/off, so the sketch is doing something. Not sure about the zone endpoints still in ST, they don’t seem to reflect opens, but that can wait until tomorrow.

One of the really cool things about this project and SmartThings is the integration. Today I had an “intrusion” into my home and immediately I received a notice on my Apple watch. Here is the screen shot

Fortunately, it was just my wife who had forgotten to charge her iPhone and couldn’t turn off the alarm since she did not have her reading glasses. Yet how cool that my ADT system now connects to my smart watch.

2 Likes

So glad you’ve found our device effective for your project :slight_smile:

Hi, all.

Does anyone know know if it is possible to run this implementation on a Raspberry Pi and AD2Pi only? This seems to have more features/functionality than the official AlarmDecoder implementation.

I am currently running the AD one and am looking to go one step further and this route seems to have more features.

Thanks in advance!

This integration is centered around the ST ThingShield which only works on an Arduino. It seems to have higher throughout than the RESTful API that Alarm Decoder is using with its official integration. I have no experience with the AD Pi product to tell you the differences.

The biggest difference is the delay for updates - which is being addressed in a future version. Other than that, it should be nearly identical functionally with regard to contact sensors etc for triggering events based off zone/alarm state.

Thanks for the explanation. I’m trying to find a ThingShield so I can give this project a try but am having a hard time finding any.

This implementation allows control from Alexa - can I do this with the AlarmGrid version?

I don’t know much about alarm grid. The integration is all about the panel make and version and whether it is supported by Alarm Decoder. You can see the list of supported panels here:
https://www.alarmdecoder.com/wiki/index.php/Supported_Panels

Hey kevin_nutech, I recently got Alarmdecoder setup to talk to Smartthings and love the concept. But I’m confused by the “AlarmDecoder Zones” (there are 8) and how they relate to the actual zones on the alarm panel (Ademco 20p in my case). I was assuming they could be mapped 1 to 1 or really however I want them to be mapped… I just wasn’t sure though. Besides that, I noticed that for whatever reason all my zones show up as “Open” despite doors/sensors being closed. On the main Alarmdecoder “Dashboard” I do see what I think are icon indicators showing that a couple of sensors are in the tripped state, which is accurate. However, one other odd thing I noticed is that almost immediately upon having added the device, it showed up with the “Fire” alert - as far as I know, my house isn’t on fire nor do I have any fire sensors installed that would cause this to trip.

Here’s a couple screenshots:

Email support please :slight_smile:

Nutech/Alarmdecoder support, or Smartthings support?

I spoke to Kevin earlier this week about the same issue with the zones showing open by default. I told him I’d send screenshots so he could look into this, so thanks for doing that. I hadn’t had a chance to sit down and play with this until now.

However, after looking through the code I found the following on lines 281 and 282:

// Default contact to closed.
zone_switch.sendEvent(name: “contact”, value: “open”, isStateChange: true, displayed: false);

I changed the “open” to “closed” on my install and it seems to have fixed the issue, after reinstalling.

I don’t know if the reinstall was needed but it didn’t change for me until I did. Maybe after a certain period of time it will change? I don’t know.

Regarding the other issues, I’ll have to leave that the AlarmDecoder team to help you with.

One thing I noticed after the re-install is that the refreshes are taking long time. The known issues section on the github page shows this but I didn’t have this problem before.

nutech/alarmdecoder support please

This is a known issue with how we communicate - we will be using a push style structure in the future and this problem will go away.

Hello

First off I want to thank Stan and Michael for all their efforts. I also want to thank the community forum contributors as I have learned a lot from their comments to this forum. I think this is a great app with big commercial application and I am really excited to try it, but I have ran into a few issues.

I have ran into a repeated issue and please need some help. I can’t get the Ardunio tile to change to the Home tile. I have tried killing the Smartthings app 10+ times, but I still can’t get the tile to change the the App Home tile. I have also tried complete wipe out and rebuilds using Stan’s and Michael’s set ups. Currently I am using Michael’s set up, but still run into the same issue.

Any pointers that can get me beyond this issue?

Thanks,

LL

Hi. I’m using Alarm Decoder’s Service Manager and their web app to control my alarm. Has anybody figured out a good way to keep service manager’s alarm state in sync with SmartThings Smart Home Monitor. Maybe using CoRE or some other smartapp?

@LLcool,

Thanks for the kind comments to the community. I am not exactly sure what you mean by changing the Arduino tile to Home tile. My best guess is that the Thingshield has registered with the default Arduino Device Handler. If this is the case, you will need to go to graph.api.smartthings.com and then to the Devices tab. Once you are there, select your project, select , and then for the ‘Type’, select the ‘AD2Smartthings v4.4.5’ device handler. Note: you had to previously create the AD2Smartthings Device Handler in the ‘Device Handler’ tab.

Hope this helps. If not, please upload a screen shot.

Stan,

Thanks for the reply and assistance! Your comments were spot on, as I was using the default Arduino Device handler. Now that that issue is fixed, my new issue is there is appears to be no signal coming from the alarm pane as I get no status updates, nor can I arm or disarm the system through the Smart App software. The AD2Pi’s green light is flashing about 2 times every second but I can’t get any updates to Smart App software.

Items done to troubleshoot no alarm panel signal:

  1. Read your troubleshooting guide for Vista 20P
  2. Confirmed address 18 is active on alarm panel with #191 returning a 01 and 00.
  3. Confirmed the alarm handler software has ADDRESS=18 multiple times
  4. Confirmed my home owners code is configured and loaded to AD2Pi
  5. Confirmed dip switch on ThingShield is set to D2/D3
  6. Confirmed the device handler software is published

Live logging isn’t showing anything. How can I confirm the if signal is coming from the AD2Pi? without a volt meter?

Thanks,

LL