Light Groups malfunction. Bulbs toggle differently. Gif attached

Hello guys

I really desperate here, been days trying to solve this. So I have a group of lights, 7 lights. I have automation to toggle them and also do it within my map with toggle service aswell.

So they toggle randomly with no apparent reason. So for example I toggle them on, ok. Then I toggle them off and one of the bulbs for some reason stays on (BUT ONLY H.A. WISE! the light actually turns off), after a couple of seconds all the bulbs turn on again.

This problem seems to happen more in the bigger groups (5-7 lights) rather then my groups with 3 lights. BUT sometimes happened to smaller groups

Things I tried and didn’t solve the problem:

  • Turn off adaptive light integration
  • Change the light group from configuration.yaml to zigbee integration group.
  • Change automation from light group toggle to one by one bulb toggle.
  • Have two automations, one for toggle on service and another for toggle off.
  • Reconfigure each bulb through devices screen
  • Threaten the lights

Watch the gif below for the behaviour
Animation

Hardware:

  • Conbee II with extension USB cable
  • ZHA integration
  • Ikea Trädfri GU10 bulbs

Thanks as always for your help!

I don’t think lights respond well to threats. :slight_smile:

What Zigbee integration do you use, and what coordinator ?

I’m using ZHA with Conbee II connected with USB extension as manufacturer advices

Edit: Open post edited with hardware info

I copy paste the log, the part I turn off the lights. The part where says “sending zigbee request” to each bulbs but one. The one that did not do that in the log is the one that failed in HA. I can’t understand anything else from the log

2021-11-10 18:02:18 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=light, service=turn_off, service_data=entity_id=light.luces_comedor>
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending Zigbee multicast with tsn 44 under 45 request id, data: b'012c00'
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_request (17, 45, 0, <DeconzAddressEndpoint address_mode=ADDRESS_MODE.GROUP address=0x0005 endpoint=None>, 260, 6, 1, b'\x01,\x00', 2, 0)
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x129200180011002d0001050004010600010300012c000200
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x12920009000200222d
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.api] APS data request response: [2, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, 45]
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0e93000700aa00
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_INDICATION|2: 170>, 0]
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_indication (1, 1)
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x1793000800010001
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x17930021001a00220105000102000001040106000300012c0000af0a4ac8370005
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.api] APS data indication response: [26, <DeviceState.APSDE_DATA_REQUEST_SLOTS_AVAILABLE|2: 34>, <DeconzAddress address_mode=ADDRESS_MODE.GROUP address=0x0005>, 1, <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, 1, 260, 6, b'\x01,\x00', 0, 175, 10, 74, 200, 55, 0, 5]
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy.device] Ignoring message (b'012c00') on cluster 6: unknown endpoint or cluster id: 'No cluster ID 0x0006 on (00:21:2e:ff:ff:07:1b:45, 1)'
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.api] 'aps_data_indication' response from <DeconzAddress address_mode=ADDRESS_MODE.NWK address=0x0000>, ep: 1, profile: 0x0104, cluster_id: 0x0006, data: b'012c00'
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x0e94000700a600
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [<DeviceState.128|APSDE_DATA_REQUEST_SLOTS_AVAILABLE|APSDE_DATA_CONFIRM|2: 166>, 0]
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_confirm (0,)
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x04940007000000
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x04940012000b00222d010500010000000000
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.api] APS data confirm response for request with id 45: 00
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.api] Request id: 0x2d 'aps_data_confirm' for <DeconzAddressEndpoint address_mode=ADDRESS_MODE.GROUP address=0x0005 endpoint=None>, status: 0x00
2021-11-10 18:02:18 DEBUG (MainThread) [homeassistant.components.zha.entity] light.luces_comedor: turned off: [0, <Status.SUCCESS: 0>]
2021-11-10 18:02:18 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.luces_comedor, old_state=<state light.luces_comedor=on; min_mireds=250, max_mireds=454, supported_color_modes=['color_temp'], color_mode=color_temp, brightness=254, color_temp=391, hs_color=(28.728, 70.496), rgb_color=(255, 161, 75), xy_color=(0.541, 0.389), off_brightness=None, friendly_name=Luces_Comedor, supported_features=43 @ 2021-11-10T18:01:00.360228+01:00>, new_state=<state light.luces_comedor=off; min_mireds=250, max_mireds=454, supported_color_modes=['color_temp'], off_brightness=None, friendly_name=Luces_Comedor, supported_features=43 @ 2021-11-10T18:02:18.066735+01:00>>
2021-11-10 18:02:18 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [548502600960] Sending {"id": 2, "type": "event", "event": {"event_type": "state_changed", "data": {"entity_id": "light.luces_comedor", "old_state": {"entity_id": "light.luces_comedor", "state": "on", "attributes": {"min_mireds": 250, "max_mireds": 454, "supported_color_modes": ["color_temp"], "color_mode": "color_temp", "brightness": 254, "color_temp": 391, "hs_color": [28.728, 70.496], "rgb_color": [255, 161, 75], "xy_color": [0.541, 0.389], "off_brightness": null, "friendly_name": "Luces_Comedor", "supported_features": 43}, "last_changed": "2021-11-10T17:01:00.360228+00:00", "last_updated": "2021-11-10T17:01:00.360228+00:00", "context": {"id": "d08b89e2c8be1c3885613cfeb83475e0", "parent_id": null, "user_id": "718e43cedf694b0d812e1df562c01a2b"}}, "new_state": {"entity_id": "light.luces_comedor", "state": "off", "attributes": {"min_mireds": 250, "max_mireds": 454, "supported_color_modes": ["color_temp"], "off_brightness": null, "friendly_name": "Luces_Comedor", "supported_features": 43}, "last_changed": "2021-11-10T17:02:18.066735+00:00", "last_updated": "2021-11-10T17:02:18.066735+00:00", "context": {"id": "573372deb6e6e2e3972c33be1c75e251", "parent_id": null, "user_id": "718e43cedf694b0d812e1df562c01a2b"}}}, "origin": "LOCAL", "time_fired": "2021-11-10T17:02:18.066735+00:00", "context": {"id": "573372deb6e6e2e3972c33be1c75e251", "parent_id": null, "user_id": "718e43cedf694b0d812e1df562c01a2b"}}}
2021-11-10 18:02:18 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [548199012384] Sending {"id": 2, "type": "event", "event": {"event_type": "state_changed", "data": {"entity_id": "light.luces_comedor", "old_state": {"entity_id": "light.luces_comedor", "state": "on", "attributes": {"min_mireds": 250, "max_mireds": 454, "supported_color_modes": ["color_temp"], "color_mode": "color_temp", "brightness": 254, "color_temp": 391, "hs_color": [28.728, 70.496], "rgb_color": [255, 161, 75], "xy_color": [0.541, 0.389], "off_brightness": null, "friendly_name": "Luces_Comedor", "supported_features": 43}, "last_changed": "2021-11-10T17:01:00.360228+00:00", "last_updated": "2021-11-10T17:01:00.360228+00:00", "context": {"id": "d08b89e2c8be1c3885613cfeb83475e0", "parent_id": null, "user_id": "718e43cedf694b0d812e1df562c01a2b"}}, "new_state": {"entity_id": "light.luces_comedor", "state": "off", "attributes": {"min_mireds": 250, "max_mireds": 454, "supported_color_modes": ["color_temp"], "off_brightness": null, "friendly_name": "Luces_Comedor", "supported_features": 43}, "last_changed": "2021-11-10T17:02:18.066735+00:00", "last_updated": "2021-11-10T17:02:18.066735+00:00", "context": {"id": "573372deb6e6e2e3972c33be1c75e251", "parent_id": null, "user_id": "718e43cedf694b0d812e1df562c01a2b"}}}, "origin": "LOCAL", "time_fired": "2021-11-10T17:02:18.066735+00:00", "context": {"id": "573372deb6e6e2e3972c33be1c75e251", "parent_id": null, "user_id": "718e43cedf694b0d812e1df562c01a2b"}}}
2021-11-10 18:02:18 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [548111894128] Sending {"id": 26, "type": "event", "event": {"event_type": "state_changed", "data": {"entity_id": "light.luces_comedor", "old_state": {"entity_id": "light.luces_comedor", "state": "on", "attributes": {"min_mireds": 250, "max_mireds": 454, "supported_color_modes": ["color_temp"], "color_mode": "color_temp", "brightness": 254, "color_temp": 391, "hs_color": [28.728, 70.496], "rgb_color": [255, 161, 75], "xy_color": [0.541, 0.389], "off_brightness": null, "friendly_name": "Luces_Comedor", "supported_features": 43}, "last_changed": "2021-11-10T17:01:00.360228+00:00", "last_updated": "2021-11-10T17:01:00.360228+00:00", "context": {"id": "d08b89e2c8be1c3885613cfeb83475e0", "parent_id": null, "user_id": "718e43cedf694b0d812e1df562c01a2b"}}, "new_state": {"entity_id": "light.luces_comedor", "state": "off", "attributes": {"min_mireds": 250, "max_mireds": 454, "supported_color_modes": ["color_temp"], "off_brightness": null, "friendly_name": "Luces_Comedor", "supported_features": 43}, "last_changed": "2021-11-10T17:02:18.066735+00:00", "last_updated": "2021-11-10T17:02:18.066735+00:00", "context": {"id": "573372deb6e6e2e3972c33be1c75e251", "parent_id": null, "user_id": "718e43cedf694b0d812e1df562c01a2b"}}}, "origin": "LOCAL", "time_fired": "2021-11-10T17:02:18.066735+00:00", "context": {"id": "573372deb6e6e2e3972c33be1c75e251", "parent_id": null, "user_id": "718e43cedf694b0d812e1df562c01a2b"}}}
2021-11-10 18:02:18 DEBUG (MainThread) [homeassistant.components.zha.entity] light.comedor1: polling current state
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending Zigbee request with tsn 46 under 47 request id, data: b'002e000000'
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_request (20, 47, 0, <DeconzAddressEndpoint address_mode=2 address=0x190F endpoint=1>, 260, 6, 1, b'\x00.\x00\x00\x00', 2, 0)
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.uart] Send: 0x1295001b0014002f00020f190104010600010500002e0000000200
2021-11-10 18:02:18 DEBUG (MainThread) [homeassistant.components.zha.entity] light.comedor7: polling current state
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending Zigbee request with tsn 48 under 49 request id, data: b'0030000000'
2021-11-10 18:02:18 DEBUG (MainThread) [homeassistant.components.zha.entity] light.comedor2: polling current state
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending Zigbee request with tsn 50 under 51 request id, data: b'0032000000'
2021-11-10 18:02:18 DEBUG (MainThread) [homeassistant.components.zha.entity] light.comedor4: polling current state
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending Zigbee request with tsn 52 under 53 request id, data: b'0034000000'
2021-11-10 18:02:18 DEBUG (MainThread) [homeassistant.components.zha.entity] light.comedor3: polling current state
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending Zigbee request with tsn 54 under 55 request id, data: b'0036000000'
2021-11-10 18:02:18 DEBUG (MainThread) [homeassistant.components.zha.entity] light.comedor5: polling current state
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending Zigbee request with tsn 56 under 57 request id, data: b'0038000000'
2021-11-10 18:02:18 DEBUG (MainThread) [homeassistant.components.zha.entity] light.comedor6: polling current state
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Sending Zigbee request with tsn 58 under 59 request id, data: b'003a000000'
2021-11-10 18:02:18 DEBUG (MainThread) [zigpy_deconz.uart] Frame received: 0x12950009000200222f

That is the way to go

Seems they don’t report their status back

Great, can’t get to a solution besides buying another bulb. But the other bulbs are working pretty much fine (groups of 3 or less). There is no solution HA wise?

If they work fine in groups of 3, then your Zigbee traffic is saturated when you use bigger groups, and messages get lost.

Wow, was not expect to satturate… Should I disable everything I can zigbee related for that?

This is how my zigbee mesh looks like:

Your mesh looks fine, but if you fire to many messages in rapid succession one after the other, your mesh can’t follow. That is why it is better to create ZigBee groups than using HA light groups. Less messages need to be send that way.

I got all lights with zigbree groups. Besides that I don’t think I have a setup zigbee heavy. I just have lights and switches…

I will try to split the 7 bulbs group in to two and try…

Bumping just in case someone finds a solution for this…

Check all the zigbee groups to make sure everythings alright. Mine had them messed up for no apparent reason and the result was exactly what you describe

They seem alright for me. I’ve checked many times.
Besides, this happened too with yaml light groups.

I still could not fix this issue, today it happened with a group of just 3 lights.

I feel like changing to innr bulbs or something bit I have like 30…

I’m having issues with light groups altogether as of a few updates ago, just noticed this past week. If I turn on a light group, not all lights turn on in that group, intermittently. This is with a group of only two lights, one of them is a template light, and one of them is a MQTT light.

This thing is getting even worse. All the zigbee group lights having this issue even if they are group of just 3 bulbs.

No one knows any solution for this?..

I’m having the same issue when controlling more than 4 lights at once: the result is unreliable. My setup is comparable to yours and I tried the same things, even switching between ZHA and Z2M. But all to no avail. So now I’m considering switching from Conbee II to a CC2652P adapter. That adapter seems slightly more powerful.
Overall, my network is very reliable and fast. The only issue is controlling multiple lights.

Has anybody else switched from Conbee II to CC2652P?

1 Like

Keep me updated if you change to CC2652P. I’d do it but I already changed from CC2531 to conbee II and then from ZHA to Z2M the issue is still there, im just tired of pairing 50 devices (specially the bulbs since I cannot pair all of them at the same time for some reason, i have to do it manually one by one and I have 30~) So for the moment I will stay with conbee II unless someone ensures me the conbee is the problem.

My guess for the problem is the Ikea bulbs are unreliable, which bulbs do you have the issue with?

Thanks

I have Ikea and Hue bulbs mixed. They give the same result

I updated conbee II firmware and also place it outside the closer where I had it before, with the router and other wifi devices.

So far seems to work better, didn’t have any problem for the past days

Hello Guys ( and a happy new year!),

i’ve got the exact same problem!

HAOS 7.0 / Raspb. 4 B / Conbee II (extended cable) / var. Bulbs

image

I connected 7 bulbs (2x innr color, 2 x innr white, 2x Muller light white, 1 x Philips hue 1600 white) via ZHA to Home Assistant. If i turn them on and off one by one, everything works fine. Switching more than 3 lights at once via a “room group switch” results in a random behavior. Lights turn on, but the switch in HA does not update the status. It really looks like there is to much traffic going on.

I switched to Zigbee2MQTT, but the result was exactly the same.
So i put them in groups. This really looks promising, but feels more like a workaround , not a solution!

Isn’t Zigbee designed to control multiple devices? There is also a QoS (0,1,2) integrated as well. I can set the QoS to 1 or 2 in Zigbee2MQTT. This seems to give me at least an error-message (response timed out).

So, is 3 ZigBee lights at once really the limit? Is there anyone who can confirm this?
Or anyone who can confirm that switching 4+ bulbs isn’t a problem.

This have to be a bug at some point.
Any help or info is appreciated!

Greetings