Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Slinger360
committed
Dec 18, 2019
1 parent
47253b2
commit e7321b9
Showing
41 changed files
with
1,233 additions
and
1,286 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../NineRiFt-base/.android |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[submodule ".android/able"] | ||
path = .android/able | ||
url = https://github.com/b3b/able | ||
[submodule "vendor/py9b"] | ||
path = vendor/py9b | ||
url = https://github.com/Slinger360/py9b |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
This is an Open-Source Ninebot and Xiaomi compatible scooter interface app. | ||
THIS TOOL IS ONLY FOR USE ON DEVICES YOU OWN!!! It is still being added to but is in a functional state. | ||
|
||
|
||
This application is written in Python3. To install required libraries, run the following two commands: | ||
|
||
git clone --recursive https://github.com/slinger360/NineRiFt-kivy.git | ||
pip install -r requirements.txt | ||
|
||
To build for Android read up on Buildozer. | ||
|
||
After that, you can either run NineRiFt on your Windows, Mac, or Linux machine by opening main.py using your Python3 interpreter or you can use a prebuilt APK for Android (you could also compile a build if you want). | ||
|
||
On Android, BLE and TCP-Serial is supported. | ||
|
||
On, Windows, Mac, and Linux, BLE, Serial, and TCP is supported. | ||
|
||
|
||
The Download screen is for downloading firmware: | ||
|
||
1. Select device you need firmware for in the dropdown on the left | ||
|
||
2. Select the firmware version you need | ||
|
||
3. Click "Download it!" and wait for download to complete | ||
|
||
|
||
The Flash screen is for flashing firmware: | ||
|
||
1. (Optional) Type the first few digits or the full length of the MAC address of the target scooter for flashing | ||
|
||
2. Select the interface you want to use to connect (if wired, plug it in first) | ||
|
||
3. Select the part you wish to flash | ||
|
||
4. Select the firmware file you want flashed to the target scooter. DO NOT SELECT AN MD5 FILE!!! THIS IS NOT THE FIRMWARE!!! | ||
|
||
5. Click "Flash it!" and wait for flashing to complete | ||
|
||
|
||
|
||
At the moment only Segway-Ninebot SNSC, ES1, ES2, and ES4 and Xiaomi M365 and M365 Pro are supported. | ||
|
||
|
||
SNSC dashboards cannot be flashed without either TCP-Serial or Serial interface. | ||
|
||
|
||
|
||
If you appreciate my work, be sure to donate at https://PayPal.com/dilsha21 or any of the other options listed on my GitHub. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
GridLayout: | ||
cols: 1 | ||
rows: 2 | ||
GridLayout: | ||
rows: 2 | ||
cols: 1 | ||
size_hint_y: .15 | ||
Label: | ||
font_size: '12sp' | ||
height: '12sp' | ||
text: "NewSN:" | ||
TextInput: | ||
multiline: False | ||
font_size: '12sp' | ||
height: '12sp' | ||
on_text_validate: app.com.setnewsn(self.text) | ||
font_size: '12sp' | ||
BoxLayout: | ||
size_hint_y: .85 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
GridLayout: | ||
cols: 1 | ||
rows: 2 | ||
Spinner: | ||
text: "Device" | ||
font_size: '12sp' | ||
height: '12sp' | ||
size_hint_y: .15 | ||
values: ['esc','ble','bms','extbms'] | ||
on_text: app.com.setdev(self.text) | ||
BoxLayout: | ||
size_hint_y: .85 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.