feat: Add POWERTEST command, update roadmap with v2.0 FTM milestone

Add 7-phase power profiling command (POWERTEST) that cycles through
idle, CSI 10/100 Hz, BLE-only, combined, tx_low/tx_high with EVENT
markers for external power meter correlation. Saves/restores all
settings on completion.

Update roadmap: mark v1.4 done, add v2.0 hardware upgrade milestone
for ESP32-S3/C6 with WiFi FTM / 802.11mc inter-sensor ranging.
This commit is contained in:
user
2026-02-04 21:47:28 +01:00
parent 84f2b33dac
commit 8c79d20cd8
2 changed files with 156 additions and 4 deletions

View File

@@ -93,23 +93,41 @@ Note: Promiscuous mode (probe/deauth capture) disabled on original ESP32 — bre
- [x] Home Assistant webhook integration (deauth_flood, unknown_probe, unknown_ble)
- [x] Parallel OTA fleet updates (`esp-fleet ota --parallel`)
## v1.4 - Multi-Sensor & Validation
- [ ] Multi-sensor BLE correlation in esp-ctl (zone tracking by source sensor)
## v1.4 - Multi-Sensor & Validation [DONE]
- [x] Multi-sensor BLE correlation in esp-ctl (zone tracking by source sensor)
- [x] Zone tracking with EMA RSSI (`esp-ctl osint zones`, `device_zones` table)
- [x] Per-sensor breakdown in MAC profile (`esp-ctl osint mac`)
- [x] POWERTEST command (7-phase power profiling with EVENT markers)
- [ ] Test OTA rollback (flash bad firmware, verify auto-revert)
- [ ] Create HA webhook automations for deauth_flood / unknown_probe
- [ ] Document esp-crab dual-antenna capabilities
- [ ] Document esp-radar console features
## v1.5 - Power Management
- [ ] Power consumption measurements (per-mode baseline)
- [ ] Power consumption measurements using POWERTEST + external meter
- [ ] Deep sleep mode with wake-on-CSI-motion
- [ ] Battery-optimized duty cycling
## v2.0 - Hardware Upgrade (ESP32-S3/C6)
Requires replacing current ESP32 (original) DevKitC V1 boards with ESP32-S3
or ESP32-C6 modules. The original ESP32 lacks FTM and has CSI/promiscuous
mode conflicts.
- [ ] Select target chip (ESP32-S3 for dual-core + BLE 5, or C6 for WiFi 6 + 802.15.4)
- [ ] Port firmware to new target (`idf.py set-target`, adjust `#if CONFIG_IDF_TARGET_*`)
- [ ] WiFi FTM / 802.11mc support (Fine Timing Measurement, ~1-2m accuracy)
- FTM initiator + responder mode on each sensor
- Inter-sensor ranging (3 pairs from 3 sensors)
- Auto-calibrate sensor positions for 3D floor plan
- [ ] Enable promiscuous mode alongside CSI (works on S2/S3/C3/C6)
- [ ] Validate CSI quality on new chip (subcarrier count differs)
- [ ] Update parsers for chip-specific CSI format
## Future
- AP+STA config portal (WIFI_MODE_APSTA, captive portal for initial setup)
- ESP-NOW mesh (ESP32-to-ESP32 CSI)
- Multi-channel scanning (hop across WiFi channels)
- RSSI triangulation with 3 sensors (approximate device location)
- BLE device fingerprinting (identify phone models by advertisement patterns)
- Historical presence logging (who was here, when, how long)
- External sensor support (PIR, temp/humidity via GPIO)