Overview

Device: esp32_001 · Patient: Devant Kumar · Battery: —%

CONNECTING…
Device offline. Live heart readings are hidden until the ESP32 device is enabled and sending data.
❤️ Heart Rate /vitals/latest
BPM
Awaiting data…
💧 SpO2 /vitals/latest
%
Blood oxygen · SpO2
🤖 ML Risk /ml_prediction/latest
Confidence: %
🚨 Latest Alert /alerts
Severity: · Val:
📟 Device /devices
📶 WiFi RSSI
dBm
🔋 Battery
%
LiPo 2000mAh
📐 HRV
ms
Heart rate variability

BPM — /vitals/{did}/history

LIVE

SpO2 — /vitals/{did}/history

🤖

AI Cardiac Analysis

● CLAUDE AI
Connecting to Firebase…

Live ECG — /ecg_data/esp32_001/{timestamp}

AD8232 → ESP32 ADC 12-bit (0–4095) → Firebase → Canvas · Hover for mV
RECORDING
Raw Firebase /ecg_data Values (12-bit ADC)
LEAD II · AD8232 — BPM ADC:
📟 Device ID
esp32_001
Firmware: v1.0
📐 ADC Resolution
12bit
Range: 0 – 4095
⚡ Sample Rate
250Hz
AD8232 output

Alerts — /alerts/esp32_001

REALTIME
Loading from Firebase /alerts/esp32_001…

Vitals History — /vitals/esp32_001/history

LIVE

Recent Records

Last 15 entries
TimestampBPMSpO2ECG ADCRhythmTime
Loading…
🎯 Latest Confidence
%
/ml_prediction/latest
⚠️ Risk Level
ML model output
📦 Predictions Total
/ml_prediction/history count

Confidence Over Time

/ml_prediction/history

Prediction History Table

Timestamp KeyRiskConfidenceTime
Loading…
💬

AI Assistant — Live Firebase Context

● CLAUDE

Ask anything — AI reads your live vitals from Firebase for context.

AI: Hello Devant! I have your live vitals from Firebase. How can I help?
DK
Devant Kumar
Patient
devant@email.com
BPM
—%
SpO2
Risk

🩺 Patient — Firebase /users/user_001

NameDevant Kumar
Emaildevant@email.com
Age45
Device IDesp32_001
Telegram Chat ID1594669605
Blood GroupB+
RolePatient
⚙️ Settings

Device Activation /devices/esp32_001/status

When disabled, live readings show offline until the device is enabled again.

Alert Thresholds /settings/esp32_001/thresholds

Notifications /settings/esp32_001/notifications

Firebase DB Paths

/vitals/esp32_001/latest → BPM, SpO2
/ecg_data/esp32_001/{ts} → ADC value
/ml_prediction/esp32_001/latest → risk
/alerts/esp32_001/{id} → alerts
/devices/esp32_001 → status, battery