alert when a door is left open (for a period of time)

I’m using the envisalink 4 module to connect my security system to the network and vera. It is installed and working properly.

I have a door sensor (device #74 on Vera).
I want to be notified only when the door is left open for 60 seconds on more.
If the door is closed, the timer needs to reset itself.

I’m not a programmer so please help with the code.

thanks!
Rich

PLEG plugin will do this for you.

[quote=“ep5090, post:1, topic:197854”]I’m using the envisalink 4 module to connect my security system to the network and vera. It is installed and working properly.

I have a door sensor (device #74 on Vera).
I want to be notified only when the door is left open for 60 seconds on more.
If the door is closed, the timer needs to reset itself.

I’m not a programmer so please help with the code.

thanks!
Rich[/quote]

  1. Install the app “Countdown Timer”
  2. Create a timer device called “Door Timer” that runs for a duration of 60 seconds
  3. Create a scene called “Door Open” that starts the timer when the door opens
  4. Create a scene called “Door Closed” that cancels the timer when the door is closed
  5. Create a scene called “Door Left Open” that sends an alert when “Door Timer” completes

Done. :slight_smile:

I would add the timer needs to be restarted to give you an alert every 60 seconds. You can do that in the scene triggered by the timer reaching 0.