Skip to content

[Bug] Today so far cards remain empty when using Garmin Connect integration #1459

Backlog

Description

@Gen-X-Jim

HealthLog version

1.48.5

Deployment type

Self-hosted (Docker)

What happened?

Environment

  • HealthLog: v1.48.5
  • Deployment: Self-hosted Docker
  • Hardware: Synology DS1821+
  • Database: PostgreSQL 18.6
  • Integration: Garmin Personal API

Description

All four "Today so far" cards remain blank despite successful Garmin synchronization:

  • Steps
  • Active energy
  • Flights climbed
  • Walking + running distance

The cards report 0 of 14 baseline days and 0% input coverage. However, the individual Measurements pages correctly display current values, historical data, and usual ranges.

Troubleshooting completed

  • Verified successful Garmin synchronization.
  • Upgraded from v1.47.1 to v1.48.5.
  • Verified all 19 database migrations completed successfully.
  • Confirmed both application and database containers are healthy.
  • Performed a hard browser refresh.
  • Queried PostgreSQL directly.

Database findings

The measurements table contains daily Garmin step totals timestamped at local noon, with NULL aggregation_provenance.

The measurement_rollups table contains the following ACTIVITY_STEPS records from GARMIN:

Granularity Records
Hour 0
Day 44
Week 8
Month 2
Year 1

There are 44 days of historical data, but no hourly rollups.

This suggests that the "Today so far" feature may require intraday measurements that the Garmin integration does not currently provide.

Expected behavior

Expected behavior

  • Support Garmin activity data in the "Today so far" cards.
  • Display available daily totals when intraday comparisons are unavailable.
  • Provide an explanatory message instead of reporting zero days of history when daily measurements exist.

Question

Is the "Today so far" feature currently incompatible with Garmin daily measurements?

Could support for intraday Garmin activity data or a daily-total fallback be added?

Screenshots

Screenshots attached below demonstrate:

  1. Empty "Today so far" cards.
  2. Successful Garmin integration and synchronization.
  3. Populated Steps measurement history.

Steps to reproduce

  1. Install HealthLog v1.48.5 using Docker.
  2. Configure the Garmin Personal API integration using a valid API key.
  3. Allow Garmin to synchronize at least 14 days of historical activity data.
  4. Navigate to Measurements > Steps.
  5. Verify that historical daily step counts and today's step count are populated.
  6. Navigate to Insights > Overview.
  7. Scroll down to the "Today so far" section.
  8. Observe that all four activity cards (Steps, Active energy, Flights climbed, and Walking + running distance) remain blank.
  9. Hover over the input coverage indicator and observe that it reports 0% coverage and 0 of 14 baseline days, despite the available historical data.

The issue persists after upgrading from v1.47.1 to v1.48.5 and performing a hard browser refresh.

Database queries confirm 44 days of Garmin step rollups, but no hourly rollups.

Error ID

No response

Support info / support report


Screenshots / other logs

Browser / OS (if applicable)

No response

Pre-flight checks

  • I confirmed this is not a duplicate of an existing issue.
  • I redacted any secrets, tokens, or personal data from logs.

Activity

  1. added
    bug
    on Nov 24, 2026
  2. Gen-X-Jim commented on Nov 24, 2026

    @Gen-X-Jim
    Author
    1 2 3
  3. MBombeck commented on Nov 24, 2026

    @MBombeck
    Owner

    @Gen-X-Jim Thanks for the detailed report and the screenshots, they made the cause easy to find.

    The Garmin Personal API sends steps, energy, flights and distance as one total per day, while the "Today so far" cards were built for hourly data. Each daily total landed in a single hour, so the baseline never filled and the cards stayed at "0 of 14". The fix is on main and in the :edge image now: the cards no longer pretend to have hourly data they don't have.

    Hiding them isn't a great answer for a Garmin setup, though, so 1.50.0 (Saturday, 2 January) brings a daily-total version of the same cards: today's running total against your usual full day over the last 14 days, with the time the total last changed. If you also sync an iPhone, the two sources are never added together.

  4. Gen-X-Jim commented on Nov 24, 2026

    @Gen-X-Jim
    Author

    Thank you for the quick response and for taking the time to implement a Garmin-specific solution! The daily-total comparison sounds like exactly what I was looking for.

    I'll stick with the stable release and look forward to testing it in v1.50.0. Really appreciate your work on HealthLog!

  5. MBombeck commented on Nov 26, 2026

    @MBombeck
    Owner

    @Gen-X-Jim A correction to my last comment: I got the date wrong. 1.50.0 ships on Saturday, 5 December, not 2 January (that one is 1.51.0).

    So for a stable install, in order:

    • 1.49.1, Saturday 28 November: the cards stop sitting at "0 of 14" on a day-total source like Garmin. Today's figure is folded only from hourly Apple Health samples now, so a Garmin day total no longer counts as one big hour.
    • 1.50.0, Saturday 5 December: the daily-total version of the cards. Today's running total against your usual full day over the last 14 complete days, with the time the total last changed and the source it came from. The range appears once 7 of those days have a total.

    Sorry for the mix-up.

  6. MBombeck commented on Nov 28, 2026

    @MBombeck
    Owner

    @Gen-X-Jim as promised, 1.49.1 is out today: https://github.com/MBombeck/HealthLog/releases/tag/v1.49.1

    With it, the "Today so far" cards stop sitting at "0 of 14" for Garmin and the other services that send day totals. The daily-total comparison follows in 1.50.0 on Saturday, 5 December. If you update, I'd like to hear whether the cards fill in for you. Refs #1459

  7. Gen-X-Jim commented on Nov 30, 2026

    @Gen-X-Jim
    Author

    Updated to v1.49.1 this morning.

    I can confirm that the empty "Today so far" cards are no longer displayed. The rest of the Insights overview, Daily Briefing, and historical activity trends are displaying correctly.

    Looking forward to testing the Garmin daily-total cards in v1.50.0 on December 5.

    Thanks again for your responsiveness and continued work on this project!

  8. MBombeck commented on Nov 30, 2026

    @MBombeck
    Owner

    Thanks for confirming, @Gen-X-Jim, glad the empty cards are gone. I'll ping you here when the Garmin daily-total cards are out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions