I'm trying to set up some programs that will control my fan speed by both the wall switch (KeypadLinc where I have OFF, LOW, MED, HIGH buttons) and a wireless mini remote where one button is used to cycle the speeds. I also have it beeping to indicate what speed it's set to since I may not be able to see the light that is lit up on the KeypadLinc. Any ideas what I'm doing wrong here? Here is an example of the fan medium program.
It seems that this works one time (from off to low or what not) but then after that somehow all the programs run at the same time, and it beeps a bunch of times FanSpeed is a Integer variable
FanSpeed 0 is off , 1 is low, 2 medium, 3 is high
Fan Med - [ID 0023][Parent 002B]
If
Control 'Bedroom / Fan / Fan Medium Button' is switched On
Or-(
| Control 'Bedroom / Remote - Fan Speed' is switched On
| Or Control 'Bedroom / Remote - Fan Speed' is switched Off
| And $FanSpeed is 1
-)
Then
$FanSpeed = 2
Set Scene 'Bedroom / Fan / Fan Medium' On
Set Scene 'Bedroom / Fan / Fan Medium' Beep
Set Scene 'Bedroom / Fan / Fan Medium' Beep
Else
- No Actions - (To add one, press 'Action')