<!-- Canonical page: https://reversedwithai.com/p/xiaomi-electric-scooter-elite-f792dbe4 -->
Canonical page: https://reversedwithai.com/p/xiaomi-electric-scooter-elite-f792dbe4

# Reversed Xiaomi Electric Scooter Elite BLE protocol for Home Assistant integration

> A Home Assistant integration for local Bluetooth monitoring of Xiaomi Elite and 4 Pro 2nd Gen scooters.

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.

## Key facts

- Target: Xiaomi Electric Scooter Elite
- Category: APIs and protocols
- Platform: Home Assistant
- Models: Claude
- Tools: Home Assistant, ESPHome, pytest
- Outcome: Works
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: wajo666
- Added: 2026-12-01
- Updated: 2026-12-01
- Sources reviewed: 2026-12-03 (automated reviewer)

## What was done

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.

## Human work and limitations

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 it

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.

## AI use in the original source

- "Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>" ([source](https://github.com/wajo666/homeassistant-xiaomi-scooter-elite/commits.atom))

Excerpts checked against the source on 2026-12-01.

## Questions about Xiaomi Electric Scooter Elite

### What is the Xiaomi Electric Scooter Elite project?

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. It is listed under APIs and protocols for Home Assistant.

### Which AI model was used on Xiaomi Electric Scooter Elite?

The entry names Claude. The tools named alongside are Home Assistant, ESPHome and pytest.

### Did the AI reverse engineering of Xiaomi Electric Scooter Elite work?

Its author reports that it works.

### Is the source code for Xiaomi Electric Scooter Elite available?

The entry links a repository, https://github.com/wajo666/homeassistant-xiaomi-scooter-elite, but does not record whether the code is public.

## Sources

- [Repository](https://github.com/wajo666/homeassistant-xiaomi-scooter-elite)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: wajo666 (2026). Reversed Xiaomi Electric Scooter Elite BLE protocol for Home Assistant integration. Reversed with AI. https://reversedwithai.com/p/xiaomi-electric-scooter-elite-f792dbe4
