SleepVue
September 2026SleepVue is a sleep tracker for the UNA Watch: a watch app that records your night, and an iOS companion app that syncs it over Bluetooth and writes it to Apple Health.
Overnight the watch logs heart rate and movement and classifies each interval as awake, light or deep sleep. In the morning the iOS app connects, pulls the new nights and shows each one with its sleep-stage timeline, heart-rate trace and movement graph. With the Apple Health toggle on, every night is also written to Health, so it shows up in Apple's own Sleep Score and Sleep Stages views alongside everything else you track.
Built in under 3 days
I wrote both apps with OpenCode driving the Kimi 3 model — from an empty repo to a working watch app and a companion app on my phone in less than three days.
- UNA watch app: about $40 in AI usage
- iOS companion app: less than $10
- Total: roughly $50 for two working apps
What it does
- Bluetooth sync with the watch (FTS protocol v5), with a BLE debug log for troubleshooting
- Per-night detail: awake / light / deep stages, heart-rate range and average, movement
- Writes each night to Apple Health as sleep-analysis samples
- Synced nights are kept on the phone, so the watch only needs to be nearby in the morning
Screenshots