Jump to content

Fan Speed - One Button


BryanLee

Recommended Posts

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

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

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).

 

post-625-0-77430800-1454034876_thumb.jpg

Although the scenes appear alike, the speed setting is set at the beginning of each scene, for example

post-625-0-47703300-1454039516_thumb.jpg

 

Four Programs:

CR Fan High
If
        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 Medium
If
        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 Low
If
        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 Off
If
        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

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
Guest
This topic is now closed to further replies.

×
×
  • Create New...