Antonio Braccolino, Identity & Access, home
EN · Language: English
← All projects

Hardware experiment · November 2026

WiFi Sensing

Telling whether someone is in a room using only the WiFi signal. No cameras.

  • Rust · Axum
  • WebSocket
  • Swift · CoreWLAN
  • Three.js
  • ESP32 (next step)
WiFi sensing dashboard: the 3D field of the room, the signal at −55 dBm and the classification “present, still”
The idea
When a person moves, or just breathes, the radio waves in a room change in a measurable way. I wanted to see how far ordinary hardware gets you, my Mac and my home router, before buying dedicated sensors.
What it builds on
An open source WiFi sensing framework written in Rust. The core code is not mine: I compiled it on the Mac, wrote the launcher that starts server and dashboard with a double click, and tested it at home.
How it works
A small Swift helper reads the signal strength (RSSI) with CoreWLAN every 500 ms, for up to 32 networks. The Rust server (Axum) computes variance, spectral power and the frequency bands typical of motion and breathing, then a classifier decides the state. The result reaches a 3D dashboard in the browser over WebSocket.
Privacy
Everything runs locally on the Mac (127.0.0.1): no cloud, no images of people. On macOS the names of nearby networks are not even shown.
Results and limits
With the Mac alone it detects presence and motion roughly: in the screenshot, “present, still” at 44% confidence. Signal strength alone is not enough to measure breathing or estimate pose. The “ESP32” label in the dashboard is the default one: this data comes from the Mac’s WiFi.
Next step
Adding ESP32 boards that send CSI (Channel State Information) to the server: the detail of how the signal changes on each subcarrier. It is what finer measurements and more rooms need.
Dashboard status screen: API server, hardware, inference and streaming all healthy, with CPU, memory and disk usage
System status: server, data source, inference and streaming.

Read the post →

Other projects

← All projects