Zigbee light bulbs disconnect after restarting Zigbee2MQTT add-on

Hi,

I’ve been having an issue for the past few months where if I restart Zigbee2MQTT or my entire PC, the light bulbs don’t reconnect, and I have to turn all the light bulbs off and on again. This only happens with Zigbee light bulbs, other sensors reconnect fine. The light bulbs don’t need to be re-paired, just turned off and on.

A few months ago, maybe longer, this issue didn’t exist and the light bulbs would reconnect after restarting Zigbee2MQTT.

My Zigbee dongle is a Slaesh CC2652RB with the latest firmware 20230507 and the Zigbee2MQTT add-on is also up to date 1.33.2-1.

Does anyone have any ideas how to fix this behavior?

Thanks

Was “a few months ago” before or after upgrading fw to 20230507?

I finally figured it out. The problem is that “Permit join” needs to be turned on. I must have turned it off a few months ago, or there was a change in Zigbee2MQTT that broke the connection to the lights. I don’t like having it turned on, though. It’s a security risk, because it allows unauthorized devices to connect to my network.

Do you have “Permit join” disabled for your Zigbee lights in Zigbee2MQTT? If so, do the lights reconnect after you restart Zigbee2MQTT?

Thanks

Definitely!

Yes.

I would remove those zigbee bulbs from Z2M, restart Z2M and re-pair those bulbs one by one. Does the issue still persist thereafter?

Yes and yes.

I would never leave permit join on.