SkillAgentSearch skills...

MIScooterPy

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

Install / Use

/learn @omeriko9/MIScooterPy
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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')
View on GitHub
GitHub Stars13
CategoryDevelopment
Updated2y ago
Forks3

Languages

Python

Security Score

60/100

Audited on Aug 28, 2023

No findings