GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - marminguez/theguardian: Guardian turns passive mmWave radar sensors into eight human-readable daily signals for a family member monitoring an elderly parent living alone across the border. All reasoning runs locally — no cloud, no camera, no audio.

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
backend
backend
 
 
data
data
 
 
docs
docs
 
 
hardware
hardware
 
 
web
web
 
 
DEMENTIA_SIGNALS.md
DEMENTIA_SIGNALS.md
 
 
DEMO.md
DEMO.md
 
 
HONESTY.md
HONESTY.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
connection_prefs.json
connection_prefs.json
 
 
docker-compose.yml
docker-compose.yml
 
 
guardian-prd-v8.md
guardian-prd-v8.md
 
 
mockup.html
mockup.html
 
 
pytest.ini
pytest.ini
 
 

Repository files navigation

The Guardian

Camera-Free, On-Device AI for Cross-Border Elderly Care

Guardian turns passive mmWave radar sensors into eight human-readable daily signals for a family member monitoring an elderly parent living alone across the border. All reasoning runs locally — no cloud, no camera, no audio.

Built at StartHack Hong Kong 2026. See HONESTY.md for full disclosure of what is real vs. mocked, pre-existing code, and known limitations.


For judges — why this matters

1.68 million Hongkongers are over 65. Many relocate across the border to Shenzhen/Guangzhou; their families stay in HK. Existing monitoring fails because it requires cameras (parents refuse), wearables (parents won't wear), or cloud infrastructure (cross-border data laws break it).

Guardian is the first eldercare system designed for the person who won't use it — no cameras, no wearable, nothing to charge or configure. The radar is invisible. The parent changes nothing. The child gets daily reassurance and crisis alerts, all from on-device AI that works across any border.


Prerequisites

Guardian runs entirely on your machine. You need:

  • Docker + Docker Compose — for the app stack
  • Ollama — for the on-device LLM and embeddings (runs on the host, outside Docker)
  • ≥16GB RAM recommended for Gemma 4 E4B

1. Install Ollama and pull models

# Install Ollama: https://ollama.com
ollama pull gemma4:e4b
ollama pull nomic-embed-text

This is a one-time download (~a few GB). Ollama must be running before you start the stack.

2. Configure environment

cp .env.example .env
# Edit .env if you want WeCom/WhatsApp dispatch (optional — dashboard overlay works without it)

3. Start everything

docker compose up --build

Open http://localhost:3000 in ~90 seconds.


Demo

The dashboard has three scenario buttons in the bottom panel:

Button What it shows
▶ Normal Morning All 8 signal cards turn green. Zone map shows bedroom → bathroom → kitchen. Reasoning panel: cosine distance 0.04.
▶ 7-Day Trend 7-day drift at demo speed. Voice and Location go red on Day 7. Routine cosine climbs to 0.38. Intervention Trigger slides in.
🚨 Fall Override Immediate fall detection. Bathroom pulses red. Full-width banner. Reasoning: "Priority interrupt — bypassed agent loop."

Proving on-device operation

Pull the ethernet cable at any point — Guardian keeps reasoning. The [● Running On-Device · Gemma 4 · 0 Bytes to Cloud] badge in the top corner is wired to GET /status, which checks Ollama on localhost and confirms zero outbound connections.


Business Pitch

Guardian Business Pitch


Architecture

DEMO MACHINE (localhost)
├── Ollama (host)                  gemma4:e4b + nomic-embed-text
│
├── FastAPI backend  :8000
│   ├── /ingest                    receives sensor events (radar, GPS, voice, pill dispenser)
│   ├── /events                    SSE stream → dashboard
│   ├── /scenario/{name}           plays scripted demo timeline
│   ├── /trigger/intervention      WeCom → WhatsApp → overlay fallback
│   └── /status                    on-device verification (badge data)
│
└── Next.js dashboard  :3000
    ├── 8 signal cards             green/amber/red states via SSE
    ├── Abstract Zone Map          room presence blips
    ├── SVG location map           Glowing Heatmap Trace Layer
    ├── Reasoning panel            Gemma 4 rationale per signal
    └── Intervention Trigger       one-button caregiver dispatch

No hardware required for the demo. radar_simulator.py emits the same event schema that real ESP32 + mmWave sensors would produce.


The 8 Signals

# Signal Source
1 Woke Up mmWave presence (bedroom)
2 Ate mmWave presence + dwell (kitchen)
3 Took Meds Smart pill dispenser
4 Rested Well MR60BHA2 breathing radar
5 Helper Present mmWave multi-target detection
6 Voice Check-In Daily automated call (speech features)
7 Location GPS trajectory density vs baseline
8 Routine Cosine similarity across all signals (sqlite-vec)

Plus Fall Detection — a priority interrupt that bypasses the agent loop entirely and fires within 10 seconds.


Running the simulator standalone

# Seed 30-day baseline
python data/sim/radar_simulator.py --scenario seed --days 30

# Play Normal Morning at real-time speed
python data/sim/radar_simulator.py --scenario normal

# Play 7-Day Trend at 30× speed
python data/sim/radar_simulator.py --scenario trend_7day --speed 30

# Fire fall override immediately
python data/sim/radar_simulator.py --scenario fall

Running tests

# Backend tests (171)
cd backend && pip install -r requirements-dev.txt && pytest -v

# Frontend tests (120)
cd web && npx vitest run

290+ tests covering PRD § 5.6 SSE schema compliance, all route contracts, signal state machine, agent cache, fall interrupt bypass, voice deviation module, synthetic voice data, the replay.py 32-cell accuracy gate, plus frontend SSE integration, signal logic, and scenario player tests.


Tech Stack

Layer Technology
On-device LLM Gemma 4 E4B via Ollama
Embeddings nomic-embed-text via Ollama
Vector search SQLite + sqlite-vec (cosine similarity)
Backend FastAPI + SSE (Python 3.12)
Frontend Next.js + TailwindCSS
Deployment Docker Compose

Privacy

Guardian produces no images and no audio recordings. mmWave radar detects presence, motion, and breathing as structured events — physically incapable of producing footage. All data stays in a single SQLite file on your machine. Gemma 4 reasons locally. Zero bytes leave the device.

About

Guardian turns passive mmWave radar sensors into eight human-readable daily signals for a family member monitoring an elderly parent living alone across the border. All reasoning runs locally — no cloud, no camera, no audio.

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.