A white TRMNL OG on a terracotta wall in window light, showing Apple Health
Back to Recipes
Apple Health

Apple Health

Steps, sleep, heart rate & workouts

Made by
pradeepbbl

TRMNL OG, showing Apple Health7.5" ePaper · Real screen, 800 × 480

From the author

pradeepbbl

Apple Health metrics — steps, active energy, sleep, and heart rate — plus today's workouts, synced from iPhone/Watch via the TRMNL Companion app. Data reaches TRMNL only through Companion's on-device HealthKit sync; there's no polling URL or API key. Questions, bugs, or feature requests? Open an issue on GitHub or reach out by email.
Source and docs live in the repo linked below.

Apple Health for TRMNL shows your daily health stats on your e-ink display: a daily goal card (steps by default, or active energy or sleep) with a progress bar, a streak and a 7-day chart, active energy, sleep, resting and peak heart rate, and today's workouts. When you haven't logged any steps yet, it shows a motivational quote instead. It supports all four layouts (full, half horizontal, half vertical, and quadrant).

Caveats
Sleep: the Companion app sends sleep as plain time segments without sleep stages, so the plugin cannot see awake time directly. It estimates awake stretches inside the latest night from steps, active energy and heart rate (if higher than resting) and leaves them out, so the figure can differ from the Health app's Time asleep by a few minutes.

Full setup steps, supported metrics, and screenshots are in the README: how to set up

Settings

Available settings

8 options

OptionWhat it doesChoices

Webhook URL

Required by the TRMNL Companion app to sync your Health data.

Goal metric

What the top card, its progress bar, the streak flames and the 7-day chart track each day. Steps unless you pick another. The goal for the metric you pick is set below.

StepsActive energySleep

Daily step goal

Steps per day when the goal metric is Steps. Leave blank for 10,000.

Example: 10000

Daily active energy goal (kcal)

Active energy per day, background plus workouts, when the goal metric is Active energy. Leave blank for 500.

Example: 500

Daily sleep goal (hours)

Hours of sleep per night when the goal metric is Sleep, for example 7.5. Leave blank for 8.

Example: 8

Trends view percentage

Share of screen refreshes (0-100) that show the Health Trends view (this week vs last week) instead of today's dashboard. 0 never shows it, 100 always does. Leave blank for 25.

Example: 25

Yesterday view percentage

Share of screen refreshes (0-100) that show the same dashboard with yesterday's figures instead of today's (goal, streak, chart, active energy, sleep, heart rate and workout total). Handy early in the day, before much has been logged. Taken after the Trends share, so the two together can't exceed 100. 0 never shows it. Leave blank for 0.

Example: 0

Debug: send raw payload

For troubleshooting only. `On` sends your raw Apple Health data from each sync to the developer's debug endpoint (kept 1 hour, then deleted). Leave Off normally.

OffOn

Get started

Connect your favorite apps

Our growing library supports work and personal needs, from your daily calendar to upcoming movies. New tools are added weekly.