oliexdev / openScale

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

Add support for Crane scale (aldi) #315

Open MaUwJo opened 6 years ago

MaUwJo commented 6 years ago

It's this one: https://www.cranesportsconnect.com/manuals/SCALE2/94283_20160722_AT_web.pdf with this app: https://play.google.com/store/apps/details?id=com.aldi_project&hl=de

I have the log files from connecting and syncing (https://github.com/oliexdev/openScale/files/2298490/btsnoop_hci.log.connect.zip.zip) (https://github.com/oliexdev/openScale/files/2298492/btsnoop_hci.log.wiegen.zip.zip)

But I don't have the skills to develop it. Maybe someone like to do it.

oliexdev commented 6 years ago

thanks what are the true data of your logs? Furthermore could you do the steps 1-3 of the wiki. I need at least more logs with different weights (with the true data!) and the BLE scan.

Thanks in advance.

MaUwJo commented 6 years ago

Hi,

here are some more logs:

btsnoop_hci.log.81.3.zip btsnoop_hci.log log81.4.zip.zip

screenshot_2018-09-05-23-21-21-973_com macdom ble blescanner screenshot_2018-09-05-23-22-52-939_com macdom ble blescanner screenshot_2018-09-05-23-23-01-727_com macdom ble blescanner screenshot_2018-09-05-23-23-07-516_com macdom ble blescanner screenshot_2018-09-05-23-23-13-771_com macdom ble blescanner screenshot_2018-09-05-23-23-19-315_com macdom ble blescanner screenshot_2018-09-05-23-23-26-529_com macdom ble blescanner screenshot_2018-09-05-23-23-32-599_com macdom ble blescanner ble.txt

MaUwJo commented 6 years ago

Do you need anything more? Should I test something?

MaUwJo commented 6 years ago

I have here a script to create the openscale csv file from the content of crane cloud ... waage_pw.pl.txt

oliexdev commented 6 years ago

@MaUwJo without the corresponding exact true date/time with all other information (e.g. weight, water percentage, bone mass and so on) the btsnoop_log files are useless.

I can't find the data in the btsnoop.log without knowing for what weight, fat, time and so on I am looking for.

So please create a btsnoop.log and write down the weight, fat, water and so on at the time your are weighting and recording the btsnoop.log (see "Acquiring some Bluetooth traffic" step 3 in the wiki)

MaUwJo commented 6 years ago

Now with screenshots of the measurement: Do you need more?

2018-10-16 21 07 00 2018-10-16 21 06 47 2018-10-16 21 06 35 2018-10-16 21 06 28

oliexdev commented 6 years ago

for which btsnoop_hci.log are the screenshots?

MaUwJo commented 6 years ago

for: btsnoop_hci.log.81.3.zip log81.4.zip.zip Comment from 09/05/18.

Thanks

oliexdev commented 6 years ago

@MaUwJo thanks. The good think is the source code for the calculation is accessable in the apk package. The bad thing the vendors app did the communication to the scale very complicated (lots of commands to the scale are send). Strange is your log files doesn't match to the source code (or I didn't fully understand it). It seems your didn't receive the body measurement in the log files (the relevant bytes are zero). I can only calculate the weight and the date. The weight is send by the scale in lbs and the date is the unix time. Could you produce more log files with the corresponding true values? But in the end without the scale it will be very challenging because of the extensive use of commands by the vendors app.

MaUwJo commented 5 years ago

Screenshot an log are attached.

btsnoop_hci.log12 2018.zip

Hopefully I will see your reply next time faster.

MaUwJo commented 5 years ago

If you are from Germany, I can send you the device for finishing the development. This would increase the developing speed. I would also pay the costs for sending the scale back after your development.

Thanks