{
  "added_at": "2026-11-09",
  "category": "reconstruction-cases",
  "class": "hardware",
  "description_en": "mi-scale-2 decodes Xiaomi Mi Smart Scale 2 BLE weight data and publishes the readings to MQTT. Its format notes identify unit, stabilized, and weight-removed bits in the first byte and a little-endian weight value in the next two bytes.",
  "description_zh": "mi-scale-2 解析 Xiaomi Mi Smart Scale 2 的 BLE 体重数据，并将读数发布到 MQTT。格式笔记标明了首字节中的单位、稳定状态及离秤标志，以及后续两个字节的小端序体重值。",
  "entry_url": "https://awesomerea.org/resources/mi-scale-2-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/mi-scale-2-case/",
  "evidence_class": 2,
  "evidence_status": "observed",
  "evidence_url": "https://github.com/qbbr/mi-scale-2/blob/cac6537f5d11fe2ee9d73f04494b186f5bbb1062/README.md",
  "group": "cases",
  "id": "mi-scale-2-case",
  "json_url": "https://awesomerea.org/resources/mi-scale-2-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/mi-scale-2-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/mi-scale-2-case/index.md",
  "name": "mi-scale-2: decoding Mi Smart Scale 2 weight messages",
  "name_zh": "mi-scale-2：解析 Mi Smart Scale 2 体重消息",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "prerequisites",
    "testing",
    "license"
  ],
  "requirements": [
    "Python 3 with python-dotenv, bluepy, and paho-mqtt; bluepy.btle requires root permissions.",
    "The author reports testing only with a Raspberry Pi 3b and Mi Scale 2.",
    "MIT license."
  ],
  "requirements_zh": [
    "需要 Python 3、python-dotenv、bluepy 和 paho-mqtt；bluepy.btle 需要 root 权限。",
    "作者报告仅在 Raspberry Pi 3b 与 Mi Scale 2 组合上测试。",
    "采用 MIT 许可证。"
  ],
  "scope": "unknown",
  "targets": [
    "protocol"
  ],
  "url": "https://github.com/qbbr/mi-scale-2",
  "verification": "source-reviewed",
  "verified_at": "2026-11-07"
}
