{
  "api_version": "1.0.0",
  "slug": "xiaomi-electric-scooter-elite-f792dbe4",
  "url": "https://reversedwithai.com/p/xiaomi-electric-scooter-elite-f792dbe4",
  "markdown_url": "https://reversedwithai.com/p/xiaomi-electric-scooter-elite-f792dbe4.md",
  "json_url": "https://reversedwithai.com/p/xiaomi-electric-scooter-elite-f792dbe4.json",
  "title": "Reversed Xiaomi Electric Scooter Elite BLE protocol for Home Assistant integration",
  "tagline": "A Home Assistant integration for local Bluetooth monitoring of Xiaomi Elite and 4 Pro 2nd Gen scooters.",
  "summary": "This integration enables local Bluetooth monitoring of Xiaomi Elite and 4 Pro 2nd Gen electric scooters in Home Assistant. It uses reverse-engineered BLE protocols to expose telemetry data like battery health, range, and ride logs without relying on the Xiaomi cloud.",
  "target": {
    "name": "Xiaomi Electric Scooter Elite",
    "type": "api",
    "type_label": "APIs and protocols"
  },
  "platform": "Home Assistant",
  "models": [
    "Claude"
  ],
  "tools": [
    "Home Assistant",
    "ESPHome",
    "pytest"
  ],
  "outcome": "works",
  "outcome_label": "Works",
  "human_effort": null,
  "time_spent": null,
  "cost": null,
  "license": null,
  "checks": {
    "source_available": null,
    "repro_steps": null,
    "real_hardware": null,
    "independently_verified": null
  },
  "author": {
    "name": "wajo666",
    "url": null
  },
  "sources": {
    "repository": "https://github.com/wajo666/homeassistant-xiaomi-scooter-elite",
    "writeup": null,
    "discussions": [],
    "all": [
      "https://github.com/wajo666/homeassistant-xiaomi-scooter-elite"
    ]
  },
  "image": null,
  "commit_history": null,
  "added_at": "2026-12-01T08:01:39.410585+00:00",
  "updated_at": "2026-12-01T08:01:39.410585+00:00",
  "sources_reviewed_at": "2026-12-03T12:31:19.279159+00:00",
  "reviewed_by": "automated",
  "human_notes": "The integration uses a custom component structure for Home Assistant. The protocol relies on third-party reverse engineering of the ScooterLink project for the BLE communication layer.",
  "reproduce": "Install via HACS by adding the custom repository URL. Configure the integration by selecting the Xiaomi account region, completing the login link process, and entering the scooter's PIN.",
  "body_md": "The [Xiaomi Electric Scooter (BLE)](https://raw.githubusercontent.com/wajo666/homeassistant-xiaomi-scooter-elite/HEAD/README.md) integration provides local monitoring for the Xiaomi Electric Scooter Elite and the 4 Pro (2nd Gen). It utilizes Home Assistant's native Bluetooth stack or ESPHome Bluetooth proxies to communicate with the device. The integration performs an ECDH P-256 key exchange to establish an AES-CCM encrypted channel for reading MIoT spec properties. The Xiaomi cloud is accessed only during initial setup to retrieve the device's BLE key, which is then stored locally in an encrypted format. The author reports that the Elite model is verified, while the 4 Pro (2nd Gen) remains experimental due to an unverified property map. Claude Opus 5.5 is credited as a co-author for the development of the integration. Limitations include a requirement that the scooter must be powered on and in range for data collection, and the integration cannot maintain a connection if the official Mi Home app is already connected. The integration also cannot read the scooter's serial number or modify energy recuperation levels.",
  "ai_use_excerpts": {
    "checked_at": "2026-12-01T08:01:35.047Z",
    "items": [
      {
        "quote": "Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>",
        "url": "https://github.com/wajo666/homeassistant-xiaomi-scooter-elite/commits.atom"
      }
    ]
  }
}
