https://github.com/mdminhazulhaque/tl-wr845n-cli
:bulb: CLI access to TPLink Routers
https://github.com/mdminhazulhaque/tl-wr845n-cli
api router statistics tplink
Last synced: 27 days ago
JSON representation
:bulb: CLI access to TPLink Routers
- Host: GitHub
- URL: https://github.com/mdminhazulhaque/tl-wr845n-cli
- Owner: mdminhazulhaque
- Created: 2017-01-24T18:39:50.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-26T10:38:28.000Z (over 8 years ago)
- Last Synced: 2025-05-07T13:38:05.295Z (about 1 year ago)
- Topics: api, router, statistics, tplink
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TPLink-Router-CLI
Simple CLI client for remote data polling or controlling TL-WR845N router (might work with other TPLink routers!)
## Sample Result
```
# dhcp lease and rx/tx info
$ python tplink-cli.py -h 192.168.100.1 -u admin -p qwer0987 -s -b
ip mac name received sent
--------------- ------------------- -------------------------- ---------- ---------
"192.168.0.108" "36-01-55-D8-5D-E2" "DESKTOP-2V44CC92" 5.9 GB 7.22 GB
"192.168.0.103" "52-7E-65-B4-2A-25" "android-df9862b973a1b189" 197.33 MB 267.36 MB
"192.168.0.101" "44-15-6F-F0-99-BF" "rakib38s-iPhone" 4.31 MB 1.95 MB
"192.168.0.106" "74-F0-6D-31-D6-B0" "mew-laptop" 62.92 MB 66.73 MB
"192.168.0.200" "24-FD-5C-52-5E-02" "Minhaz-PC" 57.75 MB 73.16 MB
"192.168.0.201" "ED-1B-82-24-38-A4" "Minhaz-MI5" 1.57 MB 1.01 MB
# reboots the router
$ python tplink-cli.py -h 192.168.100.1 -u admin -p qwer0987 -r
```
## TODO
- [ ] Add more functions to get status updates
- [x] Map mac address with status updates
- [x] Human readable up/down data statistics
- [x] Cleanup code
- [x] Reboot Feature
- [ ] Enable/Disable Wireless Radio
- [ ] Enable/Disable ACL