This new lighting app looks great. I have a scenario that I have kind of working under the rule machines, but not quite as robust as I might like. Here's what I would like to have happen:
When the garage door is opened, turn on the lights in the garage
If it's between sunset and sunrise AND the garage door is open
- When motion is dected by the Ubiquiti doorbell, turn on the lights in the garage
Turn off the lights 10 minutes after the final above event
I have a rule in the old rule machine that does part 1. It also sets a delayed action to turn off the light.
For part 2, I have an event in the current rule machine that has a required expression for the sun bring down and the door being up. It then has a trigger for motion on the doorbell. The actions are to turn on the lights and turn them off 10 minutes later.
For the most part it works well. However, I noticed the other day that after I had closed the door, I went out to the garage not too long after I had closed the door. The light was off, so I flipped the switch to turn it on. A few seconds later, it turned itself off again. So I turned it back on. Then it turned itself off. After fighting with it for 3 or 4 times I gave up and used the flashlight on my phone. I suspect (though didn't take time to check logs) that there were a lot of "turn off" events queued up do to the motion while the door was open.
This new room lights app looks like it might be the ideal solution. But I don't see a way to have both my "always turn on the light when the garage door is opened" and my "only turn on the light for motion if it's dark outside and the door is already open" conditions as means to activate the lights.