Giter Club home page Giter Club logo

bluetooth's People

Contributors

prototux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bluetooth's Issues

Collaboration offer?

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?

Xiaomi Mija Bluetooth Thermometer 2 (LYWSD03MMC)

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.

body composition scale 2 issue

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.

How to use mibcs_app.py ?

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

you mixed up catty and imperial in description for mi scale 2

https://github.com/wiecosystem/Bluetooth/blob/master/doc/devices/huami.health.scale2.md#advertisement

Small correction:

  • 8th and 10th off: metric
  • 8th on: catty
  • 10th on: imperial

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.