Need program tip

DTG173

Member
I am using an OPII with RC80 T-Stats and would like it set up so if the AC is on and a window was open the AC would shut off. This program will encompass every window in my house and I am looking for an efficient way to get it done.
I had it set up using flags and buttons for each floor, but it just seemed like a lot of programming?
 
IE:
WHEN mstr BR window SECURE: Run chng state  (button)
WHEN mstr BR window NOT READY: Run chng state
 
WHEN chng state: Temp flag OFF
WHEN chng state and IF mstr BR window NOT READY Temp flag ON
 
WHEN chng state and IF temp flag OFF: MODE auto
WHEN chng state and IF temp flag ON: MODE off
 
It doesn't seem to make sense but it worked. There must be an easier method?
Thanks in advance 
 
I have a flag PERIMETER that keeps track of open windows and doors.
 
List all your windows in this code:
 
WHEN mstr BR window NOT READY
WHEN Kitchen window NOT READY
......
WHEN Entry door NOT READY
THEN PERIMETER ON
 
Every 30 seconds
AND IF mstr BR window SECURE
AND IF Kitchen window SECURE
.....
AND IF Entry door SECURE
THEN PERIMETER OFF
 
WHEN PERIMETER ON
(AND whatever other conditions you may have)
THEN MODE OFF
 
Back
Top