Groundrun set up a hardware-in-the-loop test bench to automate and continuously validate Wi‑Fi commissioning on an ESP32‑C6 devboard using an Android phone attached to the same rig. Five provisioning methods were exercised: BLE provisioning (including BLE+QR), SoftAP, captive‑portal via SoftAP, Espressif SmartConfig (ESPTouch), and WPS. A minimal Android app was created to drive each flow, and firmware implementing all mechanisms was generated and deployed to the board. Flows were encoded in Groundrun’s flow builder so Claude Code could execute them interactively or as part of CI, with each step (flash, app install/launch, mechanism run, confirm join, teardown) recorded by the coordinator.
Regression runs revealed clear performance and reliability differences. Flash/boot dominates a fixed ~22-24s overhead; mechanism times vary widely: WPS is fastest (~6s), SmartConfig and captive‑portal are midrange, while Bluetooth and SoftAP are slowest (tens of seconds), with SoftAP nearly an order of magnitude slower than WPS. Captive‑portal is fragile because the OS webview times out quickly; Bluetooth and SoftAP suffer delays from system permission/pop‑ups; SmartConfig is sometimes intermittently slow. WPS requires no app but forces the test rig to emulate a 2.4 GHz router. Groundrun’s setup makes these behaviors visible, repeatable, and enforceable in CI so Wi‑Fi commissioning can be validated as a critical first‑use path.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.