How to track your sleep
Diarly seamlessly syncs with Apple Health. To start tracking your sleep data in Diarly, you need to authorize the app to access your Health data. If you initially declined this access, you can modify your preferences anytime in the settings.
The Apple Health integration is available only on iPhone and iPad. If you create a note on a device that does not support this feature, Diarly will insert a 📲 emoji as a placeholder. This indicates that you need to open the app on a supported device (iPhone or iPad) to fetch the latest sleep data.
Insert sleep data
Automatic sleep data fetching with templates
Using templates, you can automatically insert your sleep data from Apple Health each day. To do this:
- Go to
Journals
>Templates
. - Edit your daily template and insert the smart keyword
$activity-sleep-time
, or use the sleep icon in the toolbar to insert it anywhere in your template.
Manually add sleep data anywhere
- Using the slash command: Type
/sleep
in your entry and selectInsert sleep time
. - Use the toolbar icon (iPhone and iPad): In the toolbar above the keyboard, tap the sleep icon.
Understand sleep data representation
If you wear your Apple Watch during sleep, Diarly will display your sleep time with a 😴 emoji, showing the total sleep duration tracked by Apple Health.
⚠️ Starting with iOS 18, Apple no longer provides Time in Bed data unless an Apple Watch is worn. This means Diarly cannot track the time you spend in bed without wearing your Apple Watch during sleep. To ensure accurate sleep tracking, make sure to wear your Apple Watch at night.