jrabin Posted September 22, 2008 Share Posted September 22, 2008 I would like to turn a light on at Sunset, and turn off at 11PM on weekdays (Sun-Thu), and at 12:30AM for Friday and Saturday: If On Sun, Mon, Tue, Wed, Thu From Sunset To 11:00:00PM (same day) Or On Sat, Fri From Sunset To 12:30:00AM (next day) Then Send X10 H11/On Else Send X10 H11/Off Is my logic correct? It ran and turned on the lights this weekend, but didn't turn them on tonight (Sunday). I know the first question is did I have X10 issues? I'm sure that is not a problem, as in the summary screen on the console the program did not run at sunset. Link to comment
Michel Kohanim Posted September 22, 2008 Share Posted September 22, 2008 jrabin, I think you would want to do the following: If Time is Sunset Then Send X10 'H11/On' Else - No Actions - (To add one, press 'Action') If On Mon, Tue, Wed, Thu, Fri at 11:00 PM Or On Sat, Sun at 12:30 AM Then Send X10 H11/Off Else - No Actions - (To add one, press 'Action') With kind regards, Michel I would like to turn a light on at Sunset, and turn off at 11PM on weekdays (Sun-Thu), and at 12:30AM for Friday and Saturday: If On Sun, Mon, Tue, Wed, Thu From Sunset To 11:00:00PM (same day) Or On Sat, Fri From Sunset To 12:30:00AM (next day) Then Send X10 H11/On Else Send X10 H11/Off Is my logic correct? It ran and turned on the lights this weekend, but didn't turn them on tonight (Sunday). I know the first question is did I have X10 issues? I'm sure that is not a problem, as in the summary screen on the console the program did not run at sunset. Link to comment
Chris Jahn Posted September 22, 2008 Share Posted September 22, 2008 I would like to turn a light on at Sunset, and turn off at 11PM on weekdays (Sun-Thu), and at 12:30AM for Friday and Saturday: If On Sun, Mon, Tue, Wed, Thu From Sunset To 11:00:00PM (same day) Or On Sat, Fri From Sunset To 12:30:00AM (next day) Then Send X10 H11/On Else Send X10 H11/Off Is my logic correct? It ran and turned on the lights this weekend, but didn't turn them on tonight (Sunday). I know the first question is did I have X10 issues? I'm sure that is not a problem, as in the summary screen on the console the program did not run at sunset. Your logic is correct; if it is not working it is because of a bug. I'll try to reproduce the problem here, but in the meantime it looks like Michel posted a workaround for you. Link to comment
jrabin Posted September 23, 2008 Author Share Posted September 23, 2008 I think you will find it's a bug. I'm running your 2.6.7 beta. Link to comment
Chris Jahn Posted September 25, 2008 Share Posted September 25, 2008 jrabin, I tested your program and a bunch of similiar programs and could not reproduce the problem. There must be something else going on because after taking a closer look at the code, if these programs didn't work then nobodys schedules would be working. Is it possible your program is in a Folder with Folder conditions? Link to comment
Recommended Posts