If away and security system off, notify me


#1

Hi,

I am working with this basic piston and it works fine. It gives me enough time to arm the system as I leave. The issue I’m having is if I disarm the system and I’m still away, but close to home, I start getting the messages sent, even if the 10 minutes hasn’t gone by yet. Any suggestions on how to modify this to give me a buffer zone on my return? By the way, there will be at least 2 presence sensors when I’m done, if that will make a difference in the piston design. I tried various things, including putting a certain amount of time the alarm is unarmed and I’m not present, but that seemed to count down multiple things and ended up being more than the 10 minutes the piston executes again. Thanks.


#2

How are you disarming while still away/but close to home?


#3

Remotely.


#4

I meant like a web call or via the app? Is this ST or Hubitat hub?


#5

St. It’s manually done via internet/separate App. No web call, etc.


#6

One way to do that would be via a virtual switch that will be included in the logic of your piston. If the virtual switch is on system is disarmed and the piston should not notify when it’s on.

The virtual switch then needs to be turned off the next time you arm the system, ready for the next manual disarm.


#7

Rather than using a ten minute timer, why not flip the logic around?

while presence sensor is not present 
      and
      securitySystemStatus is disarmed
do
      wait 10 minutes
      send notification
end while