Yes, it is definitely possible using the switch as the controller. You'll need to make changes to both RL instances to make it work. In the Mood Lighting app, you'll need to do two things:
1.) Under Means to Activate, add the Kitchen Overhead switch turning off to go with the time.
2.) In activate light options, you want to add two limits. The first being the kitchen overhead switch being on. The second being time between Sunset-16 minutes and 10:01pm.
In the Kitchen Cabinets RL, you need to make the following changes:
1.) In activate light options, you want to select "activate even if partially activated"
2.) In turn off light options, you want to limit turning off between times Sunset-16 and 10:01pm.
3.) In switches that determine all lights are off, put all three switches (Cabinets, Island, Kitchen Overhead).
All of these changes mean that your Kitchen Overhead switch becomes a scene controller from Sunset-16 to 10:01pm. If you turn on that switch, it will activate the brighter lights. If you turn off the switch, it will activate the Mood Lights. Outside of this time block, the switch will only activate and turn off brighter lights app.
@JB10 Tried this method last night and it would work partially, then it would not dim the cabinet lights back down after the overhead light turned off.
For now, i wrote a Rule Machine rule to pause the RL- Room Lighting
I would like to try this again, anything above you see that may have caused it NOT to dim the cabinets back down after Rule #2 was finished?
Check the logs, but I bet it was a race condition. The mood lighting tried to activate before the limitation was lifted. Do you still have the logs to confirm?
I paused the others and rebuilt this.
I add Breakfast light to disable, this is my default disable rules switch.
I also added motion to turn off when motion is not present.
It works but when i turn off overhead light, the cabinets fail to DIM back down to the correct setting.
Kitchen overhead is unchecked in the snapshot but it was for testing. ITs check for ON/OFF
The logs help. It’s saying that the RL Mood is already activated. In the activate options, select “activate even if partially activated.” That should fix this; though, a race condition is still potentially possible.
It was short lived on working. It would seem to work some times while not working correctly other times.
The cabinet lights would stay on past the time period if they triggered on from the overhead light. Would not happen often but it would happen
I checked the logs and didn’t see anything out of place.
I wrote a RM rule to pause the RL mood lighting when overhead light is turned on. It works better but still have some issues with it hanging up
I’m going to need to go back to the drawing board on this one. What I thought would be simple turned out not to be such.
@JB10
Thank you for the suggestion on the RL app for my mood lighting. I had to pause this process and try to find time to work it out. I'm going to try to work it out tomorrow before the holiday.
While building the rule, as you suggested, i experienced several instances of the mood lights changing based on the rule but then not changing anymore if the overhead light was turned on or off.
What i thought would be a basic rule turned into much more. Do you have any other suggestions to make this easier and work as intended?
@bravenel
I also tried to use a virtual switch that would pause the rule when overhead light turned on and then reenable the rule when it was turned off but that also had some issues.
As of now, I have a RM rule to pause the RL rule but it has edge case problems when the light is on and the modes changes in the house while the light is on. I also also removed the varying light setting for times or mode on the kitchen mood while trying to get this to work.