BeMacized / xiaomi_scale

A Flutter plugin for taking measurements from Bluetooth Xiaomi weight scales
https://pub.dev/packages/xiaomi_scale/
MIT License
18 stars 9 forks source link

Feature/#7 extra scale data #14

Closed vanlooverenkoen closed 2 years ago

vanlooverenkoen commented 3 years ago

Fixed #7

Includes nullsafety. (First merge nullsafety)

This should be tested before merging

vanlooverenkoen commented 3 years ago

I just updated the api to get the impedance value easier without always entering age, height, gender in advance.

I added the implementation to my app that I am using every day. I will let you know about my findings.

BeMacized commented 3 years ago

@vanlooverenkoen awesome! If it turns out to work well enough for you for it to come out of draft state, I'd be happy to merge this.

vanlooverenkoen commented 3 years ago

Alright perfect

vanlooverenkoen commented 3 years ago

Data from the xiaomi scale app: image

Data from my app with this pull request: image

vanlooverenkoen commented 3 years ago

That looks very promising :)

vanlooverenkoen commented 3 years ago

Data from the mi scale app (day 2) Screenshot_20211102-074352.png

Data from my app (day 2) Screenshot_20211102-074358~2.png

vanlooverenkoen commented 3 years ago

I am using wrong formatting in some places. But that is only the implementation of my app. The values it self have a lot more decimals. So the mi scale app values look identical when using the same formatting

vanlooverenkoen commented 3 years ago

Again today, perfect match between my values & the mi scale values

BeMacized commented 2 years ago

Everything's been updated, merged, and published under 2.2.0. Thanks a lot @vanlooverenkoen!