Help w I/O-Linc Conditional Logic

Posted on
Sat Sep 28, 2019 12:04 pm
sumocomputers offline
Posts: 267
Joined: Jun 23, 2008

Help w I/O-Linc Conditional Logic

Need some help w I/O-Linc logic for a Garage Door.

I have an Insteon I/O-Linc Controller, and use the Binary input to determine if my Garage Rollup Door is open or closed with a contact closure.

I am trying to create some Indigo logic that says something like:

-If the Binary input is OPEN for 5 minutes, send an email.
-Keep checking every 5 minutes, and if still OPEN after another 5 minutes, send another email.
-If CLOSED, don't send an email and reset the timer.

I tried using a Trigger in Indigo UI, but can't seem to figure out how to specify the logic. I am open to using Python and/or Variables, just need a pointer in the right direction.

Thanks,

Chris

Posted on
Sat Sep 28, 2019 12:11 pm
FlyingDiver offline
User avatar
Posts: 7257
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Help w I/O-Linc Conditional Logic

Create a Timer object (Timers and Pesters plugin) set to 5 min.

When door sensor opens, start the timer.

When door closes, stop the timer.

When timer expires, send email and restart the timer.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sat Sep 28, 2019 12:15 pm
sumocomputers offline
Posts: 267
Joined: Jun 23, 2008

Re: Help w I/O-Linc Conditional Logic

Thanks for direction, I remember that plugin always coming with Indigo, but never used it in all these years!

Posted on
Sun Sep 29, 2019 6:05 am
Korey offline
User avatar
Posts: 816
Joined: Jun 04, 2008
Location: Henderson, NV

Re: Help w I/O-Linc Conditional Logic

sumocomputers wrote:
Need some help w I/O-Linc logic for a Garage Door.

I have an Insteon I/O-Linc Controller, and use the Binary input to determine if my Garage Rollup Door is open or closed with a contact closure.

I am trying to create some Indigo logic that says something like:

-If the Binary input is OPEN for 5 minutes, send an email.
-Keep checking every 5 minutes, and if still OPEN after another 5 minutes, send another email.
-If CLOSED, don't send an email and reset the timer.

I tried using a Trigger in Indigo UI, but can't seem to figure out how to specify the logic. I am open to using Python and/or Variables, just need a pointer in the right direction.

Thanks,

Chris



Take a look at Cynical Behaviors Plugin Perry has a great Garage Door sensor that my be of use to you.

--
Korey

Posted on
Sun Sep 29, 2019 8:13 am
sumocomputers offline
Posts: 267
Joined: Jun 23, 2008

Re: Help w I/O-Linc Conditional Logic

I was able to get it running with Timers and Pesters, but will check out Cynical Behaviors.

Thank You!

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 2 guests