Xiaomi/Ninebot scooter communication library (internal fork)
Go to file
Slinger360 8eb86f1c75 fixed Queue usage in BLE 2019-05-17 00:05:32 -05:00
py9b fixed Queue usage in BLE 2019-05-17 00:05:32 -05:00
.gitignore Many fwupd fixes 2018-12-01 23:24:21 +01:00
LICENSE Initial commit 2018-10-15 14:01:15 +02:00
README.md Updated and proofread 2019-03-16 13:07:56 -05:00
fwupd.py Changed all IPs to localhost and added contribs 2019-04-09 18:47:37 -05:00
lock.py Changed all IPs to localhost and added contribs 2019-04-09 18:47:37 -05:00
passwd.py Changed all IPs to localhost and added contribs 2019-04-09 18:47:37 -05:00
powerdown.py Changed all IPs to localhost and added contribs 2019-04-09 18:47:37 -05:00
read_bms.py Changed all IPs to localhost and added contribs 2019-04-09 18:47:37 -05:00
read_bms_ll.py Changed all IPs to localhost and added contribs 2019-04-09 18:47:37 -05:00
read_bms_mem.py Changed all IPs to localhost and added contribs 2019-04-09 18:47:37 -05:00
read_esc.py Changed all IPs to localhost and added contribs 2019-04-09 18:47:37 -05:00
read_esc_ll.py Changed all IPs to localhost and added contribs 2019-04-09 18:47:37 -05:00
readregs.py Changed all IPs to localhost and added contribs 2019-04-09 18:47:37 -05:00
reboot.py Changed all IPs to localhost and added contribs 2019-04-09 18:47:37 -05:00
sniffer.py Changed all IPs to localhost and added contribs 2019-04-09 18:47:37 -05:00
tcp_test.py Changed all IPs to localhost and added contribs 2019-04-09 18:47:37 -05:00
unlock.py Changed all IPs to localhost and added contribs 2019-04-09 18:47:37 -05:00
wr_esc.py Changed all IPs to localhost and added contribs 2019-04-09 18:47:37 -05:00

README.md

py9b

Ninebot/Xiaomi electric scooter communication library and tools.

This fork adds custom UUID support for use with scooters acquired via impound auction or other means. DO NOT USE THIS ON SCOOTERS THAT DON'T BELONG TO YOU!!!

Tools

  • fwupd.py - firmware flasher capable of flashing BLE/ESC/BMS
  • readregs.py - ESC/BMS register file dumper Other tools are highly experimental.

Requirements

  • Python 2.x.x [www.python.org]
  • ProgressBar [pip install progressbar]
  • PySerial [pip install pyserial] - for direct serial link backend
  • PyGatt [pip install pygatt] - for BLED112 dongle backend
  • nRFUARTBridge [https://github.com/flowswitch/nRFUARTBridge] - for Android BLE-TCP backend