In my living room alone, I have about 8 different lighting “scenes” for a variety of hue & non-hue lights. I really wanted more control over which scene would run than what I was able to do achieve just using “hello home” actions and/or any one SmartApp. It took me a while to figure out a configuration that works for me, so I thought I would share.
Overview of the Setup
There are basically three components to my setup: (1) a virtual switch for each scene, (2) an app that causes the virtual switch to turn on based on any number / combination of triggering events, and (3) an app that monitors the virtual switch and that runs the lighting “scene” when the virtual switch is turned on. I like this setup because it separates the triggers from the actions, and thereby gives my home setup much more flexibility.
The Devices & Apps I use for those 3 components:
- I use the “On / Off Button” device type for my virtual switches.
- I use the default Hue Mood Lighting app to cause a virtual switches to turn on. Even though I’m not controlling a Hue light in this step, I like that smartapp because it contains complex code for multiple triggering events for each scene.
- I use this SC4HL (“Switch Control for Hue Lights”) app to monitor the virtual switch and then to run the selected lighting scene. This app can trigger on or off 2 separate groups of hue lights & and 2 separate groups of switches. Each group of hue lights can contain different color and level. This app also turns off the scene through monitoring no motion in 1 or more selected motion detector for the time I want.
Real-world example #1:
- I created a virtual switch called “LR Morning Scene.”
- I have the Hue Mood Lighting app trigger that “LR Morning Scene” switch through any one of the following events: at 7 am, by motion in my Living Room motion detector (only when the mode is “Morning”), by the Front Door opening (also only when the mode is “Morning”), or by my wife’s or my arrival via presences tags (also only when the mode is “morning”). **I have a “Hello Home” action turn the mode to “Morning” a little after sunrise.
- I use my SC4HL app to monitor the LR Morning Scene switch, and to set a nice mellow lighting scene for about half of my living room and kitchen lights. I set the app to turn the scene off when there is no motion for 30 minutes in either the Living Room or Hallway motion detectors.
Real-world example #2:
- I created a virtual switch called “LR Sleepy Scene.”
- I have the Hue Mood Lighting app trigger that “LR Sleepy Scene” switch through any one of the following events: at midnight, by motion in my Living Room or Hallway motion detectors (only when mode is “Sleepytime”), or by the Front Door opening (also only when mode is “Sleepytime”). **I have a “Hello Home” action turn the mode to “Sleepy” at midnight.
- I use my SC4HL app to monitor the “LR Sleepy Scene” switch, and to set just few key lights to Blue at 10%. I have the scene turn off when there is no motion for 5 minutes in either the Living Room or Hallway motion detectors.
Again, this setup may be unnecessarily complex for some, but it really allows for specific, customized automatic control of a lot of different scenes through a lot of different triggers. As an added bonus, I use an old tablet to run Alex625’s “ACTion” smartapp and include the LR scenes - this gives me (and THE WIFE) easy manual override.