logoalt Hacker News

Show HN: ESPectre – Motion detection based on Wi-Fi spectre analysis

67 pointsby francescopacetoday at 2:40 PM10 commentsview on HN

Hi everyone, I'm the author of ESPectre.

This is an open-source (GPLv3) project that uses Wi-Fi signal analysis to detect motion using CSI data, and it has already garnered almost 2,000 stars in two weeks.

Key technical details:

- The system does NOT use Machine Learning, it relies purely on Math. — Runs in real-time on a super affordable chip like the ESP32. - It integrates seamlessly with Home Assistant via MQTT.


Comments

roger_today at 8:24 PM

Been working on this very idea casually for couple years with ESP-IDF and I could never get the statistical signal processing just right (by my definition). Things I've tried: adapting filtering (LMS, Kalman), kernel methods (NEWMA, MMD), detectors (CUSUM, GLR), dimensionality reduction (random projection, online PCA), whitening, etc.

I use a single ESP32 in STA/AP mode which sniffs ACK packets with a specific destination mac, which come from any server on my WiFi network (uses a special sniffing mode IIRC). This way I can receive regular CSI packets originating from a fixed location and doesn't need another device running.

I'll have to look at this code, maybe I just overlooked the obvious or my requirements were too high!

show 1 reply
Gystoday at 8:43 PM

Interesting! Are you familiar with tommysense.com? I think it doing something similar? Did not yet have time to try it.

show 2 replies
tetris11today at 7:50 PM

Amazing stuff!

Am I right in understanding that only a single ESP32 device is needed (plus a router)?

show 1 reply
acltoday at 9:21 PM

Would this work with a mesh router?

show 1 reply