Skip to content

Health Connect retains values cleared from an existing weighing #55

Closed

Description

@aronnoordhoek

While working on #54, I noticed that the Health Connect update path writes the values still present in openScale, but doesn't remove previously exported values that have been cleared.

Example:

  1. Sync a weighing with 80 kg and 25% body fat to Health Connect.
  2. Clear only the body-fat value in openScale, keeping the weighing and its weight.
  3. Sync again.

Expected: Health Connect keeps the weight and removes the body-fat record written by openScale sync.

From the current code, the update sends the remaining weight record but no deletion for the old body-fat record, so that value is left behind. The same update behavior applies to other optional exported values.

Activity

  1. added
    bug
    on Nov 14, 2026
  2. oliexdev commented on Nov 14, 2026

    @oliexdev
    Owner

    Thanks for spotting this! Fixed on master: when a weighing is updated, any value you cleared in openScale is now removed from Health Connect too.

    One limitation: if openScale sync wasn't running when you made the edit, the edit gets picked up later through reconcile, and in that case the cleared value still stays in Health Connect.

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