We have moved at community.getvera.com

Author Topic: Event: 'device has been off for x minutes'  (Read 1912 times)

Offline nanckekr

  • Jr. Member
  • **
  • Posts: 83
  • Karma: +0/-0
Event: 'device has been off for x minutes'
« on: May 04, 2009, 11:03:31 pm »
Does anyone know how to program an event that is fired if a device has been on or off for a certain amount of time? I would like this event to be standalone, i.e. it should not care if the device is turned on manually or by another vera scene.

Also the event should not fire if the device is turned off before the period ends.

Example:

Event definition: EventName "monitor" Device #1 has been ON for 5 minutes --> trigger event
Scenario that will trigger event
- Device #1 is turned on on the switch
- 5 minutes later, vera fires the event "monitor"

scenario that will NOT trigger the event
- Device $1 is turned on on the switch
- 3 minutes later the device is turned off on the switch
- 1 minute later, the device is turned on on the switch
- 4 minutes later the device is turned off on the switch.

Can this be done?