Rules and Conditions...

  • 25 Views
  • Last Post 11 December 2012
joe.ak2@gmail.com posted this 11 December 2012

I've watched your youtube videos several times and am still having issues with setting up rules with conditions.

First, my door sensors are reading fine now (thanks to Ryan!) but I can't seem to get them to trigger an email alert if they've been open for longer than 10 minutes. For instance, I've setup a new rule with the following:

Trigger - On Device change state/level
Script - Emailcurrentdevicestate.ics
Enabled
Days of the week - Everyday checked
NodeIDs - Small Garage Door
Off to On - True
On to Off - False
Any Level change False

Conditions - After "Small Garage Door" (name of sensor A) has been = 100 for 10 minutes

My log says "Script aborted because conditions were not met."

If I remove the "for 10 minutes" part, it works like a champ. What am I doing wrong?

Thanks

Ryan-Scott posted this 11 December 2012

Instead of a trigger of device state change, switch to use a repeating date. Set it up to repeat every minute. It'll check every minute if the sensor has been active for more than 10 minutes and send you the notice.

Close