I am using Indigo 6.0.20 with OS X 10.10.3 and I have an issue with Schedule Conditions for my I/O Linc Controller 2450 Firmware 36 (i2 engine). Here is what I want to do:
Each day at 8pm check if the garage door is open, and if it is close it.
To solve this I tried to create a scheduled activity with the following condition (used insert into event window log to get the following)
- Code: Select all
"All" "of the following rules are true"
"If device" "Garage Door Double" "Binary Output 1 (on or off)" "is off"
The result is that this always returns true regardless of the state of the door (opened or closed) and therefore the action is always executed
I have tried it with:
- "Binary Output 1 (on or off)" “is on”
"Binary Input 1 (closed or open)" "is open"
"Binary Input 1 (closed or open)" "is closed"
I investigated a little further using the IPH module and executed the following Python scripts
- Code: Select all
gdDoubleID = indigo.devices["Garage Door Double"].id
print "Binary output " + str(indigo.devices[gdDoubleID].binaryOutputs)
When the door is closed I get false printed out. When the door is opened I get true printed out.
Why does the condition not work the same way? Any help is appreciated.
---
Cheers!
dwfa