Health Tracker

Lesson 4 of 4

Reminders & Weekly Insights

Estimated time: 5 minutes

Reminders & Weekly Insights

Tracking is only half the picture. In this final lesson, you'll set up medication reminders that follow up until you confirm, and automated weekly health reports that surface trends you'd otherwise miss.

The feedback loop

Consistent logging is valuable, but it's the insights that change behavior. A weekly report showing your sleep directly correlates with your mood makes you actually want to sleep more.

Medication Reminders

Configure reminders

You set up medications in the previous lesson. Now let's fine-tune the reminder behavior:

Configure reminders
SettingWhat it does
reminder-advanceHow many minutes before the scheduled time to send the first reminder
reminder-followupMinutes between follow-up reminders if not confirmed
reminder-max-followupsHow many times to follow up (avoids being annoying)

See reminders in action

At 7:45 PM (15 minutes before your 8 PM Vitamin D), you get:

💊 Medication Reminder
Time to take: Vitamin D
Scheduled for: 8:00 PM

Reply "taken" or "skip" when done.

Reply naturally:

taken
✅ Vitamin D logged at 7:47 PM
Next dose: tomorrow at 8:00 PM

If you don't respond, a follow-up arrives at 8:15 PM:

💊 Reminder: Did you take your Vitamin D?
Reply "taken" or "skip"

Add as-needed medications

For medications you take only when needed (like pain relievers):

took 400mg ibuprofen for headache
💊 Logged: Ibuprofen 400mg
  Time: 2:30 PM
  Reason: headache
  Note: Last taken 3 days ago

These don't have scheduled reminders but still appear in your health log and weekly report.

Weekly Health Insights

Schedule the weekly report

Schedule weekly report

This runs every Sunday at 9 AM.

Test the weekly report

Run weekly report
openclaw cron run "weekly-health"

Example output:

📊 Weekly Health Report — Mar 3-9

NUTRITION
  Avg daily: 1,850 cal (target: 2,000) ✅
  Macros avg: P: 95g | C: 210g | F: 62g
  Best day: Tuesday (balanced meals, hit all targets)
  Note: Protein slightly below target on 3 days

EXERCISE
  Total: 165 min (target: 150) ✅
  Sessions: 4 (2 runs, 1 gym, 1 walk)
  Calories burned: ~1,240

SLEEP
  Avg: 7.1 hours (target: 8) ⚠️
  Best: 8.5 hours (Saturday)
  Worst: 5.5 hours (Wednesday)

MOOD
  Trend: Good → Great (improving)
  Best days: Tue, Thu, Sat (all exercise days)
  Pattern detected: Exercise days correlate with
  better mood scores

MEDICATIONS
  Adherence: 93% (13/14 doses)
  Missed: Omega-3 on Thursday morning

WATER
  Avg: 6.8 glasses/day (target: 8) ⚠️

💡 Suggestion for next week: Your mood consistently
improves on exercise days. Try adding a short 15-min
walk on your rest days to see if the pattern holds.
Sleep dipped mid-week — consider a consistent bedtime.

Ask follow-up questions

The weekly report is a starting point. Dig deeper in chat:

Show me my sleep vs mood correlation for the last month
📈 Sleep vs Mood — Last 30 Days

7+ hours sleep → avg mood: Good-Great (82% positive)
6-7 hours sleep → avg mood: Okay-Good (58% positive)
Under 6 hours → avg mood: Low-Okay (25% positive)

Clear correlation: nights with 7+ hours of sleep
are followed by significantly better mood ratings.
Your best mood days all had 7.5+ hours of sleep.

Monthly Trends

For a longer view, set up a monthly report:

Monthly report
📊 Monthly Health Summary — February 2025

                    Feb        Jan       Trend
Avg Calories:      1,890      2,050      ↓ Improved
Exercise (min):    620        480        ↑ +29%
Avg Sleep:         7.0 hrs    6.6 hrs    ↑ +0.4 hrs
Mood (avg):        Good       Okay       ↑ Improved
Med Adherence:     91%        85%        ↑ +6%
Water (avg):       6.5/day    5.8/day    ↑ +12%

🏆 Biggest Win: Exercise minutes up 29%! Consistent
4x/week routine is paying off.

📈 Room to Improve: Sleep still below 8-hour target.
Wednesday nights are consistently your worst — consider
what's different about Tuesdays.

Export your health data anytime for sharing with a doctor or importing into another tool:

Export to CSV
openclaw data export health --format csv --range 2025-01-01:2025-03-09
Export to JSON
openclaw data export health --format json --range last-30-days

The CSV export is compatible with Google Sheets, Excel, and most health analytics tools.

Generate a provider-friendly summary:

Generate a health summary for my doctor appointment on Friday.
Include the last 3 months of medication adherence, exercise
frequency, and any patterns in mood or sleep.

OpenClaw generates a clean, professional report you can print or email to your healthcare provider.

Checkpoint

Knowledge Check

What pattern did the weekly report detect in the example?

Course complete!

You've built a frictionless health tracking system. Just text what you do and OpenClaw handles the rest — logging, reminders, and weekly insights. The key to success is consistency, and the chat interface makes that easy. Check out Shopping Lists to automate your grocery planning, or Family Manager to extend health tracking to your household.