ruvnet/RuView
Edge WiFi CSI sensing for camera-free occupancy and local automation
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
RuView separates RF capture, sensing inference, and application integration. In the documented mesh design, 4–6 ESP32 nodes capture WiFi Channel State Information (CSI) with time-division sampling on channels 1, 6, and 11. The pipeline combines 56 subcarriers per channel into 168 virtual subcarriers per link, fuses observations across links with attention, and uses a coherence gate to reject unsuitable measurements before feature extraction. The ESP32 can operate independently for some sensing functions; the server adds visualization and aggregation.
The Rust v2/crates/ tree coexists with ESP32 firmware and the Python wifi-densepose stack. The Python manifest includes NumPy, SciPy and PyTorch for numerical and model work, plus FastAPI, Uvicorn and WebSockets for service and streaming code; those dependencies are not prerequisites for every deployment mode. HOMECORE provides local state and signed Wasm plugins, HA-DISCO publishes sensing data over MQTT, and the separate npm harness exposes machine-facing tooling via MCP over stdio or token-protected, read-only HTTP.
Key Capabilities & Differentiators
The released CSI encoder produces 128-dimensional embeddings and ships with a presence head and per-node LoRA adapters. Its 82.3% figure is held-out temporal-triplet accuracy, not an occupied-versus-empty accuracy rate; the previous 100% presence figure was retracted. A separate 17-keypoint checkpoint scores 82.69% torso-PCK@20 on the MM-Fi random_split protocol, or 83.59% with a three-model ensemble and test-time augmentation. The checked-in pose_v1 is a different model: it scored 3.0% PCK@20 on a 217-sample holdout, and its on-device runtime still returns a placeholder skeleton at confidence zero.
The sensing server's --model accepts native RVF and can convert supported safetensors or JSONL weights. The published model.safetensors has a NUL-padded header that the reference Python loader rejects; csi-embed-v2.safetensors is unaffected. Quantized model-q*.bin files need a compatible reader, and successful weight loading does not wire up a pose decoder. The harness can also connect to an ESPHome 60 GHz radar kit, but device access is not validation of the fused RF world model. Device-reported vitals remain unvalidated.
Trade-offs & Limitations
RuView is a strong fit when camera-free sensing and local integration matter more than turnkey setup. Compared with a conventional room occupancy sensor, its CSI pipeline offers more data for motion and pose experiments but introduces dependencies on compatible hardware, placement, firmware, and calibration. Compared with a camera-based pose pipeline, it avoids collecting images in CSI-only operation but does not yet demonstrate equivalent live joint tracking. The webcam-assisted fusion demo and the MM-Fi benchmark should not be used as acceptance tests for a single-node CSI-only installation.
Use the deterministic replay as a pipeline regression test, not as field validation. Before driving automations, measure false activations and missed events at the installation site, and distinguish simulated, inferred, and unvalidated states in dashboards. Camera-free does not mean privacy-free: occupancy, activity, and vital-sign estimates still warrant consent, access restrictions, and retention limits. Do not rely on those vitals or fall-related alerts as the sole input to medical or safety-critical decisions.
Hardware & Deployment Guide
For a hardware-free evaluation, run ruvnet/wifi-densepose:latest with RUVIEW_API_TOKEN and publish the service on 127.0.0.1:3000. The container exits with code 64 if the token is missing, and this route uses simulated input. For live CSI, use supported hardware such as an ESP32-S3 or ESP32-C6, flash matching firmware, and provision the node with WiFi credentials and the destination IP. The ESP32-C6 example uses ESP-IDF with idf.py set-target esp32c6; the Python client path is available separately as ruview[client] for WebSocket and MQTT access.
Keep firmware, the sensing service, and Python/PyTorch training as separate sizing and versioning decisions; there is no universal GPU or VRAM requirement in the supplied specifications. The v0.9.6-beta.1 prerelease focuses on calibration, display labeling, telemetry validation, and dependency security, with no firmware binaries, new hardware validation, or new accuracy claim. The v3899 entry is a CI-validated source snapshot rather than a firmware bundle, so check the artifact for the component you intend to deploy.
--mqtt, and HOMECORE provides local history, automations, and signed Wasm plugins.RUVIEW_API_TOKEN and uses simulated input; live advanced sensing needs a CSI-capable device.Local occupancy and motion pilots, CSI research, and Home Assistant automations in spaces where occupants have consented and an operator can validate the installation.
You need router-only setup without CSI hardware, turnkey live 17-keypoint tracking, or medically validated vitals and dependable emergency alerts.
Quick Start & Installation
# Download the model bundle pip install huggingface_hub huggingface-cli download ruvnet/wifi-densepose-pretrained --local-dir models/wifi-densepose-pretrained
Comparison vs. Top Voice, Vision & Video Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| RuView ★ | 106k | +752 | Rust | MIT | Edge WiFi CSI sensing for camera-free occupancy and local automation |
| hyperframes | 95.5k | +4.4k | TypeScript | Apache-2.0 | HTML timelines for editable video projects and frame-by-frame rendering |
| autoclip | 21.7k | +4k | Python | MIT | Local-first AI turns long videos into captioned clips via desktop, CLI, and MCP. |
| ComfyUI | 149.9k | +945 | Python | GPL-3.0 | A node-graph engine for building and running multimodal AI workflows locally |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/ruvnet/RuView.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about RuView
How do Home Assistant and MCP connect to RuView?
--mqtt. The separate @ruvnet/ruview harness exposes MCP over stdio or token-protected HTTP. HTTP tools are read-only, hardware reads require the device-access grant, and flashing and calibration are not exposed over HTTP.What hardware and compute do I need?
Can I self-host RuView or include it in a commercial product?
When should I choose RuView over an occupancy sensor or a camera-based pose stack?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy