Skip to content

A Surge script that fetches NIU scooter's battery level and mileage data.

License

Notifications You must be signed in to change notification settings

gongjianhui/niu_helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

niu_helper

A Surge script to check NIU scooter's battery level and mileage data. 中文

WARNING: Use At Your Own Risk

I haven't tested the script yet cause I don't have a NIU scooter.

Usage

  1. Get your SN from the app.
  2. Get the token by MITM attacking the app's traffic.
  3. Fill your SN and token in the niu.js file.
  4. Add the script to your Surge configuration.

References

Basic - Scripting - Surge Manual

Cron - Scripting - Surge Manual

Cron - Wikipedia

Copyright

niu_helper is a derivative work of bfishadow/niu.

About

A Surge script that fetches NIU scooter's battery level and mileage data.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published