maniac36 Posted December 4, 2007 Share Posted December 4, 2007 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 More sharing options...
zipperman19 Posted December 4, 2007 Share Posted December 4, 2007 Not really, but you could make a button on a keypad, or a custom button disable the alarm! Link to comment Share on other sites More sharing options...
jeffh Posted December 5, 2007 Share Posted December 5, 2007 On a related note, is there a way to disable alarms from programming? I would like my alarms to go off only onceas 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 More sharing options...
zipperman19 Posted December 5, 2007 Share Posted December 5, 2007 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 More sharing options...
maniac36 Posted December 6, 2007 Author Share Posted December 6, 2007 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 More sharing options...
zipperman19 Posted December 7, 2007 Share Posted December 7, 2007 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 eventsWhen 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 falseThen in the programming variable areaWhen 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 RedThis 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 More sharing options...
maniac36 Posted December 7, 2007 Author Share Posted December 7, 2007 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 More sharing options...
henniae Posted December 7, 2007 Share Posted December 7, 2007 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 More sharing options...
zipperman19 Posted December 7, 2007 Share Posted December 7, 2007 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 More sharing options...
maniac36 Posted December 7, 2007 Author Share Posted December 7, 2007 It is unchecked :/ Link to comment Share on other sites More sharing options...
zipperman19 Posted December 7, 2007 Share Posted December 7, 2007 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 -ProgrammingSet properly like the attached picture shows. Link to comment Share on other sites More sharing options...
maniac36 Posted December 7, 2007 Author Share Posted December 7, 2007 I don't have it cascading like that, it's all in a vertical line. How do you make it cascade, I'm obviously doing something wrong? Link to comment Share on other sites More sharing options...
zipperman19 Posted December 7, 2007 Share Posted December 7, 2007 All you need to do is hold the statement, that needs to cascade, directly on the if statement question mark. (it should make a little right arrow to the bottom right of your cursor) Link to comment Share on other sites More sharing options...
maniac36 Posted December 7, 2007 Author Share Posted December 7, 2007 Thank you!!! I'll try it in the morning and let you know if it worked. Link to comment Share on other sites More sharing options...
zipperman19 Posted December 7, 2007 Share Posted December 7, 2007 No problem, you're welcome. Just make sure you make the statements cascade under the if statements in the "When the variable Variables-> alarm changes" and "When schedule event "wakeup time" executes" and you should be good. Link to comment Share on other sites More sharing options...
zipperman19 Posted December 10, 2007 Share Posted December 10, 2007 Does it work? Link to comment Share on other sites More sharing options...
maniac36 Posted December 11, 2007 Author Share Posted December 11, 2007 No, unfortunately it didn't work. The button lights up like it should, indicating that it's on but it didn't override the wakeup sequence????? Link to comment Share on other sites More sharing options...
zipperman19 Posted December 11, 2007 Share Posted December 11, 2007 I think that's happening because "-Execute "wakeup" scene (which is aready set for the correct rooms)" isn't dragged under "-If variable "alarm" is true" in the scheduled event area. Link to comment Share on other sites More sharing options...
maniac36 Posted December 12, 2007 Author Share Posted December 12, 2007 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.