easytim Posted June 26, 2014 Share Posted June 26, 2014 I'm new at this, I can't get my yard lights to turn off when I want them to,they stay on all night. Until dusk to dawn shuts them off. It turns on OK, but not off. Here's a picture of the program I'm using, I just need a little help until I become better. Thanks Tim Darn , I see the problem, I have it being turned on instead of off Link to comment
larryllix Posted June 26, 2014 Share Posted June 26, 2014 You need an "On" and an "Off" command to do both. The "Responding" condition shouldn't be in there. Multiple times need to have "OR" logic. Both can never be true at the same time and therefore your "Then" will never get executed, only the empty "Else" If . On Sat, Mon, Wed . Time is 2:00 AM OR . On Fri, Tues, Thu . Time is 1:00 AM Then . Set 'YardLights' On . Wait 2 Hours . Set 'YardLights' Off Else - Link to comment
PurdueGuy Posted June 26, 2014 Share Posted June 26, 2014 Your post mentions wanting your yard lights to turn off, but then your program has them turning on. Perhaps you can better clarify what you want? I'm guessing you want them to turn off at 11 PM Sun-Thurs, and 2 AM Fri/Sat (really Sat/Sun)? If so, I would use this: If On Sun, Mon, Tue, Wed, Thu Time is 11:00:00PM Or On Sat, Sun Time is 2:00:00AM Then Set Scene 'Outside' Off Else - No Actions - (To add one, press 'Action') You don't need to check if they are on, just turn them off. If they are already off, they will stay off. Link to comment
apostolakisl Posted June 26, 2014 Share Posted June 26, 2014 Your post mentions wanting your yard lights to turn off, but then your program has them turning on.Perhaps you can better clarify what you want? I'm guessing you want them to turn off at 11 PM Sun-Thurs, and 2 AM Fri/Sat (really Sat/Sun)? If so, I would use this: If On Sun, Mon, Tue, Wed, Thu Time is 11:00:00PM Or On Sat, Sun Time is 2:00:00AM Then Set Scene 'Outside' Off Else - No Actions - (To add one, press 'Action') You don't need to check if they are on, just turn them off. If they are already off, they will stay off. He edited his post yesterday pointing out that he made a silly mistake accidentally commanding the lights to turn on when he meant to put off. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.