mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-15 13:14:22 +02:00
weights are always send in kg by the Yunmai SE/mini scale
This commit is contained in:
@@ -127,7 +127,7 @@ public class BluetoothYunmaiSE_Mini extends BluetoothCommunication {
|
||||
scaleBtData.setDateTime(new Date(timestamp));
|
||||
|
||||
float weight = Converters.fromUnsignedInt16Be(weightBytes, 13) / 100.0f;
|
||||
scaleBtData.setWeight(Converters.toKilogram(weight, selectedUser.getScaleUnit()));
|
||||
scaleBtData.setWeight(weight);
|
||||
|
||||
if (isMini) {
|
||||
float fat = Converters.fromUnsignedInt16Be(weightBytes, 17) / 100.0f;
|
||||
|
Reference in New Issue
Block a user