ZHA - Block from adding device

I have a number of devices which automatically add themselves to my ZHA network even though ZHA is not in permit pairing mode

For reasons I won’t go into, I have a ZHA network using a Conbee2 stick but also a Zigbee2mqtt network using my Sky Connect.

I have a Tuya Air Quality Sensor that in ZHA has some sensors reporting values the wrong way round but in Zigbee2mqtt it is fine so I want to just use it in this ZigBee network. However, when I put it in pairing mode to connect via Zigbee2mqtt, it automatically connects to ZHA too.

I have tried disabling ZHA, pairing it to Zigbee2mqtt and it will work fine. However, as soon as ZHA is enabled again so that my main ZigBee network is up and running, then it gets added to ZHA too, even though it’s not set to permit mode. This then stops it working on Zigbee2mqtt which is the integration which I want it in.

Can anyone please advise either;

  1. Why is ZHA adding devices when it’s not in permit mode?
  2. Or, is there an option (like on Zigbee2mqtt) that allows you to “Block Device from joining again”

Any help much appreciated

Thank you

2 Likes

Did you ever get any response on this? I am having a similar same issue where occasionally ZHA seems to hijack zigbee devices. I am running both ZHA and Z2M, when ZHA randomly decides to hijack the devices then they stop working on Z2M altogether. It is super frustrating. I don’t know how to turn off permitting devices in ZHA altogether and I am not sure what keeps triggering it to hijack devices.

3 Likes

Just created an official feature request for this:

I’m having the same issue. I’m in the middle of transferring devices from my Hue-hub into ZHA. But every time I factory reset a device to pair it to HA, it shows up in HA without any user input or confirmation needed.

This way if my neighbour buys a zigbee device; my HA + ZHA would hijack it before he even gets the chance to add it to his own equipment?

I’ve not found an option to disable auto adding devices… Still new here, so there’s a 51% chance I’m doing something wrong.

Recently I saw this behaviour too.