-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Xiaomi Body Composition Scale S400 MJTZC01YM #582
Comments
If you have the Xiaomi Body Composition Scale S400 MJTZC01YM, could you provide some raw data MQTT samples with Advertisement and Advanced Data set to true? I can't fully read the link you gave above, but from an initial glance, I don't think it contains any advertising data encoding details. |
I'm using both Mosquitto and TheengsGateway and I've installed them in 2 docker containers running on a debian machine. I tried to publish I've put some raw data below but I'm not sure if these data have the encoding details. {"name": "Mijia Scale S400 F04E", "id": "8C:D0:B2:F8:F0:4E", "rssi": -90, "servicedatauuid": "fe95", "servicedata": "1059d930084ef0f8b2d08c"}
{"name": "Mijia Scale S400 F04E", "id": "8C:D0:B2:F8:F0:4E", "rssi": -84, "servicedatauuid": "fe95", "servicedata": "1059d9300a4ef0f8b2d08c"}
{"name": "Mijia Scale S400 F04E", "id": "8C:D0:B2:F8:F0:4E", "rssi": -91, "servicedatauuid": "fe95", "servicedata": "1059d9300c4ef0f8b2d08c"}
{"name": "Mijia Scale S400 F04E", "id": "8C:D0:B2:F8:F0:4E", "rssi": -86, "servicedatauuid": "fe95", "servicedata": "1059d9300c4ef0f8b2d08c"}
{"name": "Mijia Scale S400 F04E", "id": "8C:D0:B2:F8:F0:4E", "rssi": -92, "servicedatauuid": "fe95", "servicedata": "1059d9300c4ef0f8b2d08c"}
{"name": "Mijia Scale S400 F04E", "id": "8C:D0:B2:F8:F0:4E", "rssi": -87, "servicedatauuid": "fe95", "servicedata": "1059d9300e4ef0f8b2d08c"} |
With Theengs Gateway it is the PUBLISH_ADVDATA argument, which you seemed to have activated for posting your above samples, showing some servicedatauuid and servicedata with the latter containing the device's MAC address in reverse and only one octet changing at all in the above samples. If you find that the servicedata changes more substantially when weighing different weight please post some more samples including the weight showing on the scale each time, but currently it looks as if the MJTZC01YM does not broadcast its information in its BLE broadcast data. |
I've seen support for XMTZC02HM/XMTZC05HM but there is no support for the newer version MJTZC01YM. It would be great if we can also have support for the newer version.
Maybe this can be useful? https://home.miot-spec.com/spec?type=urn:miot-spec-v2:device:scale:0000A07D:yunmai-ms103:1
The text was updated successfully, but these errors were encountered: