⭐ Tutorial: ESP32-S3 CSI Pipeline End-to-End Setup (ADR-018)
ESP32-S3 CSI Pipeline: Step-by-Step Tutorial (current as of v0.6.6-esp32)
⚠️ Updated 2026-05-21 — original tutorial referenced paths and commands that no longer match the repo. Updated for the current state of ruvnet/RuView (note: the repo was renamed from
wifi-denseposetoRuView).What changed vs the original: repo name,
rust-port/→v2/,v1/→archive/v1/, flash offsets (0x10000 → 0x20000 + newota_data_initial.binat 0xf000), WiFi credentials now viaprovision.pynotsdkconfig.defaults, sensing-server is the primary path not the bare aggregator, OTA PSK now fail-closed by default.
Complete end-to-end guide for building, flashing, and running the WiFi CSI human presence + vitals pipeline using an ESP32-S3 and the Rust sensing server.
- Project: https://github.com/ruvnet/RuView
- Cognitum platform: https://cognitum.one/ruview
- Latest firmware release: https://github.com/ruvnet/RuView/releases/tag/v0.6.6-esp32
Verified hardware: ESP32-S3-DevKitC-1, ESP32-S3 WROOM (8 MB or 4 MB flash). ESP32 (original) and ESP32-C3 not supported — single-core, insufficient for CSI DSP.
Verified performance (v0.6.6-esp32, real WiFi CSI, no mocks): 20 Hz CSI streaming, 64–192 subcarrier frames, RSSI -47 to -88 dBm, presence + breathing + heart rate, multi-node mesh up to 6 nodes per room.
Prerequisites
| Component | Version | Install |
|---|---|---|
| ESP32-S3 board | 8 MB or 4 MB flash | DevKitC-1, WROOM, XIAO, SuperMini — any ESP32-S3 |
| USB-C cable | — | data + power |
| WiFi network | 2.4 GHz | any standard AP |
| Docker Desktop | 28.x+ | https://www.docker.com/products/docker-desktop (Windows recommended) |
| esptool | 5.x+ | pip install esptool |
| Rust toolchain | 1.89+ | https://rustup.rs (pinned via v2/rust-toolchain.toml) |
| CP210x driver | latest | https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers |
Fast path: pre-built binaries (recommended)
If you just want it to work, skip the firmware build. Download v0.6.6-esp32 release binaries:
- Go to https://github.com/ruvnet/RuView/releases/tag/v0.6.6-esp32
- Download all 6 binaries:
bootloader.bin,partition-table.bin,ota_data_initial.bin,esp32-csi-node.bin(for 8 MB boards), plusesp32-csi-node-4mb.binandpartition-table-4mb.bin(for 4 MB boards) - Skip to Step 5 (Flash) below.
Step 1: Clone the repository
git clone https://github.com/ruvnet/RuView.git
cd RuView
Step 2: Build the sensing server (Rust)
The sensing server is the new primary aggregator + REST/WS surface. The standalone aggregator binary from the original tutorial still exists as a packet-inspection tool but doesn't expose the dashboard.
cd v2
cargo build -p wifi-densepose-sensing-server --release
Binary: v2/target/release/sensing-server (or sensing-server.exe on Windows). First build takes ~5–10 minutes.
Step 3: Build the firmware (skip if using release binaries)
The repo provides a Docker build that works on Linux, macOS, and Windows (Git Bash) without any local ESP-IDF setup:
cd firmware/esp32-csi-node
# Linux/macOS:
docker run --rm -v "$(pwd):/project" -w /project \
espressif/idf:v5.4 bash -c \
"rm -rf build sdkconfig && idf.py set-target esp32s3 && idf.py build"
# Windows (Git Bash):
MSYS_NO_PATHCONV=1 docker run --rm \
-v "$(pwd):/project" -w /project \
espressif/idf:v5.4 bash -c \
"rm -rf build sdkconfig && idf.py set-target esp32s3 && idf.py build"
Build output appears in build/ (~1426 compilation steps, takes 3–5 minutes first time, ~30 s incremental).
Output files needed for flashing:
build/bootloader/bootloader.binbuild/partition_table/partition-table.binbuild/ota_data_initial.binbuild/esp32-csi-node.bin
Step 4: Find your serial port
| OS | Command | Typical port |
|---|---|---|
| Windows | Device Manager → Ports (COM & LPT) | COM7 |
| Linux | ls /dev/ttyUSB* or ls /dev/ttyACM* |
/dev/ttyUSB0 |
| macOS | ls /dev/cu.usbserial* or ls /dev/cu.SLAB_USBtoUART |
/dev/cu.SLAB_USBtoUART |
Step 5: Flash the firmware
8 MB boards (DevKitC-1, most WROOM variants):
python -m esptool --chip esp32s3 --port COM7 --baud 460800 \
write_flash --flash_mode dio --flash_size 8MB \
0x0 bootloader.bin \
0x8000 partition-table.bin \
0xf000 ota_data_initial.bin \
0x20000 esp32-csi-node.bin
4 MB boards (SuperMini 4 MB):
python -m esptool --chip esp32s3 --port COM7 --baud 460800 \
write_flash --flash_mode dio --flash_size 4MB \
0x0 bootloader.bin \
0x8000 partition-table-4mb.bin \
0xf000 ota_data_initial.bin \
0x20000 esp32-csi-node-4mb.bin
⚠️ The app flash offset is
0x20000, not0x10000— that was a long-standing README error fixed in #561. The repo's partition tables putota_0at0x20000, andota_data_initial.binat0xf000is required for the OTA system.
Replace COM7 with your serial port. Expected output ends with:
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
Step 6: Provision WiFi credentials via provision.py
⚠️ WiFi credentials are NOT in
sdkconfig.defaultsanymore. The original tutorial baked them into the firmware at build time; the current system writes them to the device's NVS partition viaprovision.py, so the same binary works for any deployment.
python firmware/esp32-csi-node/provision.py --port COM7 \
--ssid "YourWiFi" \
--password "YourPassword" \
--target-ip 192.168.1.20 \
--node-id 1 \
--edge-tier 2 \
--force-partial
Flags:
--target-ip— IP of the machine runningsensing-server--node-id 1— unique ID per board (1, 2, 3 for multi-node)--edge-tier 2— full pipeline (vitals + presence + fall detection). Use0for raw passthrough,1for basic DSP only--force-partial— keeps any NVS keys you didn't pass on the CLI (the issue #391 footgun fix; safe default unless you want a hard reset)
Step 7: (Optional) Provision an OTA PSK
⚠️ Security default changed in v0.6.5: OTA upload is fail-closed until you provision a PSK. Without this step,
POST /otareturns 403. The OTA HTTP server still runs so you can provision later without re-flashing.
python firmware/esp32-csi-node/provision.py --port COM7 \
--ota-psk "$(python -c 'import secrets; print(secrets.token_hex(32))')" \
--force-partial
Save the printed PSK somewhere safe. Future OTA pushes need it in the Authorization: Bearer <psk> header.
Step 8: Open firewall (Windows only)
Elevated PowerShell:
netsh advfirewall firewall add rule name="ESP32 CSI" dir=in action=allow protocol=UDP localport=5005
Linux (ufw):
sudo ufw allow 5005/udp
Step 9: Start the sensing server + dashboard
cd v2
cargo run -p wifi-densepose-sensing-server --release -- \
--source esp32 \
--udp-port 5005 \
--http-port 3000 \
--ws-port 3001 \
--ui-path ../ui
Open the dashboard: http://localhost:3000/ui/index.html
If the dashboard's "Sensing" tab shows LIVE — ESP32 HARDWARE Connected, frames are flowing. If it shows DISCONNECTED:
# Check whether UDP packets reach the host
sudo tcpdump -i any -n 'udp port 5005' -c 20
# Should show 192.168.1.x → 192.168.1.20:5005 frames, ~20/s
# Check how many nodes the server sees
curl http://localhost:3000/api/v1/nodes
# Should show "total": 1 for your single node
Step 10: Verify what you can see
Walk near the ESP32 and watch:
- Motion energy increases when you move
- Presence indicator flips from 0 → 1
- Breathing rate (~12–20 BPM) stabilises after ~60 s once you sit still
- Heart rate (~50–90 BPM) — needs reasonable signal-to-noise; harder than breathing
For pose-related data, see the honest caveats section below.
Step 11: Multi-node mesh (optional)
Repeat Steps 5–6 for additional ESP32-S3 boards with different --node-id values. Spread nodes around the room diagonally (not in a row) for geometric diversity — multistatic fusion needs that. Recommended: 3–6 nodes per room, 2–3 m apart, ~1 m off the floor, not pressed against walls.
All nodes UDP-stream to the same sensing-server instance. The server auto-detects new nodes and adds them to the active mesh.
Honest caveats (read before reporting bugs)
- No pretrained 17-keypoint pose model ships in the repo today (tracked in #509). What works today: presence, motion, breathing rate, heart rate, fall detection. What's pending: full skeleton estimation (the training pipeline exists, the weights don't).
n_personsis a slot-capacity heuristic, not a learned classifier. Documented infirmware/esp32-csi-node/README.mdunder "What this firmware does NOT do (Tier 2 caveats)". Auto-calibrating fix in flight: #491.- First 60 seconds are an adaptive-calibration window. Power-cycle in an empty room if it boots with someone present.
- Strong RF interferers (microwaves, fans near the antenna, neighbouring AP power swings) cause false-positive presence until calibration re-converges.
Architecture
ESP32-S3 Node(s) Host Machine
+-------------------+ +--------------------------+
| WiFi CSI callback | UDP/5005 | wifi-densepose- |
| (promiscuous, MGMT| ADR-018 | sensing-server (Rust, |
| only — RuView#396)| binary | Axum) |
| Edge DSP tier 2: | ~20 Hz | - REST API :3000 |
| presence, vitals,| | - WS /ws/sensing :3000 |
| fall detection | | - WS pose :3001 |
| ADR-018 serialize | | - Dashboard /ui/ |
+-------------------+ | - Optional --model file |
+--------------------------+
ADR-018 binary frame format
Offset Size Field
0 4 Magic: 0xC5110001 (LE)
4 1 Node ID
5 1 Number of antennas
6 2 Number of subcarriers (LE u16)
8 4 Frequency MHz (LE u32)
12 4 Sequence number (LE u32)
16 1 RSSI (i8)
17 1 Noise floor (i8)
18 2 Reserved
20 N*2 I/Q pairs (n_antennas * n_subcarriers * 2 bytes)
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| No serial output | Wrong baud rate | Use 115200 |
Boot loop with ***ERROR*** A stack overflow in task Tmr Svc |
Old firmware (pre-v0.6.5) or custom build missing the Tmr Svc stack fix | Flash v0.6.6-esp32 from releases |
| WiFi connection fails | Wrong SSID/password | Re-run provision.py with --ssid / --password (do NOT edit sdkconfig.defaults) |
| No UDP frames at server | Firewall blocking | Allow UDP 5005 inbound (Step 8) |
UDP frames arrive but server shows total: 1 despite 3 nodes |
Old firmware with node_id clobber bug |
Flash v0.6.6-esp32 (closed by #232/#390) |
| OTA upload returns 403 | OTA PSK not provisioned (fail-closed since v0.6.5) | Step 7 above |
Device at edge-tier 2 panics / reboots in a loop (N16R8/PSRAM boards) |
WDT storm — DSP task starved IDLE1 before v0.6.6 | Flash v0.6.6-esp32 (fixed in #683) |
| Dashboard shows "LIVE" but never updates | UI bug fixed in #618 / #621 | Pull latest, rebuild sensing-server |
| Person count is too high (multi-node) | Subcarrier slot heuristic over-clustering | Drop --subk-count to 4, or wait for #491 |
| FPS shows ∞ | UI div-by-zero (fixed in #610) | Pull latest dashboard |
Related links
- Firmware README: firmware/esp32-csi-node/README.md
- User Guide: docs/user-guide.md
- ADR index: docs/adr/README.md — 100+ ADRs covering design rationale
- Windows RSSI-only quick start: #36 (the easier no-hardware path)
- Single-ESP32 demo path: #600
- Multi-node setup help: #499, #511, #519
- Cognitum Seed integration (Pi Zero 2 W, persistent memory, $15 add-on): https://cognitum.one/ruview
If something in this tutorial is wrong against current main, please open a new issue — these tutorials get updates as the project evolves.
Update: ESP32 Pipeline Now Includes Vital Signs + Trained Model Support
The Rust sensing server that this tutorial connects to has been significantly expanded. When following this tutorial with ESP32-S3 hardware, you now get additional capabilities beyond basic CSI streaming:
New with ESP32 CSI data
- Vital sign detection: Real-time breathing rate (6–30 BPM) and heart rate (48–120 BPM) extracted from CSI amplitude and phase variance
- Graph transformer pipeline: COCO 17-keypoint skeleton with GNN message passing over the body graph
- REST endpoint:
GET /api/v1/vital-signsreturns live breathing/heartbeat data - WebSocket: Every broadcast now includes
vital_signsalongside pose data
New CLI flags for the sensing server
# Run with ESP32 + vital signs
./target/release/sensing-server --source esp32 --udp-port 5005
# Run benchmark to verify performance
./target/release/sensing-server --benchmark
# => 9,520 frames/sec
# Load a trained model (when available)
./target/release/sensing-server --source esp32 --model wifi-densepose-v1.rvf --progressive
The ESP32 firmware and flash steps in this tutorial remain unchanged — the improvements are all server-side.
— Ruflo AI
Update: Docker + Rust Sensing Server Available
You can now skip the local Rust toolchain and run the sensing server directly from Docker:
# Pull and run (132 MB, includes UI + RuVector signal processing)
docker pull ruvnet/wifi-densepose:latest
docker run -p 3000:3000 -p 3001:3001 -p 5005:5005/udp ruvnet/wifi-densepose:latest
# With ESP32 hardware connected (forward UDP port):
docker run --network host ruvnet/wifi-densepose:latest --source esp32
The Docker image includes:
- Rust Axum server with RuVector signal processing
- Vital sign detection (breathing + heartbeat via FFT)
- RVF model container support (
--load-rvf,--export-rvf) - Full 8-phase DensePose training pipeline (ADR-023)
- Three.js UI served at http://localhost:3000
RVF model package (portable, single-file deployment):
docker run --rm -v $(pwd):/out ruvnet/wifi-densepose:latest --export-rvf /out/wifi-densepose-v1.rvf
The ESP32 tutorial steps remain the same — only Step 8 (run aggregator) can now be replaced with the Docker command above.
Current test coverage
- 229 sensing server tests passing (147 lib + 82 integration)
- 11,665 fps vital sign benchmark (release build)
- Docker image: 132 MB (multi-stage, debian:bookworm-slim)
Is there any real testing results? datasets or images or screenshots?
Is it only the ESP32-S3 that will work? What about c6 that I would think should have better WiFi with wifi 6? Any issues with the s3 that has an external antenna?
Tutorial Update — Current State (March 2026)
This tutorial's core steps (1-10) remain accurate. Here's what has changed since the original post:
Firmware Updates
The ESP32-S3 firmware now includes significantly more capabilities beyond raw CSI streaming:
| Component | Original | Current |
|---|---|---|
| Source files | 4 (main, csi_collector, stream_sender, nvs_config) | 13 (+ edge_processing, ota_update, power_mgmt, wasm_runtime, wasm_upload, rvf_parser, display_hal, display_task, display_ui) |
| Edge intelligence | Not available | Tier 0-2 on-device processing (ADR-039) |
| OTA updates | Not available | HTTP-based firmware update without reflash |
| WASM runtime | Not available | Programmable sensing modules (ADR-040) |
| Display support | Not available | AMOLED display HAL via LVGL (ADR-045, in progress) |
Release Tags
| Release | Status | What's Included |
|---|---|---|
| v0.1.0-esp32 | Legacy | Raw CSI streaming only |
| v0.2.0-esp32 | Stable (recommended) | Raw CSI, TDM, channel hopping, QUIC mesh |
| v0.3.0-alpha-esp32 | Alpha | + Edge intelligence tiers 0-2, vitals packet |
For this tutorial, use v0.2.0-esp32 unless you want to experiment with on-device vital signs (v0.3.0-alpha).
Updated Test Counts
| Component | Original | Current |
|---|---|---|
Hardware crate (wifi-densepose-hardware) |
20 tests | 104 tests |
Sensing server (wifi-densepose-sensing-server) |
229 tests | 276 tests (191 lib + 51 unit + 16 integration + 18 doc) |
| Full Rust workspace | ~1,031 tests | 1,411 tests |
| Python tests | 6 tests | 303 tests (36 sensing + 267 other modules) |
Provisioning Tool (ADR-044)
Step 3 can now be replaced with the provisioning tool (no need to edit sdkconfig.defaults):
python firmware/esp32-csi-node/provision.py --port COM7 \
--ssid "YourWiFi" --password "YourPassword" --target-ip 192.168.1.20
This writes credentials to NVS flash, keeping them out of source files entirely. For multistatic mesh setups, add --tdm-slot N --tdm-total M --mesh-key "$(openssl rand -hex 32)".
Answering Community Questions
@user re: ESP32-C6 support: The ESP32-C6 has WiFi 6 (802.11ax) which provides better throughput and range, but ESP-IDF CSI support on the C6 is less mature than on the S3. The S3's dual-core LX7 @ 240 MHz is also important for edge processing (Tier 2 vitals run on Core 1). We recommend the ESP32-S3 for now. C6 support may be added once ESP-IDF CSI APIs stabilize for that chip.
@user re: external antenna: ESP32-S3 boards with external antenna connectors (U.FL/IPEX) work and are recommended for better range. The CSI callback is antenna-agnostic — signal quality simply improves with a better antenna. Just ensure the board's WiFi antenna is connected (some boards ship with both PCB and external, selectable via a 0-ohm resistor).
Docker Alternative for Step 8
Instead of building the aggregator from source, you can use Docker:
docker run -p 3000:3000 -p 3001:3001 -p 5005:5005/udp ruvnet/wifi-densepose:latest --source esp32
This runs the full sensing server (not just the aggregator) with web UI at http://localhost:3000.
Full User Guide
All of this information and more is consolidated in the User Guide.
Moved to Discussions (Q&A): https://github.com/ruvnet/RuView/discussions/163
Update: Firmware v0.4.1 Released (ADR-057)
If you're following this tutorial, use firmware v0.4.1 or later. All previous versions (v0.1.0 through v0.4.0-alpha) had a critical bug: CONFIG_ESP_WIFI_CSI_ENABLED was disabled in the build config, causing the runtime error:
E (6700) wifi:CSI not enabled in menuconfig!
Updated flash command (v0.4.1)
Download binaries from v0.4.1-esp32 release, then:
python -m esptool --chip esp32s3 --port COM7 --baud 460800 \
write-flash --flash-mode dio --flash-size 8MB --flash-freq 80m \
0x0 bootloader.bin 0x8000 partition-table.bin \
0xf000 ota_data_initial.bin 0x20000 esp32-csi-node.bin
Note the updated offsets: 0xf000 for OTA data and 0x20000 for the app (was 0x10000 in v0.2.0).
Supported hardware
| Variant | Status |
|---|---|
| ESP32-S3 (all: DevKitC, N16R8, Super Mini, Zero) | Supported |
| ESP32 (original) | Not supported — use ADR-018 frame format for manual interop |
| ESP32-C3 / C6 | Not supported (RISC-V, needs separate build target) |
See ADR-057 and #241 for details.
更新:固件v0.4.1发布(ADR-057)
**如果你跟着这个教程操作,建议使用固件v0.4.1或更高版本。**之前所有版本(v0.1.0 到 v0.4.0-alpha)都存在一个严重错误:构建配置中禁用了该选项,导致运行时错误:
CONFIG_ESP_WIFI_CSI_ENABLEDE (6700) wifi:CSI not enabled in menuconfig!更新的闪存命令(v0.4.1)
从v0.4.1-esp32版本下载二进制文件,然后:
python -m esptool --chip esp32s3 --port COM7 --baud 460800
write-flash --flash-mode dio --flash-size 8MB --flash-freq 80m
0x0 bootloader.bin 0x8000 partition-table.bin
0xf000 ota_data_initial.bin 0x20000 esp32-csi-node.bin 注意更新后的偏移量:用于OTA数据和应用(版本为v0.2.0)。0xf000``0x20000``0x10000支持的硬件
变体 现状 ESP32-S3(全部:DevKitC、N16R8、Super Mini、Zero) 支持 ESP32(原版) 不支持——手动互操作时请使用ADR-018帧格式 ESP32-C3 / C6 不支持(RISC-V,需要单独构建目标) 详情请参见ADR-057和#241。
Could you please tell me how to use the two public datasets mentioned in the tutorial for model training, especially the second one? The first one is too large, with just the compressed package being over 70 GB. Alternatively, if you have time, could you provide the models you commonly use? I believe that would enable many people to accurately measure the human body, so no one can claim this project is fake anymore.
I got over step 4 using the git tag.
I also don't have ESP32-S3, but I have ESP32. I managed to upload (somehow), but I'm getting this output:
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) invalid header: 0x305b1b2e invalid header: 0x305b1b2e and so on
I don't understand this part: "ESP32 (original) Not supported — use ADR-018 frame format for manual interop".
Is there a way?
更新:固件v0.4.1发布(ADR-057)
**如果你跟着这个教程操作,建议使用固件v0.4.1或更高版本。**之前所有版本(v0.1.0 到 v0.4.0-alpha)都存在一个严重错误:构建配置中禁用了该选项,导致运行时错误:
CONFIG_ESP_WIFI_CSI_ENABLEDE (6700) wifi:CSI not enabled in menuconfig!更新的闪存命令(v0.4.1)
从v0.4.1-esp32版本下载二进制文件,然后: python -m esptool --chip esp32s3 --port COM7 --baud 460800 write-flash --flash-mode dio --flash-size 8MB --flash-freq 80m 0x0 bootloader.bin 0x8000 partition-table.bin 0xf000 ota_data_initial.bin 0x20000 esp32-csi-node.bin 注意更新后的偏移量:用于OTA数据和应用(版本为v0.2.0)。
0xf0000x200000x10000支持的硬件
变体 现状 ESP32-S3(全部:DevKitC、N16R8、Super Mini、Zero) 支持 ESP32(原版) 不支持——手动互操作时请使用ADR-018帧格式 ESP32-C3 / C6 不支持(RISC-V,需要单独构建目标) 详情请参见ADR-057和#241。
Could you please tell me how to use the two public datasets mentioned in the tutorial for model training, especially the second one? The first one is too large, with just the compressed package being over 70 GB. Alternatively, if you have time, could you provide the models you commonly use? I believe that would enable many people to accurately measure the human body, so no one can claim this project is fake anymore.
Sometimes I think RuV is like a Wigwam, no Windows, no Gates and Apache in side. :-D guys/girls... you need to dig... or join the community.
I'm glad this is reopened :)
I would love to see this tutorial completely rewritten from scratch as I've tried multiple times with ESP32 S3 and had no success. It seems very confusing when you need to scroll up and down this thread.
Also few things are very unclear:
-
Why is step 4 needed? It says I need to determine the port using ls /dev/tty* and in my case the device was on /dev/ttyUSB0, but this information doesn't seem to be needed anywhere in this tutorial.
-
On the other hand step 6 requires you to set --port COM7, but I get this error:A fatal error occurred: Could not open COM7, the port is busy or doesn't exist. ([Errno 2] could not open port COM7: [Errno 2] No such file or directory: 'COM7')
So in my case COM7 is not correct. Maybe the tutorial should explain how to determine COMx value instead of explaining "ls /dev/tty* " in step 4 which is not needed.
Update — v0.6.6-esp32 (2026-05-21)
v0.6.6-esp32 is now the latest release. Update the fast-path binaries link to use this version.
What changed in v0.6.6
Fix: WDT storm on edge tier≥2 / N16R8 PSRAM boards (#683)
At edge-tier 2 on boards with embedded PSRAM (e.g. N16R8), the DSP task on Core 1 could starve the FreeRTOS IDLE task long enough to trigger the 5-second Task Watchdog Timer. The firmware would panic and restart, often in a fast loop under sustained WiFi CSI load. Two vTaskDelay(1) yield points are now inserted inside process_frame() (after multi-person vitals, after WASM dispatch), both gated on tier >= 2 so tier-0/1 devices are unaffected.
If you have an N16R8 board and saw random panics at tier 2, reflash with v0.6.6.
Addressing common questions from this thread
@jl2035 — ESP32 (original) invalid header: 0x305b1b2e
The firmware in this repo is compiled for the ESP32-S3 (Xtensa dual-core, 240 MHz). The original ESP32 has a different CPU variant and the binary is not compatible — flashing it produces the invalid header boot loop you saw. There is no workaround that doesn't require a separate ESP-IDF build targeting esp32 (not esp32s3), and even then the CSI DSP pipeline needs dual-core pinning that the original ESP32 doesn't provide. A single-core ESP32 will receive CSI callbacks but the DSP task will be starved by the WiFi interrupt on the same core. You need an ESP32-S3 board.
@jl2035 — Finding your port (COM vs /dev/ttyUSB0)
Step 4 (port discovery) does apply to Step 5 (flash) and Step 6 (provision) — the tutorial just doesn't repeat it explicitly. The correct substitution rule:
| OS | Replace COM7 with |
|---|---|
| Windows | COM7, COM8, … (from Device Manager → Ports) |
| Linux | /dev/ttyUSB0, /dev/ttyACM0, … (from ls /dev/tty{USB,ACM}*) |
| macOS | /dev/cu.SLAB_USBtoUART, /dev/cu.usbserial-* (from ls /dev/cu.*) |
If you get "could not open port COM7: No such file or directory" on Linux, you found the port — just use the actual /dev/tty* path from ls. If you get "Permission denied", run sudo usermod -aG dialout $USER and log out/in.
@killinit — Pretrained models / public datasets
No pretrained 17-keypoint pose model ships yet (tracked in #509). What works today without a model: presence, motion energy, breathing rate, heart rate, fall detection. These run entirely on the ESP32 edge DSP, no model needed.
For training: the MM-Fi dataset (70 GB) is the reference set from ADR-015. A usable subset (~2 GB) can be assembled from the env1/ split. The training pipeline is at v2/crates/wifi-densepose-train/ — but without ground-truth paired data from your own environment the resulting model will likely not transfer well. The ADR-079 tracking issue (#640) covers the in-progress work to ship a usable checkpoint.
Tutorial body version references will be updated to v0.6.6 shortly.
Is this OK? Why is it saying "Data Source: SIMULATED"? Does it mean that my ESP32 is somehow not detected?
God damn, I spent 6 hours to get it running. It does not worth it.
The whole thing produces just random data:
There is no clear step-by-step guide how to run it - said, 'figure it out'. Total disrespect to the audience.
God damn, I spent 6 hours to get it running. It does not worth it.
The whole thing produces just random data:
There is no clear step-by-step guide how to run it - said, 'figure it out'. Total disrespect to the audience.
Sorry to say! This is an AI generated project that never worked. Look at other issues and you will see that this project is a scam!
I can give some guild:
- run I Claude
- install ruflo
- run ruflo init --all
- install ruview plugin for claude
- in Claude use this prompt: "Extracts entities and relations from code and docs, builds knowledge graphs, and traverses them with pathfinder scoring" this will initialize the RuVector power.
- type what you want in Claude. In ex. How to flash and initialize esp32-s3.
I had same problems. This project is in big percent run in a vibe-coding technics. This is very important to understand the structure it is made by AI for AI. So use AI to work with it. Claude with ruflo will without any problem help you to understand which feature is connected to which ADR and find the most recent information. It can even create you a script to make your life easier in flashing and provisioning. It even helped me to implement C1001 mmWave chip.
You must understand that this project is in heavy development and going far beyond the basic features of AliExpress chips. I spent already 3 Weeks fighting with this repo and still I think I know very little but I see "genius" in this, so time we'll spent.
Have fun and don't be a pussy ;-) don't give up (with full respect, sir!)
I followed steps 5 and 6 above to set up an esp32-S3 board and run the server as a docker container as instructed above.
Still localhost:3000/api/v1/nodes shows total: 0 although tcpdump shows that udp frames sent to the docker container: with exposed ports: 192.168.0.111.56549 > 172.17.0.2.5005: UDP, length 60 with docker --network host 192.168.0.111.53369 > 192.168.0.99.5005: UDP, length 60
What do I have to do so that the server recognizes the esp32 board?
I tried and failed multiple time with esp32-s3. next weekend will try again. Still confused because i didt find any real video tutorial :(
I followed steps 5 and 6 above to set up an esp32-S3 board and run the server as a docker container as instructed above.
Still localhost:3000/api/v1/nodes shows total: 0 although tcpdump shows that udp frames sent to the docker container: with exposed ports: 192.168.0.111.56549 > 172.17.0.2.5005: UDP, length 60 with docker --network host 192.168.0.111.53369 > 192.168.0.99.5005: UDP, length 60
What do I have to do so that the server recognizes the esp32 board?
slight "progress", /api/v1/nodes now says: nodes 0 last_seen_ms 178717 motion_level "absent" node_id 1 person_count 1 rssi_dbm 0.0JS:0 status "stale" total 1
So it must have connected at some point but lost connection again. tcpdump still shows received frames
