ble_monitor icon indicating copy to clipboard operation
ble_monitor copied to clipboard

[New Sensor]: Yunmai Color

Open Psytoshgen opened this issue 1 year ago • 3 comments

Sensor Description

Yunmai Color Scales

Additional information

https://www.iyunmai.us/collections/yunmai-color-bluetooth-smart-scale/products/yunmai-color-bluetooth-smart-scale-white

tried to integrate it, but still cant find it by HA. or connect by ble scanner below is their protocol.

BLE advertisements

https://gist.github.com/conoro/f0c1d96c450a8f5cce70e2846c3686c4

Psytoshgen avatar Aug 25 '22 20:08 Psytoshgen

my data looks like this

mac: 64:cf:d9:39:c4:0c YUNMAI-SIGNAL-C -86 dB 0.0 s 29.7 s 02 01 06 03 02 10 13 03 02 12 58 09 ff 0c c4 39 d9 cf 64 00 00 s
  64cfd939c40c         13 09 59 55 4e 4d 41 49 2d 53 49 47 4e 41 4c 2d 43 31 55 53 05 12 50 00 20 03 02 0a 00

Psytoshgen avatar Aug 25 '22 20:08 Psytoshgen

The link you gave explains that this sensor needs to read characteristics, which means that it needs a connection. This is not possible in BLE monitor.

But apparently you also found some passive data. Looking at the passive data, 2nd row, 2nd column = mac address 2nd row, 7th column = name (YANMAI-SIGNAL-C) 1st row, 6th column = flags and data.

So, lets look at this last data

02 01 06 03 02 10 13 03 02 12 58 09 ff 0c c4 39 d9 cf 64 00 00 02 01 06 = flag 03 02 10 13 = Incomplete List of 16-bit Service Class UUID 03 02 12 58 = Incomplete List of 16-bit Service Class UUID 09 ff 0c c4 39 d9 cf 64 00 00 = manufacturer specific data.

Looking at the last manufacturer specific data (That is where usually the data is.

09 = length ff = manufacturer specific data 0c c4 = company id 39 d9 cf 64 00 00 = data

So, let try to see if the data makes sense.

39 in hex is 57 in decimals (weight?) d9 in hex is 219 in decimals cf in hex is 207 in decimals 64 in hex = 100 in decimals (can be battery)

You can try to see if these bytes make sense to you, but I'm afraid you will need a connection to read the data.

Ernst79 avatar Aug 26 '22 10:08 Ernst79

oh i see well then.... looks like i need something more talkable than younmai....

39 in hex is 57 in decimals (weight?) (my is about 115kg), maybe physical condition d9 in hex is 219 in decimals cf in hex is 207 in decimals 64 in hex = 100 in decimals (can be battery) (true)

d9 or cf is unknown for me

Psytoshgen avatar Aug 26 '22 11:08 Psytoshgen