Jump to content
C4 Forums | Control4

Turning on timer on weekends only


Recommended Posts

I have a small electric water heater in my pool cabana that is on a relay that is controlled by a Card Access Contact Relay. Note that this is because the heater consumes too much power (1500W I think) to use a regular C4 switch or outlet switch. I want the heater to turn on at 10am on weekends only and turn off at 11 pm. I also have a 6 button switch tied to this to manually turn it on and off.

Here is how I am currently programming it. I have a Boolean Variable called Heater and Scheduler Events called Heater On at 10AM and Heter Off at 11PM

Here is my code:

When Scheduled event Heat On executes
? If month = May, June, July, August or September
?If day of the week is = Sunday or Saturday
->Variables->Heater=True

When Variable Variables-> Heater changes
?If Variables->Heater is True
->Turn LED:2 ON on Cabana->6-Button Keypad
->Turn the Cabana->Heater on
?If Variables->Heater is False
->Turn LED:2 OFF on Cabana->6-Button Keypad
->Turn the Cabana->Heater off

Is this the best way of doing this or is there a better way? Using the Variable Heater On also simplifies using the 6 button as well since I just toggle the variable when the 6 button is pushed.

Link to comment
Share on other sites


Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.