تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

apple-watch

بواسطة lainnet-42

DevOps & Cloud
501التنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Apple Watch health data sync via Health Auto Export app.

الوصف

ما الذي تفعله هذه المهارة

Syncs Apple Watch health data to a local Python server via the Health Auto Export iPhone app. Stores HealthKit metrics as JSONL files queryable through a REST API and web dashboard. Covers setup, troubleshooting, and periodic data queries for sleep, heart rate, steps, and workouts.

All health data stays local and queryable without cloud accounts or recurring subscriptions beyond the one-time app purchase.

متى تستخدمها

  • Checking last night's sleep stages and total duration
  • Reviewing resting heart rate trends after a stressful week
  • Querying step count and active energy burned after a run
  • Setting up the health data pipeline on a new machine
  • Troubleshooting sync when iPhone stops sending data to PC

مثال على سير العمل

الإدخال

User asks: How did I sleep last night?

الوكيل
  1. 1

    Read API key from .env.json

  2. 2

    Query /api/latest/metrics/sleep_analysis?n=1 on localhost:3001

  3. 3

    Parse sleep start, end, duration, and stage breakdown from response

  4. 4

    Format results as a readable summary

الإخراج

You slept 7h 12m. Deep sleep: 1h 24m, REM: 1h 50m, Core: 3h 18m, Awake: 40m. Bedtime 11:08 PM, wake 6:20 AM.

المتطلبات

  • Apple Watch (any model with watchOS 9+)
  • iPhone paired with the Apple Watch
  • Health Auto Export app — $24.99 lifetime premium purchase from the App Store (free tier does not support automatic background sync)

التثبيت

clawhub install lainnet-42/apple-watch

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط