A Surge script to check NIU scooter's battery level and mileage data. 中文
I haven't tested the script yet cause I don't have a NIU scooter.
- Get your SN from the app.
- Get the token by MITM attacking the app's traffic.
- Fill your SN and token in the niu.js file.
- Add the script to your Surge configuration.
Basic - Scripting - Surge Manual
Cron - Scripting - Surge Manual
niu_helper is a derivative work of bfishadow/niu.