Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f460097

Browse files
committed
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 <[email protected]>
1 parent 92a5182 commit f460097

1 file changed

Lines changed: 15 additions & 8 deletions

File tree

install.sh

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -968,16 +968,23 @@ post_install() {
968968
echo " # Then open: http://localhost:3000/viz.html"
969969
;;
970970
iot)
971-
echo " # Flash ESP32-S3 nodes:"
971+
echo " # 1. Configure WiFi credentials:"
972+
echo " cp firmware/esp32-csi-node/sdkconfig.defaults.example \\"
973+
echo " firmware/esp32-csi-node/sdkconfig.defaults"
974+
echo " # Edit sdkconfig.defaults: set SSID, password, aggregator IP"
975+
echo ""
976+
echo " # 2. Build firmware (Docker — no local ESP-IDF needed):"
972977
echo " cd firmware/esp32-csi-node"
973-
echo " idf.py set-target esp32s3"
974-
echo " idf.py menuconfig # Set WiFi SSID, aggregator IP"
975-
echo " idf.py build flash monitor"
978+
echo " docker run --rm -v \"\$(pwd):/project\" -w /project \\"
979+
echo " espressif/idf:v5.2 bash -c 'idf.py set-target esp32s3 && idf.py build'"
976980
echo ""
977-
echo " # Start the aggregator:"
978-
echo " cd rust-port/wifi-densepose-rs"
979-
echo " cargo run --release --package wifi-densepose-hardware -- \\"
980-
echo " --mode esp32-aggregator --port 5000"
981+
echo " # 3. Flash to ESP32-S3 (replace COM7 with your port):"
982+
echo " cd build && python -m esptool --chip esp32s3 --port COM7 \\"
983+
echo " --baud 460800 write-flash @flash_args"
984+
echo ""
985+
echo " # 4. Run the aggregator:"
986+
echo " cargo run -p wifi-densepose-hardware --bin aggregator -- \\"
987+
echo " --bind 0.0.0.0:5005 --verbose"
981988
;;
982989
docker)
983990
echo " # Development (with Postgres, Redis, Prometheus, Grafana):"

0 commit comments

Comments
 (0)