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