From f460097a2fa837fc3d8f3e539451a6fc6e43d3f3 Mon Sep 17 00:00:00 2001 From: rUv Date: Sat, 28 Feb 2026 13:22:55 -0500 Subject: [PATCH] fix(install): Update IoT profile instructions for aggregator CLI The IoT profile now shows the actual Docker build + esptool flash + aggregator binary workflow that was validated on real hardware. Co-Authored-By: claude-flow --- install.sh | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/install.sh b/install.sh index a02c51f..6d139e4 100755 --- a/install.sh +++ b/install.sh @@ -968,16 +968,23 @@ post_install() { echo " # Then open: http://localhost:3000/viz.html" ;; iot) - echo " # Flash ESP32-S3 nodes:" - echo " cd firmware/esp32-csi-node" - echo " idf.py set-target esp32s3" - echo " idf.py menuconfig # Set WiFi SSID, aggregator IP" - echo " idf.py build flash monitor" + echo " # 1. Configure WiFi credentials:" + echo " cp firmware/esp32-csi-node/sdkconfig.defaults.example \\" + echo " firmware/esp32-csi-node/sdkconfig.defaults" + echo " # Edit sdkconfig.defaults: set SSID, password, aggregator IP" echo "" - echo " # Start the aggregator:" - echo " cd rust-port/wifi-densepose-rs" - echo " cargo run --release --package wifi-densepose-hardware -- \\" - echo " --mode esp32-aggregator --port 5000" + echo " # 2. Build firmware (Docker — no local ESP-IDF needed):" + echo " cd firmware/esp32-csi-node" + echo " docker run --rm -v \"\$(pwd):/project\" -w /project \\" + echo " espressif/idf:v5.2 bash -c 'idf.py set-target esp32s3 && idf.py build'" + echo "" + echo " # 3. Flash to ESP32-S3 (replace COM7 with your port):" + echo " cd build && python -m esptool --chip esp32s3 --port COM7 \\" + echo " --baud 460800 write-flash @flash_args" + echo "" + echo " # 4. Run the aggregator:" + echo " cargo run -p wifi-densepose-hardware --bin aggregator -- \\" + echo " --bind 0.0.0.0:5005 --verbose" ;; docker) echo " # Development (with Postgres, Redis, Prometheus, Grafana):"