Can't add Esp zero code Matter device to my HA

Hi.
When I try to add an Esp Zero Code Matter device to my Home Assistant, all seems works fine until, at the end of the process, I receive an error and the device can’t be added to HA.
When I look to the HA Matter server’s logs I see these errors:

2024-11-09 10:47:54.223 (MainThread) INFO [matter_server.server.device_controller] Starting Matter commissioning using Node ID 9 and IP fd11:22::f236:9fe:7ec0:5d3d.
2024-11-09 10:47:55.002 (Dummy-2) INFO [chip.ChipDeviceCtrl] Established secure session with Device
2024-11-09 10:47:56.599 (Dummy-2) CHIP_ERROR [chip.native.CTL] Failed in verifying 'Attestation Information' command received from the device: err 101. Look at AttestationVerificationResult enum to understand the errors
2024-11-09 10:47:56.599 (Dummy-2) CHIP_ERROR [chip.native.CTL] Error on commissioning step 'AttestationVerification': 'src/controller/CHIPDeviceController.cpp:1144: CHIP Error 0x000000AC: Internal error'
2024-11-09 10:47:56.653 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to send Solitary ack for MessageCounter:192460853 on exchange 45978i with Node: <0000000000000000, 0>:src/messaging/ExchangeContext.cpp:99: CHIP Error 0x00000002: Connection aborted
2024-11-09 10:47:56.654 (Dummy-2) WARNING [chip.ChipDeviceCtrl] Failed to commission: src/controller/CHIPDeviceController.cpp:1144: CHIP Error 0x000000AC: Internal error
2024-11-09 10:47:56.654 (MainThread) ERROR [matter_server.server.client_handler] [547688067344] Error while handling: commission_on_network: Commissioning failed for node 9.

I’ve no idea on what is wrong.
May you help me?
Thanks in advance

I have not tried out ESP Zero for Matter, so I’m not familiar with the process, but the error is complaining about “attestation” which is a way for the Matter Server to find out if the device is Matter compliant. Here is where I’m a little fuzzy, but I believe that the Device has to have a Device Attestation Certificate on its end, and I think the Matter Server has to have some corresponding certificate in its Digital Compliance Ledger.

From reading the Espressif’s website, the Zero Code process is suppose to handle this on the device end, so may want to somehow verify this with espressif.

1 Like

I am also getting the same error when I tried to add a zercode matter device to HA. "2024-12-19 10:11:31.499 (Dummy-2) INFO [chip.ChipDeviceCtrl] Established secure session with Device
2024-12-19 10:11:34.930 (Dummy-2) CHIP_ERROR [chip.native.CTL] Failed in verifying ‘Attestation Information’ command received from the device: err 101. Look at AttestationVerificationResult enum to understand the errors
2024-12-19 10:11:34.930 (Dummy-2) CHIP_ERROR [chip.native.CTL] Error on commissioning step ‘AttestationVerification’: ‘src/controller/CHIPDeviceController.cpp:1144: CHIP Error 0x000000AC: Internal error’

Any updated for this issue

Hi Siddhiq74, I’ve read only now your reply.
I contacted ESP Zero Code support and this was their reply about two weeks ago:
…We use general evaluation certificate to create firmware on the website and use same VID and PID. Home assistant and Alexa has stopped supporting the evaluation certificate. we are working on this and will address in upcoming releases…

Since this responce I haven’t tried anymore but I don’t think that anything was changed.

Thanks Cosimo, For your reply and effort

Hi, I have successfully managed to commission such device, see Guide: Bypass matter attestation verifier - #3 by nervousapps