Canz Posted October 22, 2013 Posted October 22, 2013 Hello, I am trying to use a 6button Keypadlinc as a timer. I was planning on using the "On" button to turn on the device and the "Off" button to turn off the device and the scene buttons as periods of time, that I can later adjust. So let’s say each in 15min increments ex. "scene A" would be 15min, "scene B" would be 30min, "scene C" would be 45min and "scene D" would be 60min. When a different Scene is selected it would end the previous scene. I was thinking of creating programs to control each of these, but I was wondering if anyone had any direction I could head. Thanks, Matt
knight Posted October 23, 2013 Posted October 23, 2013 You might want to check out this: http://wiki.universal-devices.com/index ... down_Timer which was taken off of here: http://wiki.universal-devices.com/index ... w-To_Guide Hope this helps. Knight.
oberkc Posted October 23, 2013 Posted October 23, 2013 Hello, I am trying to use a 6button Keypadlinc as a timer. I was planning on using the "On" button to turn on the device and the "Off" button to turn off the device and the scene buttons as periods of time, that I can later adjust. I suspect the wiki references, above, are more complicated than you need. The wiki approach is based on a single switch to control the timer...you are proposing a keypadlinc. I believe the use of a keypadlinc simplifies things a bit. The solution could be influenced by how you want the buttons to behave, and the device that actually powers the fan (assumed is this keypadlinc). I understand that you want main ON button to be continuous (no countdown). Main OFF, obviously, turns the fan off immediately. If button A is 15 minutes, how do you want your system to react if you press button A once, then press it again before the 15 minutes expire? Do you want the countdown to restart (would be my preference)? Do you want the button and fan to turn off? If you press the main OFF button, do you want all other buttons to immediately turn off (assumed yes)? What if you press the 30-minute button, then press the 15-minute button (or vice versa), how do you want the system to respond? I think I would approach this with a variety of tools, both scenes and programs. First, I would configure buttons A-D to be in non-toggle ON mode. Second, I would create a scene that includes all four buttons A-D, all as controllers, with on-levels for responder devices at zero. This accomplishes two things. First, it ensures that when I press any of the four buttons, it will send an ON command. Second, when I press any of the four buttons, the other three buttons turn off. I would then create four programs, nearly identical: Programs 1-4 if control button 1 is set ON run program 2 (else path) << run program 3 (else path) run program 4 (else path) then Turn on keypad main button wait X minutes Turn off keypad main button << Turn off 4-button scene << else I would then create a fifth program, to turn off buttons A-D when Main button is turned off: Program 5: if control main button is turned off then turn off 4-button scene else
Canz Posted October 23, 2013 Author Posted October 23, 2013 Thank You for your reply sounds easy enough. To answer some of your questions Yes, if I where to hit button A for a second time I would want the countdown to restart. Yes, I would like the fan turn off the fan and "scene" button to turn off when the timers expire. When Main OFF is pressed everything turns off and returns and resets. And if the 30min is running and I press the 15min I would like the 30min to stop and the 15min to begin. Or likewise if the 15 or 30 are running and the 45min is pressed they would also stop and the 45min would start, however I would like the fan to continue to run though the changeover. Below is what I came up with last night, which seemed to work correctly however I didn't get to test the going from 15min to 30min as described in the above paragraph. I did set up a scene with all 4 buttons A-D as Responders and I left them in toggle ON mode. And Just to Confirm you recommend changing them to Controllers? Fireplace Fan_A 10min If Control 'Devices / Fireplace Fan / Fireplace Fan - A' is switched On Then Repeat 8 times Wait 10 minutes Run Program 'Fireplace Fan Off' (Then Path) Wait 20 minutes Set 'Devices / Fireplace Fan / Fireplace Fan' On Repeat 1 times Run Program 'Fireplace Fan Off' (Then Path) Else - No Actions - (To add one, press 'Action') Fireplace Fan_B 15min If Control 'Devices / Fireplace Fan / Fireplace Fan - B' is switched On Then Repeat 8 times Wait 15 minutes Run Program 'Fireplace Fan Off' (Then Path) Wait 30 minutes Set 'Devices / Fireplace Fan / Fireplace Fan' On Repeat 1 times Run Program 'Fireplace Fan Off' (Then Path) Else - No Actions - (To add one, press 'Action') Fireplace Fan_C 30min If Control 'Devices / Fireplace Fan / Fireplace Fan - C' is switched On Then Repeat 8 times Wait 30 minutes Run Program 'Fireplace Fan Off' (Then Path) Wait 30 minutes Set 'Devices / Fireplace Fan / Fireplace Fan' On Repeat 1 times Run Program 'Fireplace Fan Off' (Then Path) Else - No Actions - (To add one, press 'Action') Fireplace Fan_D 45min If Control 'Devices / Fireplace Fan / Fireplace Fan - D' is switched On Then Repeat 8 times Wait 45 minutes Run Program 'Fireplace Fan Off' (Then Path) Wait 30 minutes Set 'Devices / Fireplace Fan / Fireplace Fan' On Repeat 1 times Run Program 'Fireplace Fan Off' (Then Path) Else - No Actions - (To add one, press 'Action') Fireplace Fan Off If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Set Scene 'Devices/ Fireplace Fan/ Fireplace Fan Scene' Off Set 'Devices / Fireplace Fan / Fireplace Fan' Fast Off Set 'Devices / Fireplace Fan / Fireplace Fan' Off Else - No Actions - (To add one, press 'Action') Hopefuly this gives you more of a idea of where i was headed in my thinking. Thanks Again for all of your help.
oberkc Posted October 23, 2013 Posted October 23, 2013 And Just to Confirm you recommend changing them to Controllers Yes, controller. The goals of the scene I suggested is to go figure the keypad such that when one presses one of the four secondary buttons, the other three turn off. For this, each bottom must be a controller of the other three.
Recommended Posts