WALLS: the step-by-step breakdown
From Adam Rosler. The thing you commented WALLS for: build a Wi-Fi motion detector yourself, and see what your own router could know about your home.
What the reel showed
Every Wi-Fi packet lets the receiver measure how each of its frequencies (subcarriers) arrived: its channel state information (CSI). When nobody moves, those numbers sit still; when someone walks, the reflections off their body change and the numbers ripple. MIT showed in 2013 that Wi-Fi can spot people moving behind a wall and count them (Wi-Vi); in 2022 Carnegie Mellon turned Wi-Fi signals into body poses of several people (DensePose From WiFi, same room). We took real recordings made through an 8 cm wooden wall (Alsaify et al. 2020) and built a dead-simple detector: how much do the numbers wobble? On three people it never saw, it told walking from sitting still in 25 of 30 recordings; all five misses were the same person. Wi-Fi's standards body has published a standard for this: IEEE 802.11bf-2025, WLAN sensing.
Build it: path A, on real recordings (an evening, no hardware)
- Get the data. Clone
github.com/lcsig/Dataset-for-Wi-Fi-based-human-activity-recognition-in-LOS-and-NLOS-indoor-environments(MIT licence). Environment E3 is the through-wall one (transmitter outside the room, receiver inside, 8 cm wooden wall, 5.44 m apart). Files are namedE3_S<subject>_C<class>_A<activity>_T<trial>.dat; we usedC01_A01(sitting still) andC03_A06(walking) for subjects 21-30. - Install.
pip install csiread numpy scikit-learn(csiread reads Intel 5300.datlogs). - Run
presence.py(this page):python presence.py path/to/E3_files out/. It reads each file's CSI amplitude (packets x 30 subcarriers x 3 antennas), computes two "wobble" numbers (the median standard deviation over time, and the median packet-to-packet change), trains a logistic regression on subjects 21-27 and tests on 28-30. - Read the result in
out/presence.json: ours was 25 / 30, with all five misses on subject 28's walks. Try a harder split, more activities (the dataset has 12), or the line-of-sight rooms (E1, E2) and compare.
Build it: path B, live in your own home (a weekend, about $10)
- An ESP32 board can log CSI from your own Wi-Fi: Espressif's
esp-csiexamples (github.com/espressif/esp-csi) include a ready-made presence/motion detection demo. Flash one ESP32 as the receiver near your router, stream the CSI over serial, and apply the same wobble idea in Python. Calibrate it on an empty room first. - Only sense spaces you own and people who know about it.
Make your router yours
- Check for motion features. Some router and ISP apps already offer Wi-Fi motion sensing (often opt-in). Look in your router's app or admin page for "motion", "sensing" or "presence", and decide whether you want it on.
- Keep its firmware updated: turn on automatic updates.
- Lock its admin page: a long, unique admin password; turn off remote administration if you don't use it.
Sources: Adib & Katabi, "See Through Walls with Wi-Fi!", SIGCOMM 2013; Geng, Huang & De la Torre, "DensePose From WiFi", arXiv:2301.00250; Alsaify et al., Data in Brief 33 (2020); IEEE 802.11bf-2025. Our run's numbers are kept with the reel's project files.
Files for this breakdown
Unlock the full WALLS breakdown + downloadable runnable scripts
Drop your email once to read the complete step-by-step guide, grab the files, and unlock all 96 Reel breakdowns on this device forever.