Releases: lswiderski/mi-scale-exporter
v2.3.1
v2.3.0 - S400
Initial support for S400 as it's confirmed working by other users.
New help page for the project - more friendly for non-github users:
https://lswiderski.github.io/mi-scale-exporter/
Steps to connect with S400 scale:
-
Add Scale to Xiaomi Home App and do first measurement. You can disable Heart rate measurement to fast up whole process.
-
You will need scale MAC address and BLE Key from Xiaomi Cloud. You can get it on many ways but I recommend ‘Xiaomi Cloud Tokens Extractor’ Go to https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor and use your preferred way.
Find Xiaomi Body Composition Scale S400 on the list of your devices and copy BLE KEY and MAC and save it for later. -
Now you need to completely kill the app (so that it doesn’t run in the background either). Or remove the scale from the list of devices - if you use other devices with Xiaomi Home. The scale will only send the needed data when it is not able to connect to the Xiaomi Home app! Every time when you add Scale as new device to Xiaomi Home new BLE key will be generated.
-
Now got MiScale Exporter settings, select S400 scale and paste MAC address and BLE Key.
-
The scale only sends data in a short time window at the end of weighing, so it’s important to start the measurement before stepping on the scale. The Bluetooth icon should blink.
Remember that, these types of scales do not measure body composition. They measure weight and impedance and estimate the result based on those measurements. The scale sends 3 values: Weight, impedance and Heart rate. To receive body composition data, impedance is processed by an algorithm known to be similar to that used by the Mi Body Composition Scale 2 (different from that used by the S400). Because of this, the result may differ from that of the Xiaomi Home app. For this calculation proper age, height and sex is needed.
v2.2.5
Experimental Support for S400 Scale.
You would need MAC Address of the scale ne BLE Key. Both variables you can get via this little tool: https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor
S400 sends the data differently than the previous scales. This only happens for a short time at the end of the impedance/weight measurement. So in the app on your phone you have to switch to scanning during the measurement.
It should appear in open test channel in 24h.
https://play.google.com/apps/testing/com.lukaszswiderski.MiScaleExporter
https://play.google.com/store/apps/details?id=com.lukaszswiderski.MiScaleExporter
Full Changelog: v2.2.4...v2.2.5
v2.2.4
Revert styles changes and build tweaks
Full Changelog: v2.2.3...v2.2.4
v2.2.3
- revert commit and crash fix
Full Changelog: v2.2.2...v2.2.3
v2.2.2
Fixed issue with passing error message from Garmin to user dialog
Full Changelog: v2.2.1...v2.2.2
v2.2.1
Fixes with displaying Ads
Full Changelog: v2.2.0...v2.2.1
v2.2.0 Access Token stored to omit MFA on every request
The application now supports MFA/2FA security features.
If you save credentials in settings, authorization tokens will be remembered and you won't be asked every time for MFA code.
Full Changelog: v2.1.0...v2.2.0
v2.1.0 MFA/2FA Support
The biggest feature in this release is a support for MFA/2FA codes
- Form View fix with scrollview
- added new option in setting to put muscle mass in % instead of Kg
Full Changelog: v2.0.10...v2.1.0
v2.0.10
Changed library for Garmin Connect connection
Probably fixed problems with Android 14