Skip to content

[UPSTREAM] Feature: Push HeartRate and StepCount to Nightscout API v3 #40

@bcoster22

Description

@bcoster22

Upstream Reference

nightscout#4497

Feature Request

Sync heart rate and step count data from Wear app to Nightscout API v3. Author already has a working implementation in a fork.

Design (from author)

  • Use polymorphic entries collection (APIv3) rather than new NS collection
  • Heart rate: max 1 reading/minute in 5-minute batches
  • Steps: max 1 record per 5 minutes
  • Database entities already exist: HeartRate and StepsCount tables

Key Files

  • database/impl/ — HeartRate and StepsCount entities already in Room DB
  • core/nssdk/ — Nightscout API client
  • plugins/sync/ — sync workers
  • wear/ — data collection from wearable

Action Items

  • Review existing HeartRate/StepsCount entities
  • Add NS v3 sync for these data types
  • Add to DataSyncWorker upload pipeline

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions