Description Proposed Issue: Data Handling & Persistence Strategy
Summary
Capture decisions and open questions around persisting ring metrics beyond the current in-memory model.
Document constraints from ring hardware (packet cadence, battery cost) and how they influence storage choices.
Define milestones for introducing optional persistence once experimentation stabilises.
Background
The SwiftUI app currently holds RingMetrics in memory only; no Core Data or external store is used.
We now have an expanded “Sensor Capabilities & Application Opportunities” section describing what data we may want to keep.
Legacy tooling (e.g., RingCLI, Home Assistant integrations) shows demand for historical logs and cross-device automations.
Goals
Evaluate lightweight persistence mechanisms (Core Data, SQLite, files, CloudKit) suitable for iOS-first scope.
Decide on data granularity to retain (raw packets vs. parsed RingMetricsUpdate events vs. aggregated summaries).
Outline migration path that keeps experimentation friction low while enabling opt-in storage later.
Non-Goals (for now)
Shipping a full persistence layer in the current milestone.
Implementing background sync, multi-device sharing, or cloud services.
Guaranteeing compatibility with legacy firmware mods beyond our documented command set.
Proposed Tasks
References
COLMI_RINGS_COMPREHENSIVE_DOCUMENTATION.md — new sensor/application overview section.
ring/ring/RingResponseParser.swift — source of parsed RingMetricsUpdate events.
Legacy/ATC_RF03_Ring — demonstrates firmware tweaks that may affect data cadence.
Reactions are currently unavailable
You can’t perform that action at this time.
Proposed Issue: Data Handling & Persistence Strategy
Summary
Background
RingMetricsin memory only; no Core Data or external store is used.Goals
RingMetricsUpdateevents vs. aggregated summaries).Non-Goals (for now)
Proposed Tasks
RingSession,RingSample, etc.; compare against alternatives.References
COLMI_RINGS_COMPREHENSIVE_DOCUMENTATION.md— new sensor/application overview section.ring/ring/RingResponseParser.swift— source of parsedRingMetricsUpdateevents.Legacy/ATC_RF03_Ring— demonstrates firmware tweaks that may affect data cadence.