stillen_i30 Posted January 31, 2012 Posted January 31, 2012 I had posted earlier for some advice about a few different programs to control my front coach lights under different circumstances. I'm still having some issues with this and am hoping others can help me iron out the problems. My Goals 1.) Have the front coach lights turn on at half-brightness 20 mins after sunset and then turn off at 11pm that same night every night 2.) I have two garage doors each with I/O lincs and open sensors. I want the front coach lights to turn on to full brightness for 5 mins when either of the two garage doors is opened from 20 mins after sunset until 20 mins AFTER sunrise the following morning. (Currently, this only works for one of my garage doors, not the main door!) 2a.) If the time is between 20 mins after sunset and 11pm, the coach lights are already at 45% (as per #1 above), but if the garage doors were opened, the coach lights would turn on full brightness for the 5 mins and then revert back to the half-brightness setting once the 5 mins is up assuming it's still between 20 mins after sunset and 11pm. 3.) I have a light controlled via insteon inside the garage. Whenever the garage doors are opened, I want the lights to stay on 5 mins NO MATTER WHAT, meaning, even if the garage doors are closed within 5 mins, the lights still remain on for the full 5 mins and then shut off (currently, the lights turn off if the garage door is closed within 5 mins). 4.) I have a keypad near the garage entrance where one button controls a "trash" scene for when we want to take out the trash. This scene involves turning on the garage overhead lights (mentioned in #4) and the ffront coach lights. Again, based on the conditions for the front coach lights, if the "trash" scene is turned on, the front coach lights turn on full brightness and then revert back to half-brightness if/when switched off, otherwise they should turn off automatically at 11pm. Currently, activation of the "trash" scene does not turn the coach lights on at all, and if it is between the times of sunset +20 mins and 11pm, the coach lights only stay at half brightness. 5.) I have yet another program to ENSURE that all outside lights are to remain off even if they were inadvertently switched on. This program runs from sunset +20 mins to sunrise +20 mins (next day) and does not work for all my lights. The respective programs are listed below. 1.) Coach lights turning on half-brightness during set times nightly If From Sunset + 20 minutes To 11:00:00PM (same day) Then Set 'Front Yard / Front Coach Lights' 45% Else Set 'Front Yard / Front Coach Lights' Off 2.) Coach lights on FULL brightness while it's dark outside no matter what time (again, as long as it's dark outside) If From Sunset + 20 minutes To Sunrise + 20 minutes (next day) And ( Control 'Garage / Main Garage Door Sensor' is switched On Or Control 'Garage / Small Garage Door Sensor' is switched On ) Then Set 'Front Yard / Front Coach Lights' On Wait 5 minutes Run Program 'Coach Lights Night' (If) Else Set 'Front Yard / Front Coach Lights' Off 3.) Garage overhead lights to stay on FIVE mins if either garage door is opened regardless if the garage door is closed within this time frame If Status 'Garage / Main Garage Door Sensor' is On Or Status 'Garage / Small Garage Door Sensor' is On Then Set Scene 'Garage / Garage Overhead Lights' On Wait 5 minutes Set Scene 'Garage / Garage Overhead Lights' Off Else Set Scene 'Garage / Garage Overhead Lights' Off 4.) Program for "Trash" scene to be turned on via keypad and staying on 8 mins, then turning those lights off automatically if not switched off manually within the 8 mins If From Sunset + 20 minutes To Sunrise + 20 minutes (next day) And Control 'Main Hallway / Main Hallway Garage Keypad C' is switched On Then Set 'Front Yard / Front Coach Lights' 99% Set Scene 'Side Garage / Garbage Night' On Wait 8 minutes Run Program 'Garbage Lights Off' (Then Path) Else - No Actions - (To add one, press 'Action') If From Sunset + 20 minutes To Sunrise + 20 minutes (next day) And Control 'Main Hallway / Main Hallway Garage Keypad C' is switched Off Then Set Scene 'Side Garage / Garbage Night' Off Set 'Side Garage / Side Garage Door Light' Off Set Scene 'Garage / Garage Overhead Lights' Off Run Program 'Coach Lights Night' (If) Run Program 'Motion Floods Night On' (If) Else - No Actions - (To add one, press 'Action') 5.) Having all outdoor lights turn OFF automatically if inadvertently switched on during daylight hours only by any means If From Sunrise + 21 minutes To Sunset + 17 minutes (same day) And Status 'Side Garage / Side Garage Door Light' is On And Status 'Front Yard / Front Coach Lights' is On And Status 'Front Yard / Front Yard Holiday Lights' is On And Status 'Backyard / Backyard Fan Lights' is On And Status 'Backyard / Backyard Hut Lights' is On And Status 'Front Yard / Front Landscape Lights' is On And Status 'Backyard / Back Landscape Lights' is On And Status 'Backyard / Back Landscape Lights 2' is On And Status 'Side Garage / Side Garage Motion Flood' is On And Status 'Side Master / Side Master Motion Flood Clos' is On And Status 'Side Master / Side Master Motion Flood Dist' is On Then Set Scene 'Outside Lights WITH Landscape' Fast Off Set Scene 'Outside Flood Lights' Fast Off Else - No Actions - (To add one, press 'Action') Thanks so much guys for any assistance you can provide.
LeeG Posted February 1, 2012 Posted February 1, 2012 stillen_i30 Some of the issues appear to be unrelated to Programs. For 2., where the Main door does not work and the Small door does, check the Sensor Current State column in the Admin Console before the Main door is opened and after. Does the state change from Off to On when the Main door is opened? For number 5., where not all devices respond to the Scene Fast Off, run a Scene Test on each of the Scenes. Right click on the Scene name, select Diagnostic | Scene Test. Do not overlap the tests. Let the results of the first test display before running the test on the next Scene. Do all the devices show “Succeeded� Both of these suggest communications problems rather than Program problems. If not on 3.1.17 I suggest updating. It is now the latest official release. Lee
TJF1960 Posted February 1, 2012 Posted February 1, 2012 Perhaps in # 3 change "Status" to "Control" switched on and get rid of the "Else" condition. I think for # 5 all of the devices in the If section should be "Or" instead of "And" Tim
stillen_i30 Posted February 5, 2012 Author Posted February 5, 2012 Thanks for the suggestions...tried them out but some problems continue. When the coach lights are either at half brightness or completely off, opening either garage door will cause the lights to start coming on to full brightness but then quickly shut back off again. Weird. I just can't figure out where the problematic line is.
oberkc Posted February 5, 2012 Posted February 5, 2012 When the coach lights are either at half brightness or completely off, opening either garage door will cause the lights to start coming on to full brightness but then quickly shut back off again. That is a different problem than originally described. Have you solved your first problem somehow? Did you attempt to address any of LeeGs questions? You have lots of scenes with unknown devices. It is possible that some of these scenes are affecting the conditions of some of the other programs. I see only two programs which shut off the coach lights: number 1) and 2). Do any of the scenes in programs 3), 4), or 5) include the coach lights? Since the coach lights turning off appear near immediately, I would be focusing on program #5.
Vince Posted February 5, 2012 Posted February 5, 2012 Greetings, I'm new to the "If,Then, Else" language used for programs. But,I'm willing to learn. Is there a primer anyone can recommend? Thanks.
LeeG Posted February 5, 2012 Posted February 5, 2012 The ISY User Guide and the ISY Wiki have some good information on ISY Programs. Also many examples on this forum itself.
stillen_i30 Posted February 7, 2012 Author Posted February 7, 2012 Ok guys I figured it out, I had an alternate basic program telling the lightswitch for the coach lights to turn off after 5 mins that was messing up the coach lights coming on with opening the garage door. I disabled that program and it works, so at least I've id'ed the prblem and can work to fix it. As always, thx for the suggestions.
Recommended Posts