Hey everyone,
I'm having a bit of difficulty figuring out how to get Indigo to do what I want. Here's what I have:
- A I/O Linc Controller for my Gate. Binary input 1 is the status of the gate (open or closed) and binary output 1 opens/closes the gate on command.
- A I/O Linc Controller for Garage Door 1. Binary input 1 is the status of the gate (open or closed) and binary output 1 opens/closes the gate on command.
- A I/O Linc Controller for Garage Door 2. Binary input 1 is the status of the gate (open or closed) and binary output 1 opens/closes the gate on command.
Here's what I want to do:
I want to, by some command, do the following logic called "Good Morning":
1. Check if Gate Binary input 1 is closed (1) if so, set binary output 1 (to open Gate)
2. Check if Garage Door 1 Binary input 1 is closed (1) if so, set binary output 1 (to open Garage Door 1)
3. Check if Garage Door 2 Binary input 1 is closed (1) if so, set binary output 1 (to open Garage Door 2)
I also want to, by some command, do the following logic called "Good Night":
1. Check if Gate Binary input 1 is open (0) if so, set binary output 1 (to close Gate)
2. Check if Garage Door 1 Binary input 1 is open (0) if so, set binary output 1 (to close Garage Door 1)
3. Check if Garage Door 2 Binary input 1 is open (0) if so, set binary output 1 (to close Garage Door 2)
Essentially I want logic to close the gate and garage doors if they are open. I also want logic to open the gate and garage doors if they are closed.
I've been playing around with virtual devices, triggers, etc, and just cannot see how to do this. Any pointers?