Repository navigation
feat(bluetooth): add Tanita RD-545 support - #1592
Draft
aronnoordhoek wants to merge 7 commits into
Draft
aronnoordhoek wants to merge 7 commits into
aronnoordhoek wants to merge 7 commits into
Conversation
This was referenced Nov 1, 2026
aronnoordhoek
marked this pull request as ready for review
November 1, 2026 12:41
aronnoordhoek
marked this pull request as draft
November 2, 2026 10:35
Contributor
Author
|
Lean mass percentage oddly high on weigh-in, will look later. Marked as draft again. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Tanita RD-545 support for pairing, selecting an existing scale profile, starting a weighing and importing history. Includes whole-body and segmental measurements, muscle quality, ratings and raw impedance. Requires an existing scale profile configured in kilograms; assisted weighing is unsupported.
Each history record is saved for the linked openScale user before the next is requested. Imports stop on a failed save or user change, and late callbacks cannot advance a stopped or reconnected session. Profile selection waits for the keepalive task to finish, and cancelled timeouts cannot abort a later stage.
A full weighing was tested together with #1593 on my RD-545EU and Samsung S23 Ultra: all 83 reported fields matched saved values, all 86 saved fields were unique including BMI, zero and negative values were preserved, and already imported records were skipped correctly. The latest connection and save-handling changes were checked locally; history isolation across multiple populated scale profiles has not been verified on hardware.
Validation: 1,153 unit tests pass on this branch, and the combined build with #1593 passes 1,163 tests. The debug APK builds, instrumented tests compile, and lint reports zero errors. Saved packet replays also pass.
Depends on #1590 to preserve zero and signed values, #1593 to preserve supplied derived values, and #1595 for confirmed Bluetooth saving. Related to #399.
Bluetooth protocols are outside my usual area, so I used AI assistance for the implementation. Please review it with that in mind and let me know if anything else needs work!