github KristianP26/ble-scale-sync v1.8.1

latest releases: v1.16.0, v1.15.0, v1.14.1...
one month ago

Patch release. Fixes the Garmin upload regression introduced by garminconnect 0.3.0 (2026-04-02), which dropped its garth dependency and broke the Python bridge.

Fixed

  • Garmin: upload failed with 'Garmin' object has no attribute 'garth' after garminconnect released 0.3.0 and replaced garth with a native curl_cffi auth engine. The Python bridge (garmin_upload.py, setup_garmin.py) was migrated to the new API: Garmin.login(tokenstore) auto-persists on a successful credential login, and client.dump(token_dir) saves tokens after MFA. The custom User-Agent override is no longer needed because garminconnect now uses TLS impersonation and randomized browser fingerprints internally (#114).
  • Docker: added libcurl4-openssl-dev so curl_cffi (new transitive dep via garminconnect 0.3.x) builds from source on armv7, where PyPI has no prebuilt wheel.
  • HA Add-on: token bootstrap now uses the new single garmin_tokens.json file; legacy oauth1_token.json / oauth2_token.json files left over from 1.7.x are automatically removed on first start.

Breaking change

Tokens from garminconnect 0.2.x are incompatible with 0.3.x.

  • Standalone / Docker: re-run npm run setup-garmin. The setup script strips the old oauth*_token.json files before writing the new format.
  • HA Add-on: just restart the add-on. It re-runs setup from the credentials you entered in the UI and writes the new token format. MFA users regenerate the single-file token per the MFA workaround in the add-on guide.

Thanks

Install

Docker image: ghcr.io/kristianp26/ble-scale-sync:1.8.1 (also tagged latest, 1.8, 1).

Add BLE Scale Sync repository to your Home Assistant

Full diff: v1.8.0...v1.8.1

Don't miss a new ble-scale-sync release

NewReleases is sending notifications on new releases.