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 <ruv@ruv.net>
This commit is contained in:
rUv
2026-02-28 13:22:55 -05:00
parent 92a5182dc3
commit f460097a2f

View File

@@ -968,16 +968,23 @@ post_install() {
echo " # Then open: http://localhost:3000/viz.html" echo " # Then open: http://localhost:3000/viz.html"
;; ;;
iot) iot)
echo " # Flash ESP32-S3 nodes:" echo " # 1. Configure WiFi credentials:"
echo " cd firmware/esp32-csi-node" echo " cp firmware/esp32-csi-node/sdkconfig.defaults.example \\"
echo " idf.py set-target esp32s3" echo " firmware/esp32-csi-node/sdkconfig.defaults"
echo " idf.py menuconfig # Set WiFi SSID, aggregator IP" echo " # Edit sdkconfig.defaults: set SSID, password, aggregator IP"
echo " idf.py build flash monitor"
echo "" echo ""
echo " # Start the aggregator:" echo " # 2. Build firmware (Docker — no local ESP-IDF needed):"
echo " cd rust-port/wifi-densepose-rs" echo " cd firmware/esp32-csi-node"
echo " cargo run --release --package wifi-densepose-hardware -- \\" echo " docker run --rm -v \"\$(pwd):/project\" -w /project \\"
echo " --mode esp32-aggregator --port 5000" 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) docker)
echo " # Development (with Postgres, Redis, Prometheus, Grafana):" echo " # Development (with Postgres, Redis, Prometheus, Grafana):"