This repository now includes:
backend/: FastAPI orchestrator (Gemma onboarding, stream handling, IMU UDP/WebSocket ingestion, fall-event clip capture).frontend/: React + Tailwind dashboard (patient profile, dual camera panels, agent toggles, thinking feed, critical events gallery).firmware/: ESP32-CAM sketches for Node A (glasses stream) and Node B (glove IMU/IR/TFT/speaker + stream).
From repo root:
.\setup.ps1Edit:
backend/.env
Set at minimum:
GEMINI_API_KEY=...GLASSES_STREAM_URL=http://<node-a-ip>:81/streamGLOVE_STREAM_URL=http://<node-b-ip>:81/stream
Backend:
cd backend
..\.venv\Scripts\python.exe -m uvicorn app.main:app --host 0.0.0.0 --port 8000 --reloadFrontend:
cd frontend
npm run devOpen:
http://localhost:5173
Flash:
firmware/glasses/glasses.inofirmware/node_b_glove/node_b_glove.ino
For Node B TFT pins, see the TFT_eSPI #define block at the top of:
firmware/node_b_glove/node_b_glove.ino
Pin mapping details:
firmware/README.md