Skip to main content

What is Synheart Wear?

Synheart Wear is a unified wearable SDK ecosystem that enables you to stream biometric data (HR, HRV, steps, calories, distance) from Apple Watch, Fitbit, Garmin, Whoop, and Samsung devices with a single, standardized API across Flutter, Android, and iOS applications.

Key Features

Cross-Platform Support

  • Flutter/Dart: Cross-platform mobile apps (iOS + Android)
  • Native Android: Kotlin SDK with Health Connect integration
  • Native iOS: Swift SDK with HealthKit integration
  • CLI Tool: Python-based local development server

Flux Integration (v0.3.0+)

  • HSI 1.0 Compliant: Process vendor data into standardized HSI format
  • Automatic Transformation: Removes UUIDs, ensures required fields, calculates missing values
  • Native Binaries: Automatically bundled for pub.dev users
  • Vendor Support: WHOOP and Garmin data processing

Multi-Device Support

DeviceFlutterAndroidiOSStatus
Apple Watch✅ (via Health Connect)✅ (via HealthKit)Ready
Health Connect✅ (Native)Ready
WHOOP🔄Mixed
BLE Heart Rate MonitorsReady
Fitbit📋📋📋Planned
Garmin (Cloud)Ready
Garmin (Native RTS)On demand (licensed)
Samsung Watch📋📋Planned
Oura RingVia HealthKit/Connect
Note: 🔄 for WHOOP on Flutter indicates Flux data processing support only (JSON transformation), not a live device adapter.
Garmin Native RTS: The Garmin Health SDK Real-Time Streaming (RTS) capability requires a separate license from Garmin. The GarminHealth facade is available on demand for licensed integrations. The underlying Garmin Health SDK code is proprietary to Garmin and is not distributed as open source. For cloud-based Garmin data (OAuth + webhooks), use GarminProvider.
Legend: ✅ Ready | 🔄 In Development | 📋 Planned

BLE Heart Rate Monitor Support

Direct Bluetooth LE connection to any standard heart rate monitor — no cloud API required. Works with devices implementing the standard BLE Heart Rate Profile (0x180D), including:
  • WHOOP (Broadcast Heart Rate mode)
  • Polar chest straps (H10, OH1)
  • Wahoo TICKR
  • Garmin HRM-Pro / HRM-Dual

Unified Data Schema

All platform SDKs output the same Synheart Data Schema v1.0:
{
  "timestamp": "2025-10-20T18:30:00Z",
  "device_id": "applewatch_1234",
  "source": "apple_healthkit",
  "metrics": {
    "hr": 72,
    "hrv_rmssd": 45,
    "hrv_sdnn": 62,
    "steps": 1045,
    "calories": 120.4,
    "distance": 2.5
  },
  "meta": {
    "battery": 0.82,
    "firmware_version": "10.1",
    "synced": true
  },
  "rr_ms": [800, 850, 820]
}

Privacy & Security

  • Consent-First Design: Users must explicitly approve data access
  • Data Encryption: AES-256 encryption for local storage
  • Key Management: Automatic key generation and secure storage
  • No Persistent IDs: Anonymized UUIDs for experiments
  • Compliant: Follows Synheart Data Governance Policy
  • Right to Forget: Users can revoke permissions and delete data

Architecture

┌──────────────────────────────────────────────────────┐
│              Synheart Wear Ecosystem                 │
│         (Documentation & Specifications)             │
└──────────────────────────────────────────────────────┘

        ┌────────────────┼────────────────┐
        │                │                │
┌───────▼────────┐ ┌─────▼─────┐ ┌───────▼────────┐
│ synheart-wear- │ │synheart-  │ │ synheart-wear- │
│     dart       │ │wear-kotlin│ │     swift      │
│  (Flutter)     │ │ (Android) │ │     (iOS)      │
└────────────────┘ └───────────┘ └────────────────┘
        │                │                │
        └────────────────┼────────────────┘

                ┌────────▼─────────┐
                │ synheart-wear-cli │
                │   (Python CLI)    │
                │  + Local Server   │
                │  + ngrok Tunnel   │
                └───────────────────┘

SDK Architecture

Each SDK implements a consistent architecture:
┌─────────────────────────┐
│   synheart_wear SDK     │
├─────────────────────────┤
│ Device Adapters Layer   │
│ (Apple, Fitbit, etc.)   │
├─────────────────────────┤
│ Normalization Engine    │
│ (standard output schema)│
├─────────────────────────┤
│   Flux Pipeline (HSI)  │
│   (WHOOP, Garmin)       │
├─────────────────────────┤
│   Local Cache & Storage │
│   (encrypted, offline)  │
└─────────────────────────┘

Flux Integration (v0.3.0+)

Flux is a data processing pipeline that converts vendor-specific data (WHOOP, Garmin) into HSI 1.0 compliant format. Key features:
  • Automatic Data Transformation: Removes UUIDs, ensures required fields, calculates missing values
  • HSI 1.0 Compliance: Outputs standardized sleep, physiology, and activity data organized by daily windows
  • Native Binaries: Automatically bundled for pub.dev users (no setup required)
  • Vendor Support: WHOOP and Garmin data processing
// Enable Flux in config
final synheart = SynheartWear(
  config: SynheartWearConfig(enableFlux: true),
);

// Process vendor data through Flux
final hsiData = await synheart.readFluxSnapshot(
  vendor: Vendor.whoop,
  rawJson: jsonEncode(rawData),
);

Available SDKs

Flutter/Dart SDK

Cross-platform SDK for iOS and Android apps.

Dart SDK Documentation

Complete guide for Flutter integration
Installation:
dependencies:
  synheart_wear: ^0.3.0
Version: 0.3.0 Repository: synheart-wear-dart

Android (Kotlin) SDK

Native Android SDK with Health Connect integration.

Kotlin SDK Documentation

Complete guide for Android integration
Installation:
implementation("com.github.synheart-ai:synheart-wear-android:0.3.0")
Version: 0.3.0 Repository: synheart-wear-kotlin

iOS (Swift) SDK

Native iOS SDK with HealthKit integration.

Swift SDK Documentation

Complete guide for iOS integration
Installation:
.package(url: "https://github.com/synheart-ai/synheart-wear-ios.git", from: "0.2.0")
Version: 0.2.0 Repository: synheart-wear-swift

CLI & Local Dev Server

Python-based development tool with OAuth, webhooks, and ngrok integration.

CLI Documentation

Complete guide for local development
Installation:
pip install synheart-wear-cli
Version: 0.2.0
Repository: synheart-wear-cli

Use Cases

Wellness Apps

Monitor heart rate, HRV, and activity metrics for wellness coaching:
final synheart = SynheartWear(
  config: SynheartWearConfig.withAdapters({
    DeviceAdapter.appleHealthKit,
  }),
);

synheart.streamHR(interval: Duration(seconds: 5))
  .listen((metrics) {
    final hr = metrics.getMetric(MetricType.hr);
    if (hr != null && hr > 120) {
      showAlert('High heart rate detected!');
    }
  });

Mental Health Platforms

Combine with Synheart Emotion for real-time stress detection:
// Stream biosignals from wearable
synheart.streamHRV(windowSize: Duration(seconds: 60))
  .listen((metrics) {
    final hr = metrics.getMetric(MetricType.hr);
    final rrIntervals = metrics.rrIntervals;

    // Feed into emotion engine
    emotionEngine.push(
      hr: hr,
      rrIntervalsMs: rrIntervals,
      timestamp: DateTime.now(),
    );
  });

Research Applications

Collect biometric data for scientific studies with HSI 1.0 compliant output:
// Configure for research-grade data collection with Flux
final synheart = SynheartWear(
  config: SynheartWearConfig(
    enableFlux: true,
    enableLocalCaching: true,
    enableEncryption: true,
  ),
);

// Fetch and process vendor data through Flux
final whoopProvider = WhoopProvider(
  appId: 'your-app-id',
  userId: 'user-123',
);
final rawData = await whoopProvider.fetchRawDataForFlux(
  start: studyStartDate,
  end: studyEndDate,
);

// Process to HSI 1.0 format
final hsiData = await synheart.readFluxSnapshot(
  vendor: Vendor.whoop,
  rawJson: jsonEncode(rawData),
);
// HSI data is ready for analysis

Roadmap

VersionGoalStatus
v0.1Core SDK (HealthKit + Fitbit)✅ Complete
v0.2Extended device support (WHOOP) & Real-time streaming (HR/HRV)✅ Complete
v0.2.3Flux integration (HSI 1.0), Garmin cloud support, enhanced WHOOP/Garmin APIs✅ Complete
v0.3.0Garmin Health SDK (native), BLE Heart Rate Monitor, cross-SDK Flux✅ Complete
v1.0Public Release📋 Planned

Next Steps

Quick Start

Get started in 5 minutes

Dart SDK

Flutter integration guide

Kotlin SDK

Android integration guide

Swift SDK

iOS integration guide

Community


Author: Israel Goytom
Made with ❤️ by the Synheart AI Team