Page 1 of 1

DIY Matter Switch using ESP32-C3 and Zerocode fails to commission in HA

Posted: Wed Jul 02, 2025 9:29 pm
by epic12
I have created a simple DIY Matter switch using an ESP32-C3 and Zero Code that works perfectly fine. It can be commissioned and operated in Amazon Alexa but cannot be commissioned in Home Assistant. Are there any restrictions in Home Assistant (for example, an invalid DAC)? Is it feasible to disable device attestation or another workaround?

According to other HA users, at least as of December 2024, the HA python-matter-server does not recognize the Espressif zerocode eval certificate as valid, so device attestation fails and devices cannot be commissioned to the HA fabric.
Any help will be very appreciated.

Here is the event log:
home assistance cant comision a matter device, this is the log: 025-07-01 22:48:06.657 (Dummy-2) INFO [chip.ChipDeviceCtrl] Established secure session with Device
2025-07-01 22:48:09.031 (Dummy-2) CHIP_ERROR [chip.native.CTL] Error on commissioning step ‘AttestationVerification’: ‘src/controller/CHIPDeviceController.cpp:1283: CHIP Error 0x000000AC: Internal error’
2025-07-01 22:48:09.032 (Dummy-2) CHIP_ERROR [chip.native.CTL] Failed verifying attestation information. Now checking DAC chain revoked status.
2025-07-01 22:48:09.032 (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
2025-07-01 22:48:09.033 (Dummy-2) CHIP_ERROR [chip.native.CTL] Error on commissioning step ‘AttestationRevocationCheck’: ‘src/controller/CHIPDeviceController.cpp:1332: CHIP Error 0x000000AC: Internal error’
2025-07-01 22:48:09.047 (Dummy-2) CHIP_ERROR [chip.native.EM] Failed to send Solitary ack for MessageCounter:247653748 on exchange 25327i with Node: <0000000000000000, 0>:src/messaging/ExchangeContext.cpp:99: CHIP Error 0x00000002: Connection aborted
2025-07-01 22:48:09.048 (Dummy-2) WARNING [chip.ChipDeviceCtrl] Failed to commission: src/controller/CHIPDeviceController.cpp:1332: CHIP Error 0x000000AC: Internal error
2025-07-01 22:48:09.049 (MainThread) ERROR [matter_server.server.client_handler] [140090698718224] Error while handling: commission_with_code: Commission with code failed for node 4.