Arm / Disarm ADT Based on Location Mode


#1

1) Give a description of the problem
I wanting to arm away / arm stay / disarm my ADT ST Panel based on the location mode

2) What is the expected behavior?
Home Mode = disarm Away Mode = Arm Away Night Mode = Arm Stay

3) What is happening/not happening?
It does not seem to be working

4) Post a Green Snapshot of the pistonimage


#2

Check live logging for the device and see what command is actually being sent when it arms and disarms. I suspect you’re missing something (because of the parents in your rule).


#3

To use the “armAway” and “armStay” ADT Hub funtions, you need to add in value. disarm does not require a value from what I have found… Anyways, they should look like this:

armAway(‘armedAway’)

armStay(‘armedStay’)

disarm()

Let us know if it works out.


#4

That was it! Thanks!


#5

When I imported you code it asks for unknow device what is that supposed to be?

Sorry very new


#6

I’m looking for that same piston. Please post it if you can get it working.

Thanks Jamie