openScale icon indicating copy to clipboard operation
openScale copied to clipboard

Add support for chocoZAP 10820

Open argki opened this issue 2 years ago • 1 comments

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

  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 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

argki avatar Oct 01 '23 02:10 argki

This is similar with OKOK F0: https://github.com/oliexdev/openScale/blob/8becfc586df95b365559a3677d3604e8abb47010/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothOKOK.java#L122 but its name seems derived from mac addr:

  • Name: MM-M02S-C06B
  • Addr: 88:22:b2:02:c0:6b

Florin9doi avatar Oct 19 '24 08:10 Florin9doi