Zigbee lights *sometimes* turn off immediately after turning on

Hi all!

I have 7 lights in my kitchen that I have set up an automation in Node Red to turn on sequentially:
light 2
lights 3 and 4
lights 5, 6 and 7
light 8

(light 1 is dead and needs replacing)

the node red automation is fairly simple, it’s just:
turn on light 2
wait 0.7 seconds
turn on lights 3 and 4
wait 0.7 seconds
turn on lights 5, 6 and 7
wait 0.7 seconds
turn on light 8

The issue is that sometimes light 2 or light 4 will turn on and then immediately turn off. It’s never light 7 so that might rule out that it’s an issue with that brand. It seems to go through the automation, then get stuck on one of the lights…wait for about 5 seconds, then move on to the rest of the automation. I have added debug nodes to every step of the automation but I don’t see anything other than it sending the payload to the light. No errors. It doesn’t always happen, it’s only about 1 in 10 times that this strange behaviour happens.

  • Light switches are Philips Hue RWL021
  • Lights 3, 5, 6 and 8 are Philips Hue LCD003 TS0505B
  • Lights 2, 4 and 7 show up as “_TZ3210_hicxa0rh” which is probably some generic Tuya thing
  • Zigbee coordinator is a SkyConnect v1.0

I notice in Settings → Devices & Services → Zigbee Home Automation → SkyConnect v1.0 (Configure) → Groups → “Lightlink Group” there appears to be 2 instances of the coordinator, could this be causing an issue? I don’t know what this group is even for or who made it. It’s the only group listed. (see screenshot)

Signal strength is fine as the coordinator is in the room next to the kitchen, separated only by a thin plaster wall. You can see from the zigbee visualization map that all the devices are happy. (see screenshot)

I don’t have any other automations that are conflicting with these lights or light switches that I am aware of, I checked in Settings → Automations & Scenes → and I deleted all previous automations in the “Automations” tab. There was nothing else in the Scenes, Scripts or Blueprints tabs. I also checked my configuration.yaml to ensure there was nothing referencing these lights or switches.

edit: when I try to upload the screenshots I get this error: “An error occurred: Sorry, new users can only put one embedded media item in a post.” so I’ll have to post the images in multiple replies, sorry.

Here’s the Zigbee Visualization map to show all the kitchen devices happily connected.

Here’s the Node Red automation:

Here’s a link to the video of it happening. You can see that light 2 turns on for a split second, then turns off, then the rest of the automation continues.

Here’s the screenshot of one of the action nodes, showing what I’m sending to the light after I tell it to turn on:

{ “brightness”: 125, “rgb_color”: [255,200,125], “transition”: 1 }

Are there any red flags here?

Have you tried moving the nodes in Node Red to see if the pattern changes? In other words, is it always the same light?

If you narrow it down to one or two lights, make a simple on/off flow.

Sometimes it is light 2, sometimes it is light 7, most of the time it works fine.

I can create a new simple flow that just sends that same JSON data to light 2 only and see if it does the same thing. I’ll do that and update you. Thanks for the tip.