Skip to content

feat(bluetooth): add Tanita RD-545 support - #1592

Draft
aronnoordhoek wants to merge 7 commits into
oliexdev:masterfrom
aronnoordhoek:feat/tanita-rd545
Draft

aronnoordhoek wants to merge 7 commits into
oliexdev:masterfrom
aronnoordhoek:feat/tanita-rd545

Conversation

@aronnoordhoek

@aronnoordhoek aronnoordhoek commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

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!

@aronnoordhoek

Copy link
Copy Markdown
Contributor Author

Lean mass percentage oddly high on weigh-in, will look later. Marked as draft again.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant