RECORD_ID: prj_02 STATUS: IN PROGRESS
[SUBJECT_MATTER]

ringhealth — health monitoring on colmi r02

Android health tracking app for the COLMI R02 smart ring (~25€), featuring health score computation, sleep analysis, and real-time dashboard — built with Kotlin, Jetpack Compose, and Room.

TIMEFRAME 2026
TECHNICAL_STACK
Kotlin Jetpack Compose Room DB Canvas Charts Android SDK BLE Health Metrics

system_log // ringhealth

RingHealth is a native Android application built for the COLMI R02 smart ring — an affordable wearable (~25€) that tracks heart rate, SpO2, sleep, and activity. The project embraces data sovereignty: all health data stays on-device, with no cloud dependency.

mission_scope

The goal was to build a complete health monitoring experience from raw sensor data to actionable insights:

  • Compute a personalized health score from multiple biometric signals
  • Provide sleep analysis with sleep stage breakdown
  • Display trends through an interactive dashboard with Canvas-based charts
  • Store all data locally using Room DB with Flow-based reactive queries

technical_architecture

data_layer

Room database with DAOs exposing both suspend functions and Flow for reactive UI updates. Health metrics are stored as structured entities with timestamp-based indexing for efficient time-series queries.

health_score

A custom scoring algorithm aggregates weighted metrics (resting HR, SpO2, sleep duration, activity) into a daily health score. The computation runs on-device — no server round-trip.

dashboard

Interactive charts built with Canvas (chosen over Vico for full control over rendering). Displays multi-day trends for heart rate, SpO2, and sleep quality with smooth animations.

sleep_tracking

Sleep session analysis with light/deep/REM phase detection. Note: REM detection is excluded from the initial release due to ring sensor limitations — the focus is on total sleep duration and quality metrics.

current_status

Active development — core features implemented (S1-S7 checkpoints done), 82 unit tests passing. APK available in releases.

tech_debt_and_roadmap

  • Add REM sleep phase support with improved sensor algorithms
  • Expand health score with HRV analysis
  • Widget support for at-a-glance metrics
  • Wear OS companion app

Repository: github.com/profirst30/ringhealth