bcsh Posted February 9, 2015 Posted February 9, 2015 I wanted to create a scene using my Insteon Keypad and 2477S to control a bathroom fan. I want the fan to turn on for 15 minutes when I press button A I want the fan to turn on for 45 minutes when I press button B I am wondering what the best way to program that using the admin console? and if you have any suggestions. Thank You
stusviews Posted February 9, 2015 Posted February 9, 2015 If Control 'KeypadA' is switched On Then Set '15-minute Scene with 2477S with ButtonA' On Wait 15 minutes Set '15-minute Scene with 2477S' with ButtonA' Off 15-minute scene has Button A as a controller and the 2477S as a responder. Repeat for a 45-minute scene.
EricK Posted February 9, 2015 Posted February 9, 2015 Bcsh, You can make this as complicated or simple as you want. Here is a scenario which may or may not come into play for you. If not then ignore the rambling. We have the shower fan controlled by a switch linc and a Kpl button on my and my wife's bathroom Kpl. The fan is set to run on for 45 minutes, I think, with a program just like stu provided above. The flaw in my system is that if the fan is still on after one of us showers and then the other goes to shower you have to turn off the fan with the Kpl then turn it back on to reset the timer. (Irealize I could use a variable and each time the button is pressed add more time.) You have two buttons to control the fan so more flexibility. You could set this up so that if A or B is running and you press the other button, the button that was running turns off and it's program is cancelled. The newly pressed buttons program then runs. Say you hit A, but realize you really need 45 minutes. Well you could just turn A off, then hit B. But that is two button presses. Or you could set this up to just hit B, which could be set to turn off the A button, turn off the A program, run program B. Stu could help better with the programming, but I think you would need to add to the If: and control 'keypad B' is not on, which would make that program false. You would also need a separate scene with just the A button as a responder. Set that scene off in the then part of the B program. Eric
bcsh Posted February 9, 2015 Author Posted February 9, 2015 If Control 'KeypadA' is switched On Then Set '15-minute Scene with 2477S with ButtonA' On Wait 15 minutes Set '15-minute Scene with 2477S' with ButtonA' Off 15-minute scene has Button A as a controller and the 2477S as a responder. Repeat for a 45-minute scene. I did this but when I press the 45minute button after I press the 15min one it still turns off the 15 minutes. What is the command im looking for?
Jimbo.Automates Posted February 9, 2015 Posted February 9, 2015 (edited) Right click on the programs and select copy to clipboard and paste in a post and someone can help you debug the issue. Edited February 9, 2015 by Jimbo
Jimbo.Automates Posted February 9, 2015 Posted February 9, 2015 (edited) Looking at the example, you will need something to stop the 15 minute program from running, so add an if control Keypad B is not switched on. Then watch the programs in the Admin Console and make sure the first one stops running when the second one starts. Edited February 9, 2015 by Jimbo
bcsh Posted February 9, 2015 Author Posted February 9, 2015 What I ended up doing is creating a scene with just the button. then at the beginning of a button press it turns off the other button keeps the fan on and restarts the clock at the new scene. Everything seems to be working great!
Recommended Posts