i have a simple automation for turn on the light by detecting motion.
there are 3 setups based on the daytime modifying the brightness. Thats working excellent and has just one annoying side effect.
When the automation for turn on light with 20% brightness was triggered, the light turn on with 100% for a millisecond and will then adjusted down to 20% brightness. In a dark room, it looks like lightning and is not good for the eyes.
it is more a question of the sorting and order in which automations are processed?
could someone solve this effect?
That’s a good hint. i didn’t have this new feature on my focus.
I will update my automation and test it this evening. let’s see if it works and the flickering disappears.
Hi,
i changed my automation to the “choose” option and delete all other automation for the same light.
My brand for the light is IKEA Tradfri in this case.
The result are a bit astonishing, because the behavoir are now excactly reversed to the first issue.
When the light is triggered the brightness turn on to 20% percent for 1-3 milliseconds and then adjust to 100%. this is not that much annyoing like the flash in the that other case, but for my personal requirement im looking for a perfect solution, if it possible.
If you are using the Ikea Intergration and have multiple bulbs , you can change the brightness on the group rather than the bulbs , this should give a smooth transition . In your automation you can give a transition to solve the “lightning effect”
There is a bug in Ikea intergration. If your bulbs support hue and brightness they cannnot be changed in the same service call. You need to seperate them into two service requests and put a pause between them longer than the transition.
I have a script moodlight.yaml that give me three different moods from an input.select which transitions without a “lightning effect”. I cannot use scences because of the above error . Also i am changing 6 bulbs at once, and using Light groups which changes each bulb in turn, again giving a less than smooth change.
light_state:
name: Living Room Light State
options:
- "Off"
- Dark
- Relaxed
- Bright
- Unknown
icon: mdi:lightbulb
Light.ikea is Ikea Group and light.all_living_room is the group of 6 bulbs in HA.
So the trick is change the hue (color_temp) first wait than change the brightness with the ikea group. This will give a very smooth effect , similar to the Ikea App
Hi,
thanks for your hints.
I’ve found a solution that works like a charm.
Firstable, to put the light into a group should be better for transition and brightness, thats right. Im using deconz zipbee adapter that support groups on the hub and can be focused on the ha.
But the key to prevent the flashing by multiple automation for the same device, is to define a end-time as condition.
In my case i build my automation in that way:
The second automation for the night, put i in a other automation that have a condition for sunrise “above_horizon” that alway works fine.