Xiaomi Scooters¶
See also other Xiaomi devices
This page lists scooters only of Xiaomi. They also has different kind of gadgets supported by Gadgetbridge:
Supported features¶
- Settings
- Ride mode (standard/walking/sport - read-only, not displayed)
- Motor lock
- Speed unit (m/h, km/h)
- Lights
- Taillight always on
- Auto lights
- Ambient light
- Assisted driving
- Traction Control System (anti-slip)
- Slope parking
- Energy recovery intensity
- Smart energy recovery
- Tire pressure maintenance
- Enable / disable
- Set interval (14d, 30, 60d, 180d)
- Reset reminder
- Bluetooth always on (search scooter via BT)
- Find scooter
- Read information
- Date put into service
- Firmware version
- Serial number
- Scooter temperature (with charts)
- Read battery info
- Real-time battery telemetry
- Charge percentage
- Voltage, current, power (with charts)
- Range
- Cycles
- Manufactured date
- Serial
- BMS firmware version
- Temperature (with charts)
- Sync ride history
- Duration, distance, average speed
- Device does not report the time where the ride took place, so it is persisted at time of sync
Missing features¶
- Some scooter information
- Total distance
- Some battery information
- Status
- Remaining capacity (mAh)
- Energy throughput
- Capacity throughput
- Over-charging events
- Charging time in extreme temperatures
- Storage and use time in extreme temperatures
- Firmware updates
Auth key¶
The Xiaomi scooters require server based pairing. This means, that you absolutely must use the original Mi Home app to make the initial pairing, retrieve the auth key, and then use this key to pair with Gadgetbridge. This requires a rooted phone.
Usage of non-free (as-in freedom) software ahead
Unfortunately, these steps will take you outside of Gadgetbridge and require you to create an account with your gadget's vendor's website and/or download a proprietary app.
As the authentication keys are stored on vendor servers, there is no way to generate these keys locally at the moment.
-
Pull the following file from the Mi Home's data folder, replacing
<ownerId>and<countryCode>: -
Decrypt the auth key using the extract_ltmk.py script:<>
Scooter 5 Max¶
device__xiaomi_scooter_5_max
has_flag__feature_high
has_flag__pair_auth_key
Tested with firmwares 2.5.3_0011 and 2.7.0_0015.