Door Sensor Arm, scene triggers?

Hi All! I’ve been playing with VeraLite for 6 months now, and have some cool stuff running. I really like it. I’ve recently been experimenting with LUUP code and the power that it offers. For some reason, though, I have some LUUP code that seems to run any time the sensor is armed. I don’t know if I’m just not understanding the design.

I have a Schlage door sensor and it’s connected to my garage door. I have a VOIP server running and I wrote a little web service to accept HTTP GET commands and convert the text to speech and then place a call to me.

I have two scenes, one for “Garage Door Open”, and one for “Garage Door Closed”. Each has slightly different Code (to say Open vs Closed).

Everything works fine, except the scene for whatever state it’s in gets triggered when it’s armed.

For example:
The garage door is down.
I disarm the sensor.
… come back later …
Enable the sensor & the door is still down

So the “Garage Door Closed” scene is triggered.

Is that normal behavior? Is there any way to keep it from triggering the current status on arming?

I looked at the LastTripped variable, but it’s not changing, of course.

Help?

This is a function of what trigger you use.
You want to use the trigger calleded: An Armed Sensor is Tripped

Also If you have an android phone … the Vera Alerts plugin can be used to Voice announce any event on your Vera on your phone.

Hi, thanks for the response. I have that one in use, for when the garage door opens. I want one for when it closes, so that would be basically be “device armed is not tripped”.

I understand the logic of why it happens, but I can’t seem to see when it’s armed. I’m ok with some code that would allow me to see “I was armed 5 seconds ago, so don’t alert this time.”

I know it’s kind of dumb to call you when the garage door opens and closes, but the real goal is to do the same alert with my smoke/fire detectors. It’s just a lot less annoying to the family when I test by opening and close the garage door instead of hit the test button on the smoke detector. :slight_smile:

Arming is a concept IN VERA not the sensor.
You manually arm/bypass the sensor.

Vera Provides two sets of events.

  1. A set that ignores the Armed Status.
  2. A set that honors the Armed Status.

You get to decide which you are using.
I do not think you would want to have to ARM the smoke detector to get a notification!

ARM/ByPass is typically used for Doors and Windows, where you want to occasionally bypass the Notification of the them being opened.

I thought about that, but also wanted to stop the notifications if something went awry… The simplest solution is to just disarm the sensor.

-G

Notification have access to the same set of two events.
So you can have notifications that honor the Arm/Bypass switch and those that don’t.
In the latter case the Arm/Bypass switch is meaningless.
It does not physically stop the sensor from see the change and reporting it back to Vera. As I said, this is a Vera only concept, … the sensor is ALWAYS reporting it’s status.