GeorgeRufle Posted December 29, 2008 Posted December 29, 2008 As a new ISY owner I wanted to control my Xmas lights using a simple program. My intent was to have the lights come on at sunset and go off somewhere between 11:00 and 11:30 every day. Sounds simple enough. I implemented the program below which I thought would do what I wanted but it doesn't. What seems to happen is at sunset the lights come on but some time afterwards (not sure yet when this happens) the lights go out. When I notice that the lights are not on if I use an X10 controller to turn the lights back on they stay on until 11:00-11:30. Here is the program, what could be wrong? BTW, how does one cut and paste program code into this post? I had to type it in . If From Sunset To 11:00:00PM (same day) Then Send X10 'C13/On (3)' Else Wait 30 minutes (Random) Send X10 'C13/Off (11)'
Michel Kohanim Posted December 29, 2008 Posted December 29, 2008 Hello Mr. Rufle, Your program seems correct. The problem might be due to some other program or controller which issues C13/Off. Do you have any other programs or controllers which might be interfering with this program? To copy and paste, right mouse click on your program and then choose Copy to Clipboard. With kind regards, Michel As a new ISY owner I wanted to control my Xmas lights using a simple program. My intent was to have the lights come on at sunset and go off somewhere between 11:00 and 11:30 every day. Sounds simple enough. I implemented the program below which I thought would do what I wanted but it doesn't. What seems to happen is at sunset the lights come on but some time afterwards (not sure yet when this happens) the lights go out. When I notice that the lights are not on if I use an X10 controller to turn the lights back on they stay on until 11:00-11:30. Here is the program, what could be wrong? BTW, how does one cut and paste program code into this post? I had to type it in . If From Sunset To 11:00:00PM (same day) Then Send X10 'C13/On (3)' Else Wait 30 minutes (Random) Send X10 'C13/Off (11)'
GeorgeRufle Posted December 29, 2008 Author Posted December 29, 2008 I think I may have found the problem. The other day I had some problems while upgrading. Somewhere along the line the current ISY time was changed. It was off by several hours. Thanks for the copy/pate tip. I knew it could be done from reading other posts. Thanks again.
Recommended Posts