You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Health Connect retains values cleared from an existing weighing #55
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:
Sync a weighing with 80 kg and 25% body fat to Health Connect.
Clear only the body-fat value in openScale, keeping the weighing and its weight.
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.
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.
Activity
Remove cleared values from Health Connect on update (#55)
oliexdev commentedon Nov 14, 2026
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.