Unable to reset ZHA

Hello,

My ZHA Zigbee network worked but appeared to use an unsecured key, so anyone could access it which is of course a no go. Setting a key inside configuration.yaml didn’t work.

To get a secure network I decided to remove everything related to Zigbee and start over. I removed the ZHA integration and manually deleted the zigbee.db file.

Now adding the SLZB-07p7 controller back doesn’t work at all. It is discovered by HA, but installation fails:

  1. Discovered:
    SMLIGHT SLZB-07p7 - Zigbee Home Automation
    → ADD
  2. Zigbee Home Automation
    Do you want to set up SMLIGHT SLZB-07p7?
    → SUBMIT
  3. Zigbee Home Automation
    Failed to probe the USB device

I tried to add it manually, each time I get a “Failed to connect”.

I also tried to update the firmware using multiple computer: it either doesnt work at all or fails.

Is there someone that was able to reset its ZHA integration? Or anyone that could recommend a Zigbee integration that works with a secure network?

Thanks!

Could you clarify what you mean by this? What made you think the key was unsecured?

I wasn’t aware you could do this. You’re not taking advice from AI are you? :grin:

Edit: Is the SMLIGHT SLZB-07p7 supported? Can’t see it in the docs. I think the SMLIGHT SLZB-07 has a different chip.

I had warnings about the key being insecure in the log. The messages were related to a previous Zigbee2MQTT installation. As I didn’t find any way to get ZHA to display the key it used, I looked into the system files and indeed inside zigbee.db in the network_backups table there is an entry with the network_key that is not random.

It was enough for me, I want my network to be secure and it’s easier to reset it now than later with more devices.

I am not sure you can, I did find very few information on ZHA security. I only found this draft in the zigpy repository in which it appears that you can define this key (some posts suggested to reset the integration for the key to be taken into account):

It worked until this reset, I thought the SLZB-07p7 was officially supported like the SLZB-07, but I doesn’t look like it.

it is on this list, shown as to work with ZHA

But not in the official ZHA documentation (not one CC2652P7 based coordinator is on that list)