Author Topic: Can we differentiate Stay Disarm from Away Disarm?  (Read 737 times)

Offline johnnboy

  • Sr. Newbie
  • *
  • Posts: 21
  • Karma: +1/-0
Can we differentiate Stay Disarm from Away Disarm?
« on: March 07, 2017, 12:37:52 pm »
Is there a way to have one scene run when Disarming from Away and a different run when Disarming from Stay?  I'd like to have a Welcome Home scene and a Good Morning scene triggered on disarming.

Thanks!

Offline shallowearth

  • Hero Member
  • *****
  • Posts: 994
  • Karma: +47/-9
Re: Can we differentiate Stay Disarm from Away Disarm?
« Reply #1 on: March 07, 2017, 01:21:11 pm »
I do this by combining the disarm with the Mode.
If I disarm while the Mode is night I know I was armed Stay
If I disarm while the Mode is Away, than I know I was armed Away.

You can create two scenes each with a mode restriction, but tirggered by the same "disarm" event.

Of course this means you need to put Vera into the proper mode when you Arm.  I simply switch the mode to either Night or Away based on how I armed the system (Stay or Away).

Offline RichardTSchaefer

  • Community Beta
  • Master Member
  • ******
  • Posts: 10091
  • Karma: +764/-143
Re: Can we differentiate Stay Disarm from Away Disarm?
« Reply #2 on: March 07, 2017, 03:38:51 pm »
You can do it easily with PLEG

Offline johnnboy

  • Sr. Newbie
  • *
  • Posts: 21
  • Karma: +1/-0
Re: Can we differentiate Stay Disarm from Away Disarm?
« Reply #3 on: March 07, 2017, 04:14:27 pm »
I do this by combining the disarm with the Mode.
If I disarm while the Mode is night I know I was armed Stay
If I disarm while the Mode is Away, than I know I was armed Away.

You can create two scenes each with a mode restriction, but tirggered by the same "disarm" event.

Of course this means you need to put Vera into the proper mode when you Arm.  I simply switch the mode to either Night or Away based on how I armed the system (Stay or Away).

Perfect, don't know why I didn't think of using House Modes for this.  I've got it all working now and the speakers no longer say "Welcome Home" when disarming from Stay mode.  :)

Thanks!