Jump to content
C4 Forums | Control4

Having some scheduler issues......


maniac36

Recommended Posts

In Composer HE I've got a schedule for a wakeup scene. My problem is on holidays (thoughout the week), when I don't want to wake up at 0 dark hundred! I'm currently being woken up and having to turn the wake up sequence off. Is there any way of having scheduler recognize holidays and not activate the wake up sequence? Thanks

Link to comment
Share on other sites


On a related note, is there a way to disable alarms from programming? I would like my alarms to go off only once

as I do not use them every day. Looking around in Composer HE, I do not see a way to disable wakeups for a room.

Link to comment
Share on other sites

You need to make a boolan variable. Have a button on a keypad trigger it true and false. Then when you wakeup scene executes, look if the variable is true. If it is true, the execute the wakeup scene, if not then don't execute the wakeup scene.

You can setup there wakeup scene so you need to enable it each day, like a regular alarm clock. Or you can set it up to play everyday and have an "off" button. Then have the LED of the keypad change depending on if the scene is on or off.

Link to comment
Share on other sites

I'm not familiar with boolean variables! Could someone help me with the programming. Basically, I have a wakeup sequence programmed for every weekday. I'm now looking to be able to push a button on my 3 button keypad to turn off the wakeup sequence as long as the button is pushed/on. This will manually override the wakeup sequence and won't trigger the sequence. Any help at all would be great!!! Thanks

Link to comment
Share on other sites

Okay first you need to create a boolean variable in the Agents->Variables area and name it "alarm" or w/e you want and set it to false.

Then you need to go to the keypad and make it say this..

When Keypad button is pressed:

-Toggle Variable "alarm"

Then under programming schedule events

When schedule event "wakeup time" executes:

-If variable "alarm" is true

-Execute "wakeup" scene (which is aready set for the correct rooms)

-Set variable "alarm" to false

Then in the programming variable area

When the variable Variables-> alarm changes

-If variables->alarm is True

-set keypad button led to Green

-If variables->alarm is False

-set keypad button led to Red

This way after the wakeup scene executes in the morning, the variable is false and the led turns red. Then at night before you go to bed you can press the button to set the alarm and the led turns green as confirmation. If you decide you want the alarm to be on all the time unless you hit the keypad button, then all you need to do is remove "-Set variable "alarm" to false" in the schedule event area.

Hope that helps!

Link to comment
Share on other sites

Zipperman19 thanks very much for your help. I've done everything you mentioned, I haven't been able to test to see if it works yet or not. One thing though is that when I press the button to turn the override on the led doesn't stay on. When I press the button the led lights up for a second and then turns off. I press it again and same thing. I made a couple of changes with regards to the colors, but that shouldn't make a difference. I also deleted the "-set variable "alarm" to false" under programming schedule. Other then that, I don't know what to do from here. If need be I can post some screen shots?????

Link to comment
Share on other sites

Zipperman19 thanks very much for your help. I've done everything you mentioned, I haven't been able to test to see if it works yet or not. One thing though is that when I press the button to turn the override on the led doesn't stay on. When I press the button the led lights up for a second and then turns off. I press it again and same thing. I made a couple of changes with regards to the colors, but that shouldn't make a difference. I also deleted the "-set variable "alarm" to false" under programming schedule. Other then that, I don't know what to do from here. If need be I can post some screen shots?????

Try unchecking the "keypad managed" check box.

If you want the LED color to change when the button is pushed and release, put a check in the by next to Keypad Managed. If Keypad Managed is checked, the LED state is controlled by pressing the buttons on the keypad. If Keypad Managed is unchecked, the LED state can be controlled by custom programming.
Link to comment
Share on other sites

hanniae is correct. I forgot to mention about unchecking the "keypad managed" button. Also in the code, you could put -set variable "alarm" to true so it would automatically rearm itself after a holiday incase you forgot to push it before bed. But that may get annoying for long holidays, or when you go out of town!

Link to comment
Share on other sites

Are you sure it's unchecked for the correct button? Each button on the keypad is managed seperatly. Also make sure you have the "set color" and any other programming that I spaced under an if statement; such as:

-IF something happens

-Programming

Set properly like the attached picture shows.

Link to comment
Share on other sites

I've double checked everything and it looks to be right. Do I need to delete anything from the original wakeup sequence? I don't know if this matters any, but I do have two wakeup sequences being executed (one in the master bedroom & one in the ensuite). Under programming - wakeup - wakeup events - "wakeup" scene executes - "If variable "alarm" is true. Cascading under that is "Execute wakeup in master", then under that is "Execute wakeup in ensuite"

How do you post screen shots?

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.