BryanLee Posted January 28, 2016 Share Posted January 28, 2016 I would like to use one button on a SwitchLinc to control a FanLinc's speeds. My thoughts are this: Pressing the button turns the fan on low, and beeps the SwitchLinc once, it also sets a five second countdown. Pressing the button again within this five second countdown cycles through Medium (2 beeps), High (3 Beeps) Off. Each button press resets the countdown timer to five seconds. If the button is pressed after the five second countdown, it sets the fan to off. I've been doing some searches but am still scratching my head. Can anyone give me some pointers? Link to comment
jerlands Posted January 28, 2016 Share Posted January 28, 2016 I don't have a fanlinc but I imagine you could do this with a couple variables and 4 programs or so... if control switchlinc is switched on then "variable 1" +=1, "variable 2" =1, wait 5 second, "variable 2"=0 <<-- 1st program if "variable 1"=1 and "variable 2"=1 then set fanlinc low, beep 90 <<-- 2nd program if "variable 1"=2 and "variable 2"=1 then set fanlinc medium, beep 180 <<-- 3rd program if "variable 1"=3 and "variable 2"=1 then set fanlinc high, beep 250 <<-- 4th program if control swichlinc is switched on and variable 2=0 then fanlinc off <<-- 5th program something like that... Jon... Link to comment
BamBamF16 Posted January 28, 2016 Share Posted January 28, 2016 I have 4 programs for each fan I do this with. If fan off and KPL a control on then set fan hi If fan hi and KPL a control on then set fan med . . Link to comment
stusviews Posted January 29, 2016 Share Posted January 29, 2016 Based entirely on the suggestions provided by jerlands and bambamf16. Thanks to you both. Four scenes. Only the first two devices are of concern, CR FanLinc-Motor (FanLinc Motor) and CR KPLH CR Fan (KPL button H). Although the scenes appear alike, the speed setting is set at the beginning of each scene, for example Four Programs: CR Fan HighIf Control 'CR / Devices / CR KPL LR Light / CR KPLH CR Fan' is switched On <--the button And Status 'CR / Devices / CR FanLinc-Light 80 / CR FanLinc-Motor' is Off <--the motor Then Set Scene 'CR / Scenes / CR Fan-High' On <--the scene CR Fan MediumIf Control 'CR / Devices / CR KPL LR Light / CR KPLH CR Fan' is switched On And Status 'CR / Devices / CR FanLinc-Light 80 / CR FanLinc-Motor' is High Then Set Scene 'CR / Scenes / CR Fan-Medium' On CR Fan LowIf Control 'CR / Devices / CR KPL LR Light / CR KPLH CR Fan' is switched On And Status 'CR / Devices / CR FanLinc-Light 80 / CR FanLinc-Motor' is Med Then Set Scene 'CR / Scenes / CR Fan-Low' On CR Fan OffIf Control 'CR / Devices / CR KPL LR Light / CR KPLH CR Fan' is switched On And Status 'CR / Devices / CR FanLinc-Light 80 / CR FanLinc-Motor' is Low Then Set Scene 'CR / Scenes / CR Fan-Off' Off The scenes serve to allow both other controllers and use of the Echo to change the speed. The programs allow cycling through high, medium, low and off using one button. I may add beeps later. And thanks to BrianLee for the inspiration to begin with. Link to comment
larryllix Posted January 29, 2016 Share Posted January 29, 2016 Unfortunately the beep parameter does not function so it isn't a good feedback. Link to comment
stusviews Posted January 29, 2016 Share Posted January 29, 2016 Another use for the BuzzLinc Link to comment
fryfrog Posted January 30, 2016 Share Posted January 30, 2016 I use one button to control the speed of my whole house fan (5 total speeds, another house has one with 7), a single button actually has a lot of great modes you can track. I set the keypad button to "on only" (or whatever it is called), to make things simple. Now you have long press on (fade up), fast on (double press) and on (normal press). Logically, I like single press being increase speed and double press being decrease speed. I use long press for a forced off, so you don't have to decrease speed until its off. I have a couple of programs that just watch this and increment or decrement a state variable. Link to comment
BamBamF16 Posted January 31, 2016 Share Posted January 31, 2016 One other thing I do is add fast on to directly turn the fan of from any level. Add as a second or condition to the off program. Link to comment
Recommended Posts