Dealing with multiple groups of lights, inconsistent turn off/on #983
Replies: 2 comments 2 replies
-
Just some thoughts:
The zigbee group is then exposed to HA as a single entity. For my Hue lights (which are zigbee), I only use the groups. Individual bulbs are all disabled. Even in my entrance where I only have one bulb, I still use a zigbee group. Using the zigbee group will solve the issue of them turning on and off one-by-one. This isn't an issue with AL, but the fact that HA is issuing individual commands to each individual thing in your HA group. The Zigbee group will issue a single broadcast command and all members will respond at the same time. So maybe create three different zigbee groups: recessed, pendant, recessed+pendant. Use those three entities depending on what you want to do instead. One of the issues with Ikea lights seems to be that they do not respond to commands if they are actively doing something. So if you call "turn off" while they are adapting color they won't see the command. So you can decrease the frequency at which the lights adapt and that will decrease, but not fully eliminate, the potential issue. Or split up your AL config and separate the pendant lights from others. See if isolating the options required for the Ikea bulbs to apply to only the Ikea bulbs helps smooth out your experience. You could also write an that triggers when an "off" command is sent to the pendant group and have it re-check the state every five seconds. If the state is still on, try sending the off command again. |
Beta Was this translation helpful? Give feedback.
-
Hey @gravityrebel this was the problem for me "One of the issues with Ikea lights seems to be that they do not respond to commands if they are actively doing something." I modified the AL settings to not send out too many concurrent messages to the lights. You're absolutely right on everything else and I recently re-read the whole AL README and decided I need to re-do my config for these and other similar lights. I plan to do that next month. |
Beta Was this translation helpful? Give feedback.
-
All the lights in my kitchen are tunable white, but they aren't all the same.
I have 4 zigbee ledvance recessed lights, 3 zigbee ikea tradfri pendant lights, and 1 LED strip using a shelly RGBW2 as the controller.
The recessed lights are in their own group in HA, same for the pendant lights, and the LED strip is a light template.
I have all three groups in one overall group called kitchen lights.
I have an adaptive lights config specifically for the kitchen lights, and I've added the overall group "kitchen lights" to it.
The problem is every now and then when I turn off the lights one set of lights doesn't turn off, its usually the pendent lights.
I've tried a bunch of different configs and nothing seems to work correctly. The biggest issue is if I change the last few settings in the adaptive lights config, one set of lights doesn't work. For instance if I turn off "separate_turn_on_commands" the LED strip light won't respond to light turn on/off events.
When I added each individual light to the kitchen adaptive light config, the lights turned off one by one and in many cases at least two or three random lights would stay on.
This also only seems to be a problem when the lights are turned on and off through an automation. Since the lights are smart, I'm using a shelly1pm on the light switch to control the state of the lights. The shelly is setup as an edge switch so it doesn't trip the relay, which stays on all the time. Instead the state of the input on the shelly triggers an automation that changes the state of the overall kitchen group in HA.
I also have the problem that the three sets of lights don't all have the same lower and upper limits for color temp, so I'm not sure how best to group them all for consistent color look through the day.
Any help with how to configure such a setup to consistently turn all the lights on and off?
Beta Was this translation helpful? Give feedback.
All reactions