themlruts Posted August 31, 2015 Posted August 31, 2015 I have a 6 button KBL I have button B controlling a variable for fan speed. If Control 'Inside / Living_Room / Devices / Living Room KPL / LR_Keypad- B' is switched On Then $Living_FanSpeed += 1 Else - No Actions - (To add one, press 'Action') Program fan speed high If $Living_FanSpeed is 1 Then Set 'Inside / Living_Room / Devices / LR_Fan-Motor' High Else - No Actions - (To add one, press 'Action') To control the kpl button light I have this program read the following If $Living_FanSpeed >= 1 Then Set Scene 'Inside / Living_Room / Scenes / LR_Fan_KBL_Light' On Else Set Scene 'Inside / Living_Room / Scenes / LR_Fan_KBL_Light' Off I know the light on the switch works because when i press it, it lights then shuts off. Also looking in the console it shows it on. Let me know your thoughts ThanksMike
Jimbo.Automates Posted August 31, 2015 Posted August 31, 2015 Is Living_FanSpeed a integer or state variable? It must be a state to trigger the program. After that, we can work on what exactly you want to happen if you give us more details on your goals.
themlruts Posted August 31, 2015 Author Posted August 31, 2015 Jimbo Its a state. The weird part is that it had been work fine. The only thing I did was to create an all living room lights scene to shut off all lights in the room
Recommended Posts