mhornak Posted February 15, 2010 Posted February 15, 2010 I am changing to Time of Day billing with Southern California Edison, and want to change my existing "Sunset" program (which operates a dozen lights) so that a few turn on at sunset, regardless of the time, but the remainder only turn on when the sun has set AND it is after 6:00 PM (when electrical rates are cheaper). How do I to this? My existing program merely turns the lights on at sunset (to the appropriate levels) regardless of the time of day. Thanks! Quote
mitch236 Posted February 15, 2010 Posted February 15, 2010 I don't have the program in front of me but it is very easy. I'm a newbe but what I would do is If: ( Time is Sunset And Time is >6:00:00Pm ) Then: Set 'Yourlights' On Quote
Sub-Routine Posted February 15, 2010 Posted February 15, 2010 Hi mitch236, That will work if sunset is after 6PM. mhornak, Create a program called Sunset Status If From Sunset To Sunrise (next day) Then - No Actions - (To add one, press 'Action') Else - No Actions - (To add one, press 'Action') Make a folder with your Night Rates. Folder Conditions for 'Night Rates' Add conditions to limit when programs in this folder are allowed to run. If From 6:00:00PM To 6:00:00AM (next day) Then Allow the programs in this folder to run. In this folder another program, Outside Lights On If Program 'Sunset Status' is True And Folder 'Night Rates' is True Then Set Scene 'OL Evening' On Else - No Actions - (To add one, press 'Action') By using the conditions of both the folder and the sunset the program will Run Then when both become true. Rand Quote
mitch236 Posted February 15, 2010 Posted February 15, 2010 I see the logic. But what if I changed my program to say: If: ( Time is From Sunset To Sunrise (same day) And Time is >6:00:00Pm ) Then: Set 'Yourlights' On Quote
mhornak Posted February 15, 2010 Author Posted February 15, 2010 Thanks very much guys. This helps a lot. I'll tweak it a bit, as I don't need the 6:00 PM qualifier on weekends, as rates on weekends are night rates. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.