wiecosystem / bluetooth Goto Github PK
View Code? Open in Web Editor NEWDocumentation of the Bluetooth/BLE devices
Documentation of the Bluetooth/BLE devices
Can you please send me iHealth Track Blood Pressure Monitor document because I can't find it.
Email : [email protected]
Not so much an issue, more a request of potential help/collaboration.
I have a Xiaomi Scale v2. I currently use a script to retrieve the scales measures, but it does not include additional body measurements that you have in your github.
I'm an amateur programmer but would love to re-use you code to improve mine, and potentially create a component for home-assistant as there is quite some demand for a component for this scale.
Would this collaboration be of interest to you?
Please tell me how to get vi gatttool weight history?
Hello, @prototux!
Your work on organizing knowledge of Xiaomi ecosystem devices is impressive and gives hope!
I am one of the authors of the custom component for Home Assistant, which collects data from advertising messages from Xiaomi sensors. Not so long ago, component users requested support for a new sensor - LYWSD03MMC.
As a result of some research, it turned out that BLE advertisements from this sensor are encrypted.
Since I am not an expert in solving the problems of reverse engineering such devices, after a while I found myself in a dead end (I can’t even call myself a programmer, but just have a little understanding of how this works :)
In this regard, I wanted to ask if I can on behalf of users of this sensor, ask you for support in finding a method for decrypting advertisements from this sensor?
Here is our discussion and our sad progress... But we collected some information (the type of chip used, its firmware, message dumps, logs of http exchanging between the official Xiaomi application and its cloud service, and so on). I am will be happy to share all the available information here, and I think that other users will help as much as they can. I have not yet given up, but hope is diminishing, and the help of a specialist like you would help us a lot...
Sorry for my bad English.
The Xiaomi body composition scale 2 sends Body Composition Measurement messages, but not according to the standard.
https://www.bluetooth.org/docman/handlers/downloaddoc.ashx?doc_id=293523 says that the body fat percentage field is mandatory but the scale does not report it.
From that doc:
3.2.1.2 Body Fat Percentage Field
The Body Fat Percentage field shall be included in the Body Composition Measurement
characteristic.
Also the impedance field is always in the message even if the flag is set to 0. Seems the flag is mostly used to indicate the validity of the field. My reading of the spec is that if the flag is 0 the field should not be there.
I would like to read data from a scale, but using the mibcs_app.py script I get an error: No module named 'body'
Could I ask for your help?
Best Regards,
Robert
Small correction:
You mixed up catty and imperial. I am not taking this backwards as I'm getting the correct info for weight/impedance stabilised.
Thanks a lot for this!
FYI your doc (along with some other projects) let me come up with this: https://github.com/foormea/esp32_mi_scale_2
Is is still relevant with the newest version?
Hi, I see there are two Huami body compositions Cales -- "Mi Body Composition Scale" and "Mi Body Composition Scale 2". Do you know if both are supported?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.