I also bought the Qrevo Edge (after ensuring there is a Roborock integration in HA). The cloud integration works as desired and the hardware is solid quality.
As HA users, we naturally prefer local integrations over "other people computers" (AKA cloud - thanks orange-assistant
) integrations. I hit the same error over and over again when trying to connect the vacuum via Matter.
After analysing the HA logs with Claude, Claude pointed out the exact spot in the Roborock firmware where the bug is:
Excellent — this is now crystal clear. Confidence: very high.
The exact failure, every single time:
Attestation finding (error): ValidationError Offset is outside the bounds of the DataView
Attestation rejected
The commissioning itself goes well — PASE pairing succeeds, the vacuum is found and reachable at 192.168.107.9. It fails at step 10.1: Device Attestation, specifically when parsing the PAI certificate (Product Attestation Intermediate) returned by the vacuum.
The PAI cert (type 2) the vacuum returns is suspiciously short: 4686e8ae8724 — that's only 6 bytes. A valid X.509 PAI cert should be hundreds of bytes. The @matter/general DER codec then tries to parse this truncated blob and crashes with a buffer overread. This is identical across all four of your attempts — same broken cert every time.
Root cause: Bug in Roborock's firmware PAI certificate implementation. The vacuum is returning a malformed/truncated PAI cert. This is not a Home Assistant config problem, not a network problem, not anything you can fix on your end.
I sent this to the Roborock support, along with all needed information to address this issue (exact model, serial number, most current firmware version 02.29.22 - and this is where the real fail begun.
During the upcoming back and forth conversation via mail, I kindly asked the Roborock support 3 times to please send my message to the firmware development, they should know how to handle it.
First, Roborock support replied something about vacuum spare parts.
The second answer requested the invoice number.
The third answer says:
"Dear Customer,
We apologize, but our official product does not promote or support Home Assistant. Therefore, we are unfortunately unable to provide you with any helpful information regarding your inquiry.
We recommend that you use officially supported voice control platforms such as Google Home, Alexa, or Apple Home."
While I ultimately give up on this ticket, I genuinely feel sorry for the poor dudes at Roborock support. Even with crystal clear language pointing out the exact error and the department to forward it to, they completely failed to even understand the issue. Since even with the free plan, ChatGPT or Claude immediately understand the error and provide the solution, these guy's jobs will be the first to be completely replaced by AI in the near future. There's no way around that. So sad...