I am attempting to create an automation that will set the brightness of three Zigbee Eaton Halo lights, without turning them on or off. They are already controlled by a timed motion sensor for on/off. What I want to do is at 6am, set the brightness to 75% (again, without turning them on), then at 8pm, I want the brightness to get set to 15%.
It looks like the only available options in the Automation GUI are Turn on, Turn off, Toggle, Increase and Decrease. I see no place to set the brightness level.
What am I missing here? I would think this Automation should be easy to pull off.
No, these were added with a simple Zigbee scan after I removed them from the Mozilla IoT hub. So I guess this is part of the zigbee integration. I was using the Conbee II Zigbee dongle on that system. This one (Home Assistant) uses the Nortek adaptor. Perhaps that is enough of a difference.
Come to think of it I’ve recently been using adaptive lighting. It does just that, changes the brightness depending on the time of day without turning the light on, shade of white light as well. I think this should do what you need.
While I was not able to add on the repository for Adaptive Lighting, I did manage to make it work using a different method. Not sure why I couldn’t add it, but HA would just hang whenever clicking save.
I ended up adding a time range Condition and added one more automation. The “Timer Off” Automation works with both. So what I have now looks like this:
It is designed to stay on for 3 minutes AFTER the motion stops. As long as there is movement, they should stay on forever as it constantly resets with motion. I just started with 3 minutes, and will probably adjust accordingly after living with it for a few days. You know, just to get a feel for it.
There’s an entirely different way to do that in Home Assistant that doesn’t involve using a timer entity.
FWIW, although I have an automation that does what you are attempting to create (motion-activated light that operates only at certain times of the day and whose brightness is based on a schedule … and can be temporarily bypassed by the end-user via the wall-switch), you might be better served by exploring some of the existing Blueprints designed for this purpose.
Very nice link. I had read a mention about the Blueprints but had not yet investigated anything about them. I will give this a good hard look this evening and get some ideas from it for sure. Thank you very much for this! Every little tidbit helps when one is a beginner.
I have used Mozilla IoT for about 1.5 years, and had basically run into its limitations. That was when I bought another RPi4 and put HA on it, and have been slowly moving things over from it. Well yesterday afternoon, somewhere a power transformer caught fire and my lights all started flickering about 5 times per second. Well, you know what happens whenever you flick on and off Zigbee lights that quickly. Yes, they reset. They ALL reset. So I basically started from scratch with Zigbee. So I just decided to move it all over at once at that point.
I also suggest you consider looking at the Light Group integration (not to be confused with the Group integration). It would let you create a virtual light consisting of the four Eaton Halo lights. Set the virtual light to on at 10% brightness and all four Halo lights will follow suit. It simplifies your automation because now it only needs to act on one (virtual) light. If you ever add a fifth light to the Light Group, the automation doesn’t need to be updated.