Skip to content

Python code for communicating with Xiaomi M365 Scooter over GATT using bluepy

Notifications You must be signed in to change notification settings

omeriko9/MIScooterPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

MIScooterPy

Python code for communicating with Xiaomi M365 Scooter over GATT using bluepy. Based on the profound reversing work of Camilo Ruiz and others.

Final goal is to have Firmware(s) update using other than the currently available Android apps, from devices such as PC, RPi and others. The project is WIP and currently supports a few 'get' commands, but is being updated with more commands progressively.

Feel free to contribute :)

Installation

No installation is required except for the BluePy python library. Installation instructions can be found on bluepy's github page

Code is targeting Python 3 Tested on Raspberry Pi 3 Model B

Usage

myMAC='AA:AA:AA:AA:AA:AA'
com=CommManager(myMAC)
com.connect()
com.send('GetSerial')
# Response will be printed to console
com.send('GetFirmware')
com.send('GetPincode')

About

Python code for communicating with Xiaomi M365 Scooter over GATT using bluepy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages