Hardware not Detected
Using a flashed esp32-s3, I am properly connected to the wifi network and docker container has been brought up. However, data readings aren't accurate as my hardware is not being detected and outputting simulated data.
E (2202921) task_wdt: - IDLE1 (CPU 1)
E (2202921) task_wdt: Tasks currently running:
E (2202921) task_wdt: CPU 0: IDLE0
E (2202921) task_wdt: CPU 1: edge_dsp
E (2202921) task_wdt: Print CPU 1 backtrace
Backtrace: 0x403796A7:0x3FC9B6D0 0x403772B5:0x3FC9B6F0 0x4037FA7A:0x3FCC7D20 0x420095B7:0x3FCC7D40
W (2206521) edge_proc: Fall detected! accel=5.3383 > thresh=2.0000
@leeclay95 You can use tcpdump or wireshark to capture if any data incoming in 5005 port by UDP on the server. If not, seem you did not properly set WiFi credentials and server address on esp32.
يمكن لان البيانات اللي مسجلها ماصحيحه او انها ما استلمت البيانات
I've also seen this issue, even with several ESP32's, and I'm nearly certain they're configured correctly. Any debugging steps on the ESP32 side would be hugely helpful
The watchdog error is the key clue
E (2202921) task_wdt: CPU 1: edge_dsp
W (2206521) edge_proc: Fall detected! accel=5.3383 > thresh=2.0000
The edge_dsp task is starving the IDLE watchdog on CPU 1, meaning the DSP processing loop is taking too long without yielding. This can happen when:
- WiFi CSI callback isn't firing — the ESP32 isn't receiving CSI data from the router, so the DSP task spins waiting for input
- Channel mismatch — the ESP32 isn't on the same WiFi channel as the router
Troubleshooting steps
1. Verify ESP32 is connected to WiFi
Check serial output for:
I (xxx) wifi:connected with <SSID>, channel X
I (xxx) wifi:Got IP: 192.168.x.x
If you don't see this, re-provision with correct credentials:
python firmware/esp32-csi-node/provision.py --port COMX \
--ssid "YourSSID" --password "YourPassword" \
--target-ip <YOUR_PC_IP> --target-port 5005
2. Verify UDP packets are reaching the server
On your PC:
# Windows PowerShell
netstat -an | findstr 5005
# Or use Wireshark to capture UDP on port 5005
If no packets arrive, check:
- Firewall:
netsh advfirewall firewall add rule name="ESP32 CSI" dir=in action=allow protocol=UDP localport=5005 - target-ip: Must be your PC's actual LAN IP (not 0.0.0.0 or localhost)
3. The "simulated data" display
The Docker container uses --source simulate by default if no ESP32 source is configured. To use real hardware:
docker run -p 3000:3000 -p 3001:3001 -p 5005:5005/udp \
-e CSI_SOURCE=esp32 ruvnet/wifi-densepose:latest
The "Fall detected" message is from the edge processing pipeline reacting to noisy/absent data — once real CSI frames arrive, this should stabilize.
Update: watchdog fix shipped
@leeclay95 @mknippen — the task watchdog issue (CPU 1: edge_dsp) was fixed in two stages:
1. v0.4.3-esp32 firmware
- DSP task now yields to the watchdog timer properly
- Fall detection threshold raised from 2.0 to 15.0 rad/s² (was triggering on normal movement)
- Release: v0.4.3-esp32
2. PR #300 — 5-second offline timeout
The server now detects when an ESP32 stops sending frames and marks it offline after 5 seconds, rather than showing stale simulated data.
"No hardware detected, using simulation"
This message means the server received zero UDP packets within its 2-second detection window at startup. Most common causes:
- ESP32 not connected to WiFi — check serial monitor for
Got IP: 192.168.x.x - Wrong
--target-ip— the ESP32 must be provisioned with your computer's actual LAN IP, not0.0.0.0or127.0.0.1 - Firewall blocking UDP 5005 — on macOS, check System Preferences → Security → Firewall. On Windows, allow UDP 5005 inbound.
# Verify ESP32 is sending data (run on your computer)
# macOS/Linux:
sudo tcpdump -i any udp port 5005 -c 5
# If you see packets, the ESP32 is working — check firewall/server config
# If no packets, re-provision with correct target-ip
Please try flashing v0.4.3 or later and let us know if the watchdog issue persists.
Update: v0.5.1 Addresses Both Issues
1. Task Watchdog Crash — Fixed
Your logs show the exact issue fixed in v0.5.1:
E (2202921) task_wdt: CPU 1: edge_dsp
The edge_dsp task now uses batch-limited processing with proper yields (PR #325). Reflash with v0.5.1-esp32.
2. Fall Detection Spam — Fixed
W (2206521) edge_proc: Fall detected! accel=5.3383 > thresh=2.0000
The threshold was raised from 2.0 to 15.0 rad/s² in v0.4.3, with 3-consecutive-frame debounce and 5-second cooldown. This is included in v0.5.1.
3. "Simulated Data" — Server Detection Fix
If the UI shows "simulated data" despite ESP32 being connected, you likely need the v0.5.1 sensing server which now generates sensing_update messages from edge vitals packets (PR #325). Previously the server received data but didn't feed it into the detection pipeline.
How to Upgrade
- Reflash firmware: Download from v0.5.1-esp32 and flash
- Rebuild server:
git pull origin main cd rust-port/wifi-densepose-rs cargo build --release -p wifi-densepose-sensing-server - Re-provision your ESP32 with
--target-ippointing to the server
Fixed in v0.5.1 — watchdog crash (PR #325), fall threshold (v0.4.3), and edge vitals detection (PR #325). Please reflash with v0.5.1-esp32.