Author Topic: How to trigger something when the alarm is set off?  (Read 1968 times)

Offline Quixote

  • Sr. Member
  • ****
  • Posts: 350
  • Karma: +18/-35
How to trigger something when the alarm is set off?
« on: December 14, 2016, 01:04:54 am »
Hi,
I've been trying to figure out how to trigger a scene when the alarm is activated, but all I see is something about a "heartbeat" and acting when the heartbeat rises above a certain level.
Is there a simple way to trigger a scene as soon as the alarm goes off?
Thanks.
My "Karma" has been modified by 2 or 3 douchebags that didn't like that I criticized the plugin that they worship. I'm not actually a bad person. (I guess I'm "Chaotic Neutral").

Offline shallowearth

  • Hero Member
  • *****
  • Posts: 994
  • Karma: +47/-9
Re: How to trigger something when the alarm is set off?
« Reply #1 on: December 14, 2016, 01:56:49 am »
OK I don't have and ELK but I have a Concord which is similar.  On your keypad device (the same one you use to set or trigger Stay or Away actions) you should have an option called Alarm is Active or something simmilar.  That means your alarm is either in alarm mode or in alarm pending mode. 

Offline Quixote

  • Sr. Member
  • ****
  • Posts: 350
  • Karma: +18/-35
Re: How to trigger something when the alarm is set off?
« Reply #2 on: December 15, 2016, 03:30:45 pm »
Thanks for the help.
I'm a bit confused about the "alarm pending" thing.
Using the method you mentioned will allow me to set up an event that happens if someone breaks in while I'm out?
My "Karma" has been modified by 2 or 3 douchebags that didn't like that I criticized the plugin that they worship. I'm not actually a bad person. (I guess I'm "Chaotic Neutral").

Offline zoot1612

  • Moderator
  • Hero Member
  • *****
  • Posts: 603
  • Karma: +21/-2
Re: How to trigger something when the alarm is set off?
« Reply #3 on: March 03, 2017, 08:17:20 am »
@Quixote
Hi,
I've been trying to figure out how to trigger a scene when the alarm is activated, but all I see is something about a "heartbeat" and acting when the heartbeat rises above a certain level.
Is there a simple way to trigger a scene as soon as the alarm goes off?
Thanks.

Alarms are handled at the partition level you need to look at the partition to find alarm triggers.

Offline Quixote

  • Sr. Member
  • ****
  • Posts: 350
  • Karma: +18/-35
Re: How to trigger something when the alarm is set off?
« Reply #4 on: March 03, 2017, 07:03:32 pm »
Can you please rephrase this in "Elk M1 Alarm Panel Plugin for Dummies" grammar?  ;)
My "Karma" has been modified by 2 or 3 douchebags that didn't like that I criticized the plugin that they worship. I'm not actually a bad person. (I guess I'm "Chaotic Neutral").

Offline zoot1612

  • Moderator
  • Hero Member
  • *****
  • Posts: 603
  • Karma: +21/-2
Re: How to trigger something when the alarm is set off?
« Reply #5 on: March 04, 2017, 12:06:59 am »
Away for the weekend, will put something together early next week.


Offline lowway

  • Sr. Newbie
  • *
  • Posts: 33
  • Karma: +2/-0
Re: How to trigger something when the alarm is set off?
« Reply #6 on: March 04, 2017, 05:58:25 pm »
@Quixote

If I was creating a scene in UI7 using Elk M1 Alarm as the trigger I would go to Scene Menu

Select +Add a Scene (top right of screen)

Select device, in this case NOT Elk Alarm Panel but instead "Partition 1" (mine is called Partition 1: Main House as that is my M1 name for partition 1)

You now have a lot of options for the different states for that Partition and the Elk M1 status as per attachment.

Hope this helps






Offline Quixote

  • Sr. Member
  • ****
  • Posts: 350
  • Karma: +18/-35
Re: How to trigger something when the alarm is set off?
« Reply #7 on: March 05, 2017, 12:26:46 am »
Thanks, bud. :)
Just confused about the wording. "Alarm active" is not clear to me since in my mind my alarm is always active when it is monitoring my perimeter. Maybe if it said something like "Alarm triggered" or "Security breech detected" or something along those lines, it would be a little more clear.
I can't exactly set up a scene for that and test it more than once or twice since I live in an apartment block and I don't want to desensitize my neighbors to my alarm, if you know what I mean. The wolf that cried wolf ;)  lol
My "Karma" has been modified by 2 or 3 douchebags that didn't like that I criticized the plugin that they worship. I'm not actually a bad person. (I guess I'm "Chaotic Neutral").

Offline zoot1612

  • Moderator
  • Hero Member
  • *****
  • Posts: 603
  • Karma: +21/-2
Re: How to trigger something when the alarm is set off?
« Reply #8 on: March 06, 2017, 07:18:25 am »
@Quixote
"Alarm Active" is part of service file "urn:micasaverde-com:serviceId:AlarmPartition2" which is a standard Vera file and is common across all alarm plugins.

The actual event would create either of the following: -
Code: [Select]
"text": "_DEVICE_NAME_: Alarm is active"or
Code: [Select]
"text": "_DEVICE_NAME_: Alarm is not active"
Hopefully this helps.

Offline Quixote

  • Sr. Member
  • ****
  • Posts: 350
  • Karma: +18/-35
Re: How to trigger something when the alarm is set off?
« Reply #9 on: March 29, 2017, 01:53:54 am »
I'm sure that would help someone more "Vera scripting inclined", but as it stands for me, you might as well be addressing me in Chinese. ;)
All I want to do is set up a scene that fires when the alarm goes off. It seems that I may have to disconnect the siren so that I can do further testing.
Thanks for your help all the same!
My "Karma" has been modified by 2 or 3 douchebags that didn't like that I criticized the plugin that they worship. I'm not actually a bad person. (I guess I'm "Chaotic Neutral").

Offline lowway

  • Sr. Newbie
  • *
  • Posts: 33
  • Karma: +2/-0
Re: How to trigger something when the alarm is set off?
« Reply #10 on: March 29, 2017, 05:44:45 am »
@Quixote
Sounds like a good way to go. If it was me I'd just bypass the siren or reduce the volume in ElkRP under Global Commands to zero volume and then have a play as you suggested.

Offline zoot1612

  • Moderator
  • Hero Member
  • *****
  • Posts: 603
  • Karma: +21/-2
Re: How to trigger something when the alarm is set off?
« Reply #11 on: March 29, 2017, 09:32:32 am »
@Quixote
Didn't do a very good job of explaining did I :)

Under scenes just choose a Alarm Area (See screenshot) device. This will give you access to Alarm Active (See screenshot) to trigger your scene.


Offline Quixote

  • Sr. Member
  • ****
  • Posts: 350
  • Karma: +18/-35
Re: How to trigger something when the alarm is set off?
« Reply #12 on: March 29, 2017, 07:00:31 pm »
Perfect! Thanks, guys!
My "Karma" has been modified by 2 or 3 douchebags that didn't like that I criticized the plugin that they worship. I'm not actually a bad person. (I guess I'm "Chaotic Neutral").