An open API service indexing awesome lists of open source software.

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

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