LockerGnomeTech news and nostalgia for today's technology professionals
Subscribe

Search

Hacks & Builds

RuView Turns $9 ESP32 Boards Into Wi-Fi Breathing Sensors, Then Retracts Its Own '100% Presence' Claim

The project's documentation also admits its on-device pose model scores 3% and labels device vitals unvalidated, a rare public correction for a hobby repo.

Four-color bitmap seen from directly overhead: Chris Pirillo lies on a living room couch with one hand on his chest, looking up skeptically, as cyan radio ripples from a wall-mounted router bend around his body and pass through the wall into the next room.
Illustration: LockerGnome

Every Wi-Fi router in a house already floods the rooms with radio. RuView listens to what happens to that radio when a person walks, sits or simply breathes in its path. The project captures Channel State Information, or CSI, from cheap ESP32 sensor nodes. CSI is the fine-grained readout a Wi-Fi chip keeps about how a signal arrived. Bodies bend and absorb the waves, and RuView turns those dents into numbers.

The vital-sign math is old-school signal processing (no crystal ball required). For breathing, the README describes a bandpass filter of 0.1 to 0.5 Hz on the wrapped phase. It then counts zero crossings to get 6 to 30 breaths per minute. Heart rate gets the same trick in the 0.8 to 2.0 Hz band, good for 40 to 120 beats per minute. A rising chest moves enough of the signal to show up. Your router’s radio has been brushing past your inhales for years. It just never had a $9 note-taker.

Presence detection leans on a small pretrained model the developer published on Hugging Face as ruvnet/wifi-densepose-pretrained. It is a 128-dimension contrastive encoder, and its 4-bit quantized variant fits in 8 KB. A 1.44 MB floppy could hold it with room for 179 more copies. The README says the model “runs in microseconds on a Raspberry Pi,” and it clocks the encoder at 164,183 embeddings per second on an M4 Pro. With no model loaded, a phase-variance fallback takes over after about 30 seconds of ambient calibration.

Then comes the part most hardware projects quietly skip. The README used to tout a “100% presence” figure. Now it says that number “was measured on a single-class recording and has been retracted.” Picture a test in which every sample says somebody is in the room. A detector that always answers “somebody is in the room” aces it. The replacement figure is 82.3% held-out temporal-triplet accuracy for the v2 encoder, up from 66.4% raw. The README calls that number “honest, label-free.”

The confessions keep going. RuView advertises camera-free estimation of 17 body keypoints. The committed on-device pose model, pose_v1, scores PCK@20 = 3.0%, “below the ADR-079 ≥35% target,” and its runtime path “is still a confidence=0 stub.” A separate model, ruvnet/wifi-densepose-mmfi-pose, posts 82.69% torso-PCK@20 on the MM-Fi research benchmark (83.59% as an ensemble). That beats MultiFormer at 72.25% and CSI2Pose at 68.41%. The README spells out that the 82.69% belongs to that benchmark, “not this live cog.” Device-reported vitals carry an “unvalidated” label. The unified RF world model’s “accuracy is still synthetic until real-data validation.”

The plumbing is further along. One --mqtt flag drops a node into Home Assistant with 21 entities. Eleven are raw signals and ten are inferred states such as someone-sleeping, bathroom-occupied, possible-distress, bed-exit and meeting-in-progress, with three starter Blueprints. Nodes can also pair as a Matter bridge for Apple Home, Alexa and SmartThings. Fall detection uses a phase-acceleration threshold, a three-frame debounce and a 5-second cooldown, and it responds in under 200 ms. Through-wall range runs “up to ~5 m, signal-dependent.” The mesh scans six Wi-Fi channels, using “your neighbors’ routers as free radar illuminators” (they did not volunteer).

A no-hardware path exists too. A Docker image serves simulated data, and it refuses to start without an API token, exiting with code 64. The toolkit even ships a claim-check command that audits the accuracy claims in a report. A one-word npx ruview package is built and “waiting on npm to release the unscoped name.”

Contactless vitals from commodity radio have lived in research papers for years. What changes here is the delivery. Once “bathroom-occupied” and “elderly-inactivity-anomaly” arrive as ordinary Home Assistant entities, the likeliest early adopters are adult children watching a parent’s house and office managers chasing meeting-room counts. Both groups need presence more than precision, so the 82.3% number serves them now while the pose work catches up.

The retraction matters for the same reason. Hobby sensing repos tend to compete on headline accuracy, and a single-class recording is the easiest way to post a perfect score. A README that prints its 3.0% beside its 82.69%, and ships a command for checking claims, hands tinkerers a standard to demand from the next project. Whether other projects copy it probably depends on whether readers reward the candor with stars and installs.

For now, the pose model’s confidence reads zero.

Orange links with a double underline go to Amazon. As an Amazon Associate, LockerGnome earns from qualifying purchases.

More Hacks & Builds

Every Hacks & Builds story →