Jump to content

Conditions based on both Time and Sunset


mhornak

Recommended Posts

Posted

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!

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...