oliexdev / openScale

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

Add support for chocoZAP 10820 #996

Open argki opened 11 months ago

argki commented 11 months ago

Scale name
chocoZAP 10820
(EN)
The scale is released by RIZAP Corporation (a Japanese company that manages sports clubs, etc.) and can be officially connected to the "chocoZAP" app.
But it can also be connected to the "OKOK International" app, unofficially.
(JA)
chocoZAP入会時のスターターキットに含まれる体組成計です。
取説では、chocoZAPアプリとしか連携できないような説明になっていますが、「OKOK International」というアプリからも接続できることを確認しました。

Step 1: Read the general reverse engineer process

I could not understand how to do the following process, so maybe it has stacked up in the previous logs.

  1. Delete first on your smartphone any old btsnoop_hci.log

Step 2: Acquiring some Bluetooth traffic

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

    sex            : female
    body height    : 169cm
    age            : 35
    activity level : N/A

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

    記録した時間(datetime)                 : 2023/10/01 10:44
    体重      (body weight)                : 54.8kg
    体脂肪率  (percent body fat)           : 9.7%
    BMI                                    : 18.5
    基礎代謝  (basal metabolism)           : 1,338kcal
    除脂肪体重(lean body mass)             : 49.4kg
    内臓脂肪Lv(visceral fat Lv)            : 3.0
    骨格筋率  (skeletal muscle percentage) : 46.0%
    骨量      (bone quantity)              : 3.4kg
    タンパク質(protein)                    : 25.3g
    体水分    (body water)                 : 59.4%
    体内年齢  (body age)                   : 25

    Screenshot_20231001-104827 Screenshot_20231001-104834 btsnoop_hci_1.log

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

    the same as 1.

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

    記録した時間(datetime)                 : 2023/10/01 10:53
    体重      (body weight)                : 64.4kg
    体脂肪率  (percent body fat)           : 17.5%
    BMI                                    : 21.8
    基礎代謝  (basal metabolism)           : 1,464kcal
    除脂肪体重(lean body mass)             : 53.0kg
    内臓脂肪Lv(visceral fat Lv)            : 7.5
    骨格筋率  (skeletal muscle percentage) : 49.7%
    骨量      (bone quantity)              : 3.3kg
    タンパク質(protein)                    : 21.6g
    体水分    (body water)                 : 56.1%
    体内年齢  (body age)                   : 30

btsnoop_hci_2.log

  1. Bluetooth HCI Snoop log file user settings in the vendors app:
    the same as 1.

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

    記録した時間(datetime)                 : 2023/10/01 11:03
    体重      (body weight)                : 69.8kg
    体脂肪率  (percent body fat)           : 21.0%
    BMI                                    : 23.6
    基礎代謝  (basal metabolism)           : 1,535kcal
    除脂肪体重(lean body mass)             : 55.1kg
    内臓脂肪Lv(visceral fat Lv)            : 9.5
    骨格筋率  (skeletal muscle percentage) : 51.8%
    骨量      (bone quantity)              : 3.2kg
    タンパク質(protein)                    : 19.9g
    体水分    (body water)                 : 54.7%
    体内年齢  (body age)                   : 35

btsnoop_hci_3.log

Step 3: Discover Bluetooth services and characteristic openScale_2023-10-01_11-34.txt