mikeyg01 Posted March 10, 2016 Posted March 10, 2016 I am trying to make my program work but I am having problems. I want to shut the AC off when the door is open for five minutes or more, then turn it back on when the door is closed (after the five minute interval). But here is whats happening. If the door is open for five minutes without closing then the AC shuts off...and that's great. However, if it is opened and then closed right away, the AC shuts off and that I don't need to happen. I just need the AC off if someone leaves the door open too long. Sliding Door Open-AC Off - [iD 0020][Parent 0001]If Status 'Doors and Windows / Door-Sliding' is On Then Wait 5 minutes Set 'Air Conditioner' Mode - Off Else Set 'Air Conditioner' Mode - Cool Can someone tell me how to get the AC to stay on of the door is opened and closed before the five minute elapse. Thanks
Techman Posted March 10, 2016 Posted March 10, 2016 what device is used for 'Doors and Windows / Door-Sliding'?
mikeyg01 Posted March 10, 2016 Author Posted March 10, 2016 (edited) I am using an Insteon Open/Close sensor....and a Honeywell Z-Wave Thermostat...Thx. Edited March 10, 2016 by mikeyg01
Xathros Posted March 10, 2016 Posted March 10, 2016 Is the Open/Close sensor configured to only send 'On' commands? Can you watch the program summary when closing the door and see if the program turns false? Post your findings. -Xathros
stusviews Posted March 10, 2016 Posted March 10, 2016 If Status 'Doors and Windows / Door-Sliding' is On Then Wait 5 minutes Run 'program 2' (If) Program 2 If Status 'Doors and Windows / Door-Sliding' is On Then Set 'Air Conditioner' Mode - Off Else Set 'Air Conditioner' Mode - Cool
Xathros Posted March 10, 2016 Posted March 10, 2016 (edited) If Status 'Doors and Windows / Door-Sliding' is On Then Wait 5 minutes Run 'program 2' (If) Program 2 If Status 'Doors and Windows / Door-Sliding' is On Then Set 'Air Conditioner' Mode - Off Else Set 'Air Conditioner' Mode - Cool Hey Stu, Wouldn't both of those trigger upon opening or closing (Assuming he is sending Off commands from the sensor) the door making this designed to do exactly what he doesn't want? Maybe program #2 was supposed to be disabled? I'm still waiting for a reply from the OP re my questions. It may be an issue with how the TStat is handling the mode set command as well but need more info from the OP to make a good diagnosis. -Xathros Edited March 10, 2016 by Xathros
stusviews Posted March 10, 2016 Posted March 10, 2016 Xathros, good catch, Yes, program 2 is supposed to be disabled.
mikeyg01 Posted March 11, 2016 Author Posted March 11, 2016 Thx guys, I came home about an hr ago and low and behold my original program is now working. When I opened the door the program detail indicated that I was running the "then' portion of the program....when I closed it back the 'then" disapeared which indicated that it was cancelled. If I leave it open for five minutes, the AC shuts off....as intended. So all is well. I added the front door and the door leading to the garage to the program, tested and all is fine....Again, thx for you insight
larryllix Posted March 11, 2016 Posted March 11, 2016 Thx guys, I came home about an hr ago and low and behold my original program is now working. When I opened the door the program detail indicated that I was running the "then' portion of the program....when I closed it back the 'then" disapeared which indicated that it was cancelled. If I leave it open for five minutes, the AC shuts off....as intended. So all is well. I added the front door and the door leading to the garage to the program, tested and all is fine....Again, thx for you insight You are going to want to add some conditions to your program to stop the A/C from turning on in the winter when somebody closes the door. If you can control your stat you can likely read the stats of the heat/cool mode also. This will take two programs and no use of the Else clause though.
stusviews Posted March 11, 2016 Posted March 11, 2016 Easy fix. If Status 'Doors and Windows / Door-Sliding' is On and Status 'Air Conditioner' is Mode Cool Then Wait 5 minutes Run 'program 2' (If) Program 2 If Status 'Doors and Windows / Door-Sliding' is On and Status "Air Conditioner' is Mode Cool Then Set 'Air Conditioner' Mode - Off Else Set 'Air Conditioner' Mode - Cool
larryllix Posted March 11, 2016 Posted March 11, 2016 (edited) Easy fix. If Status 'Doors and Windows / Door-Sliding' is On and Status 'Air Conditioner' is Mode Cool Then Wait 5 minutes Run 'program 2' (If) Program 2 If Status 'Doors and Windows / Door-Sliding' is On and Status "Air Conditioner' is Mode Cool Then Set 'Air Conditioner' Mode - Off Else Set 'Air Conditioner' Mode - Cool oooops...Not gonna' be that easy. If Status 'Doors and Windows / Door-Sliding' is On and Status "Air Conditioner' is Mode Cool <----the Mode was set = Off when the door opened. Then Set 'Air Conditioner' Mode - Off Else Set 'Air Conditioner' Mode - Cool The plot thickens with variables. It gets a little thicker, yet, once the compressor delay shows up. When will UDI inclement the "You know what I mean" program line? Probably not good to play with the Mode on the stat but rather just raise the temperature. Changing the mode raises all kinds of conditions like Home/Away, A/C was off in the first place due to spring or fall weather, and possibly a few more unseen conditions. Edited March 11, 2016 by larryllix
larryllix Posted March 11, 2016 Posted March 11, 2016 As an afterthought v5 can assign variables the value of a thermostat mode and restore them after by assigning the mode the variable value. This could be used to memorise the stat mode, regardless of what mode is currently set, and restore it after the open door policy enforcement.
stusviews Posted March 11, 2016 Posted March 11, 2016 oooops...Not gonna' be that easy. If Status 'Doors and Windows / Door-Sliding' is On and Status "Air Conditioner' is Mode Cool <----the Mode was set = Off when the door opened. Then Set 'Air Conditioner' Mode - Off Else Set 'Air Conditioner' Mode - Cool The plot thickens with variables. It gets a little thicker, yet, once the compressor delay shows up. When will UDI inclement the "You know what I mean" program line? Probably not good to play with the Mode on the stat but rather just raise the temperature. Changing the mode raises all kinds of conditions like Home/Away, A/C was off in the first place due to spring or fall weather, and possibly a few more unseen conditions. Nope, the program sets the mode to off only if the door is left open beyond the duration specified.
Xathros Posted March 11, 2016 Posted March 11, 2016 Nope, the program sets the mode to off only if the door is left open beyond the duration specified.And retriggers your program running false because the mode was changed to off.... -Xathros Sent from my iPhone using Tapatalk
stusviews Posted March 11, 2016 Posted March 11, 2016 Correct, the Status "Air Conditioner' is Mode Cool condition should not be added to Program 2.
larryllix Posted March 11, 2016 Posted March 11, 2016 Is the Open/Close sensor configured to only send 'On' commands? Can you watch the program summary when closing the door and see if the program turns false? Post your findings. -Xathros It has to set to deliver On commands when opened for the OP complaint to be true. An Off signal would trigger the else clause and cancel the then case and the OP complaint wouldn't exist. Also, the door closed can never be detected and the logic never work if Off is never sent. Since the OP now claims, it does work, but didn't previously AND now invalidates the lack of Off arguments above, he must have intermittent comms from his Door sensor to ISY.
visualcoat Posted May 26, 2016 Posted May 26, 2016 (edited) I set up mine with three program, one to detect the state of my door, two to turn it off, and three to turn it back on. HVAC 0 - Test Door - [ID 0015][Parent 0001] If Status 'D an W Sensors / Back Door Sensor.1 - Status' is 100% Or Status 'D an W Sensors / Front Door Sensor.1 - Status' is 100% Then Wait 30 seconds $sDoorOpen = 1 Else - No Actions - (To add one, press 'Action') HVAC 1 - Turn AC Off - [ID 0016][Parent 0001] If $sDoorOpen is 1 And Status 'Thermostat / Thermostat - Cool Ctl' is On Then Set 'Thermostat / Thermostat - Main' Mode Off $sDoorOpen = 2 Else - No Actions - (To add one, press 'Action') HVAC 2 - Tuff AC On - [ID 0017][Parent 0001] If $sDoorOpen is 2 And Status 'Thermostat / Thermostat - Cool Ctl' is Off And Status 'D an W Sensors / Back Door Sensor.1 - Status' is Off And Status 'D an W Sensors / Front Door Sensor.1 - Status' is Off Then Wait 30 seconds Set 'Thermostat / Thermostat - Main' Mode Cool Else $sDoorOpen = 0 Edited May 26, 2016 by visualcoat
Recommended Posts