oliexdev / openScale

Open-source weight and body metrics tracker, with support for Bluetooth scales
GNU General Public License v3.0
1.71k stars 296 forks source link

Support for Beurer BY90 #919

Open joergi opened 1 year ago

joergi commented 1 year ago

Scale name Beurer BY90 https://www.beurer.com/web/gb/products/babycare/baby-scale/by-90.php

Step 2: Acquiring some Bluetooth traffic Attach 3 log files with the corresponding true values, read here for further information.

I used the Beurer BabyCare app for getting the data

  1. Bluetooth HCI Snoop log file

user settings in the vendors app:

sex: female
body height: 50cm, 
age: 01.01.2022, 
activity level ? (nothing)

measured true values in the vendors app for the 1. HCI Snoop log file:

weight: 6.120kg
date: 16:21 
water, muscle , fat etc. (nothing like this is in the app)

btsnoop_hci_1-6dot120_1621.log

  1. Bluetooth HCI Snoop log file user settings in the vendors app:
    
    sex: female
    body height: 50cm, 
    age: 01.01.2022, 
    activity level ? (nothing)
measured true values in the vendors app for the 2. HCI Snoop log file:

weight: 6.875kg date: 16:39 water, muscle , fat etc. (nothing like this is in the app)

[btsnoop_hci_2_6dot875_1639.log](https://github.com/oliexdev/openScale/files/10580708/btsnoop_hci_2_6dot875_1639.log)

3. Bluetooth HCI Snoop log file
user settings in the vendors app:

sex: female body height: 50cm, age: 01.01.2022, activity level ? (nothing)

measured true values in the vendors app for the 3. HCI Snoop log file:

weight: 8.230kg date: 16:50 water, muscle , fat etc. (nothing like this is in the app)


[btsnoop_hci_3_8dot230_1650.log](https://github.com/oliexdev/openScale/files/10580719/btsnoop_hci_3_8dot230_1650.log)

**Step 3: Discover Bluetooth services and characteristic**
_Read [here](https://github.com/oliexdev/openScale/wiki/How-to-reverse-engineer-a-Bluetooth-4.x-scale#2-find-out-the-bluetooth-services-and-characteristic) how to create the openScale debug file_

I have done it, but where can I find it? it's not in the description. will add it if you can tell me, where it is. thanks

_--> Attach the openScale debug log file here <--_

![Screenshot_20230208-002607.png](https://user-images.githubusercontent.com/1439809/217390861-3aaec791-2974-449b-a31f-894721dbce65.png)

![Screenshot_20230208-002631.png](https://user-images.githubusercontent.com/1439809/217390882-136e6009-a589-47fa-b7b3-82e5459a6460.png)

![Screenshot_20230208-002656.png](https://user-images.githubusercontent.com/1439809/217390884-7a2d0ec4-02cc-4dfd-96d7-2ce5ba03fa36.png)

![Screenshot_20230208-002728.png](https://user-images.githubusercontent.com/1439809/217391068-e3fae5de-d03a-4370-93bd-99fb50fa8553.png)

![Screenshot_20230208-002815.png](https://user-images.githubusercontent.com/1439809/217391104-586e1ab3-b07d-42ce-8531-6dc7e5ff799b.png)
joergi commented 1 year ago

if you need any other information, please let me know.

oliexdev commented 1 year ago

@joergi you could use the app https://play.google.com/store/apps/details?id=com.macdom.ble.blescanner to discover the Bluetooth services and characteristic make some screenshots

joergi commented 1 year ago

I added the screenshots to the opening issue post. Please let me know, if you need more information...

@oliexdev

joergi commented 1 year ago

@oliexdev have you been able to have a look if the data I posted are good? Can I provide any other information? (I was already looking into the logs but can't really help here...)

oliexdev commented 1 year ago

@joergi your HCI log files doesn't cover the Bluetooth weight process. It has unfortunately many other Bluetooth packets like Sonos or Apple. So you have some other Bluetooth communications. But from your screenshots your scale should use the standard weight bluetooth profile. Please try out the latest dev-build --> https://github.com/oliexdev/openScale/releases/tag/dev-build Please also enable the openScale log file while your using the openScale app and post here this log file.