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
Copy file name to clipboardExpand all lines: docs/index.md
+53-9Lines changed: 53 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,17 +5,40 @@ layout: default
5
5
Mobile App to export data from Xiaomi Scales:
6
6
7
7
- Mi Smart Scale
8
-
- Mi Body Composition Scale 1 and 2
9
-
- Mi Body Composition Scale S400 (only Android)
8
+
-[Mi Body Composition Scale 1 and 2](#steps-to-connect-mi-body-compostion-scale-1-and-2)
9
+
-[Mi Body Composition Scale S400](#steps-to-connect-xiaomi-body-composition-scale-s400) (only Android)
10
10
11
-
and upload it to Garmin Connect Cloud.
11
+
and upload it to [Garmin Connect Cloud.](#garmin-connect-upload)
12
12
13
13
It also allows you to upload manually entered body composition data to the Garmin cloud.
14
14
15
15
## If you like my work, you can buy me a coffee
16
16
17
17
<ahref="https://www.buymeacoffee.com/lukaszswiderski"target="_blank"><imgsrc="https://cdn.buymeacoffee.com/buttons/default-orange.png"alt="Buy Me A Coffee"height="41"width="174"></a>
18
18
19
+
## Steps to Connect Mi Body Compostion Scale 1 and 2:
20
+
21
+
1. Add Scale to Zepp Life app.
22
+
23
+
2. You will need the Bluetooth address of the scale. Go to Zepp Life > Profile > My devices > Mi Body Composition Scale > Bluetooth address (hold to copy)
5. Now it's time for measurement. Stand on your scale. Measure yourself and get data from the scale. Mi Body Composition Scale is active up to 15 min after the measurement.
6. These types of scales do not measure body composition. They measure weight and impedance and estimate the result based on those measurements. The exact calculation algorithm is unknown, but with the help of reverse engineers, an approximate one has been achieved, which gives a satisfactory result. However, this means that the final result may differ slightly from that provided by the application. For this calculation proper age, height and sex is needed.
41
+
19
42
## Steps to Connect Xiaomi Body Composition Scale S400:
20
43
21
44
1. Add Scale to Xiaomi Home App and do first measurement.
@@ -24,20 +47,41 @@ It also allows you to upload manually entered body composition data to the Garmi
24
47
Go to <atarget="_blank"rel="noopener noreferrer"href="https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor">https://github.com/PiotrMachowski/Xiaomi-cloud-tokens-extractor</a> and use your preferred way
25
48
Found Xiaomi Body Composition Scale S400 on the list of your devices and copy BLE KEY and MAC and save it for later.
3. 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. You can disable Heart rate measurement to fast up whole process.
5. 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.
63
+
5. 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. (Watch the video below)
38
64
39
65
[](https://www.youtube.com/shorts/HtOZZwnkZHw)
40
66
41
-
6. 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.
67
+
7. 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.
68
+
69
+
8. Bear in mind that it is an experimental solution and errors may occur. If you encounter them, please contact me.
70
+
71
+
## Garmin Connect Upload
72
+
73
+
1. After successfully retrieving data from the scale, you will be redirected to the Garmin data form.
74
+
75
+
<atarget="_blank"rel="noopener noreferrer"href="https://github.com/lswiderski/mi-scale-exporter/blob/main/resources/img/screenshots/bodycomposition.jpg"><img src="https://github.com/lswiderski/mi-scale-exporter/raw/main/resources/img/screenshots/bodycomposition.jpg" alt="calculated body composition" style="width: 400px; margin: auto;
76
+
display: block;"></a>
77
+
78
+
2. Here you can see the result of your measurement and send it to the Garmin Connect cloud.
79
+
80
+
3. If you have set up your email and password in the settings, you do not need to enter anything else here.
81
+
82
+
4. This app support 2FA/MFA codes. If you use MFA security, you will receive a message asking you to enter a code when you first try to send a message. It should be sent to your email address or as a text message to your phone (depending on your region). Close the message and enter the code in the new MFA field that appears at the bottom of the screen.
83
+
84
+
5. You don't have to enter the code every time you try to send a message. The returned token will be saved in the app and will be valid for several months.
42
85
43
-
7. Bear in mind that it is an experimental solution and errors may occur. If you encounter them, please contact me.
0 commit comments