[OBSOLETE] ADT Tools 2 for Smartthings ADT alarm sytsems

I figured out I was installing the SmartApp and the Handler on the wrong site. I noticed I didn’t have my Hub listed. When I did a google I found there was a different SmartThings Groovy site I was supposed to go to. When I logged into this site I was able to see my Hub. When I installed the SmartApp this time it showed up on my Classic App. The URL for the correct IDE site was: https://graph-na04-useast2.api.smartthings.com

That means you are logging in at the wrong site. You are hitting region specific servers. If you go to https://graph.api.smartthings.com/ you will always get to your right region and your IDE location.

Is there a way to enable a switch when the ADT panel is armed (specifically armed Stay). What i would like to do is have a light near an alternate entrance (away from the panel) to indicate the system is armed. My wife has a habit of going running at 5am with headphones on and not disarming the alarm, I would like to have an indicator light when the alarm is armed to provide a clear indication of the alarm state. A virtual switch that is toggled on when the ADT panel is in armed stay would be ideal.

I have it working if I use the virtual momentary switch to arm and disarm, by running other automations tied to those buttons, is there a way to have the ADT panel activate the virtual switches as well?

That would create a loop in the program and that isn’t good. I actually already coded something to meet your needs I believe. Simply put added the ability to specify for switches to be turned on or off when the alarm panel changes mode. let me do a little bit of testing and then i will publish it out for everyone.

I just push the code to github.

This is simply a addition of code to handle the request to turn a device on our off at time of mode switch. no other functionality was updated. This is not needed unless you want that the added functionality.

I’ll give it a shot. Thanks!

The functionality is exactly what I needed, however the implementation is a little bit counter-intuitive. Armed Away can only turn off a switch, and then disarming can do either. Functionally this is fine, i can handle the reverse switch settings (light on when switch is off, light off when switch is on).

Thank you for the quick update!

Cheers

You should be able to turn switches on and off for each alarm mode. Is what you are saying that it doesn’t actually do that, or that you dont see where you can set it.

I only see what switch to turn off when armed/stay.

It was a spelling error actually. Interestingly it still showed up in the Classic app. It should be corrected now.

I do not have this menu in my adttools2. has it recently been added?

I believe it was added to an update in the repository on 6/9.

Hey MAVRRICK, hopefully a quick fix on this one. I used your tools to setup an ADT Alert Action to trigger the sirens we have when motion is detected and the system is armed. But it’s not working at all. I’ve tried a number of small changes in the settings with no luck. What I’ve discovered is that the motion sensors stop sensing when the system arms. If I’m looking at the app during a disarmed state, I can see the status of the sensors change in near real time. But as soon as I arm the system they stop responding. Any suggestions would be appreciated, thank you!

how can i uninstall the old version? When i try to uninstall through the ST app I get an network error. When I try to uninstall though ide it tells me unable to uninstall because more a user has it installed.

You should be able to update from the repository vs uninstalling. Depends on how you added it.

I manually added it by copy pasting the code. If I click update from repo, I don’t see anything on mavrrick repo

Sounds like you created your own repository and pasted in the code? I believe you would have to copy over all the code again for updates. Maybe Mavrrick has other options for you? I linked directly to his repository.

Is the Alarm in Armed/Stay, or Armed/Away. Typically Armed/Stay will disable Motion sensors so you do not trigger them when you are home and walking around. Do you see the same result if it is armed in Armed/Away.

Yes it was recently added per request from a user.

I always suggest you link your IDE to my github repo so you can get the latest version easily. My guess is that you have some of the alert apps setup. Make sure you remove all of them and then try to remove the main ADT Tools 2 app. Once that is done link to the repo and install from there. You should only need to publish the parent “ADT Tools 2” app. Then just download the others to your repo.

I’m somewhat new to ST and had no idea that I can link your repo directly when I started. I get the error message that Adt tool 2 is installed on more than one device. Any ideas?