|
|
|
|
|
by gcoakes
42 days ago
|
|
I'm working on a IoT device at work and have been the "hands in the lab" for my agent this week. It's been a really weird experience. Making changes to the update/recovery process, so I have to validate several permutations of fault injection (i.e.: abrupt power loss during update step X while on starting version Y). I would love to give it unattended "hands". I just thought it was more time efficient to do it manually rather than spend days trying to figure out how to automate SD card pull/plug. X and Y are relatively small, and I expect this validation to be too costly to do at a regular cadence in CI. I can trivially use a MCCI USB-C switch for the power though. Tips would be appreciated if anyone here has thoughts. |
|
Janky setup with two ESPs for the serial terminal and to control a servo taped to some microswitches to power cycle the board.
It worked very well, allowing Claude to spend all day and night debugging quirks with the NIC until it was able to get the driver working.
So, I think giving your IoT device some "hands" is probably worth it. For SD card automation, you can find "wireless SD cards" on Amazon/AliExpress that have a microcontroller pretending to be sd card, eg FYSETC SD-Wifi.