My FlexiSpot MotionX walking pad is the basic model: no app, no stats. I opened it, put a logic analyzer on the 3-wire cable between the console and the motor board, decoded the bus, and now an ESP32 lives inside the treadmill and logs every walk.
Why a classic ESP32-WROOM-32 DevKit
GPIO34 is input-only on the classic ESP32. The bus drives the motor, so I wanted a pin that physically cannot be turned into an output, even by a firmware bug.
4 MB flash is enough for two OTA app slots plus a LittleFS partition for sessions, with the stock "Default 4MB with spiffs" partition scheme.
Wi-Fi only: no need for BLE, and no need for the extra pins or USB of an S3.
Libraries: only what ships with the Arduino-ESP32 core
WebServer (synchronous) instead of an async server: a status page and a few admin endpoints don't need more, and it's one less dependency to break.
LittleFS instead of SPIFFS for sessions, because the treadmill gets unplugged at random and I need files to survive that.
Preferences (NVS) for Wi-Fi…