AsusRouter is an API wrapper for communication with ASUSWRT-powered routers using HTTP(S) protocols. The library supports both the stock AsusWRT firmware and AsusWRT-Merlin.
Up till now, it is only used for the custom AsusRouter Home Assistant integration. But I am always open to making it suitable for any other use.
Installation of the latest release is available from PyPI:
pip install asusrouter
Once installed, you can import the AsusRouter
class from the module. Example shows the default parameters except for host
, username
and password
.
from asusrouter import AsusRouter
router = AsusRouter(host = "router.my.address", #required - both IP and URL supported
username = "admin", #required
password = "password", #required
port = None, #optional - default port would be selected based on use_ssl parameter
use_ssl = False, #optional
cache_time = 5) #optional
AsusRouter supports virtually every AsusWRT-powered device.
Model | Status | Tested firmware | Find it on Amazon1 |
---|---|---|---|
GT-BE98 | π Expected to work | find it | |
GT-BE98 Pro | π Expected to work | find it | |
RT-BE96U | π Expected to work | find it | |
ZenWiFi BQ16 Pro | π Expected to work | find it |
Model | Status | Tested firmware | Find it on Amazon1 |
---|---|---|---|
GT-AXE11000 | π Expected to work | find it | |
GT-AXE16000 | π Confirmed | Stock:388.21617 |
find it |
RT-AXE7800 | π Confirmed | Stock:388_22068 |
find it |
ZenWiFi ET8 | π Expected to work | find it | |
ZenWiFi Pro ET12 | π Expected to work | find it |
Model | Status | Tested firmware | Find it on Amazon1 |
---|---|---|---|
DSL-AX82U | π Confirmed | Merlin:386.07_0-gnuton0_beta2 |
find it |
GT-AX11000 | π Confirmed | Merlin:386.7_2 388.1_0 |
find it |
GT-AX11000 Pro | π Expected to work | find it | |
GT-AX6000 | π Expected to work | find it | |
GT6 | π Expected to work | find it | |
RT-AX52 | π Expected to work | find it | |
RT-AX53U | π Confirmed | Stock:386.69061 |
find it |
RT-AX55 | π Confirmed | Stock:386.50410 |
find it |
RT-AX56U | π Confirmed | Merlin:386.7_2 |
find it |
RT-AX57 | π Expected to work | find it | |
RT-AX57 Go | π Expected to work | find it | |
RT-AX58U | π Confirmed | Stock:386.49674 388.22237 386.7_2 388.1_0 |
find it |
RT-AX59U | π Expected to work | find it | |
RT-AX68U | π Confirmed | Stock:388.21732 |
find it |
RT-AX82U | π Confirmed | Stock:386.48664 386.49674 |
find it |
RT-AX86S | π Confirmed | Stock:386.46061 386.48260 386.49447 388.22525 386.7_2 |
find it |
RT-AX86U | π Confirmed | Stock:386.46061 386.48260 386.49447 388.22525 386.7_2 |
find it |
RT-AX86U Pro | π Confirmed | Stock:388.23565 |
find it |
RT-AX88U | π Confirmed | Stock:386.45934 386.48631 388.24198 386.5_2 386.8_0 388.1_0 388.2_0 388.4_0 |
find it |
RT-AX88U Pro | π Expected to work | find it | |
RT-AX89X | π Confirmed | find it | |
RT-AX92U | π Confirmed | Stock:386.46061 |
find it |
TUF-AX3000 V2 | π Confirmed | Stock:388.23785 |
find it |
TUF-AX4200 | π Expected to work | find it | |
TUF-AX5400 | π Confirmed | Stock:386.50224 388.21224 388.22525 |
find it |
TUF-AX6000 | π Confirmed | Stock:388.32432 |
find it |
ZenWiFi AX (XT8) | π Confirmed | Stock:386.48706 388.23285 386.7_2-gnuton1 |
find it |
ZenWiFi AX Hybrid (XP4) | π Expected to work | find it | |
ZenWiFi AX Mini (XD4) | π Confirmed | Stock:386.48790 386.49599 |
find it |
ZenWiFi Pro XT12 | π Confirmed | Stock:388.22127 |
find it |
ZenWiFi XD4 Plus | π Expected to work | find it | |
ZenWiFi XD4S | π Expected to work | find it | |
ZenWiFi XD5 | π Expected to work | find it | |
ZenWiFi XD6 | π Confirmed | Stock:388.21380 |
find it |
ZenWiFi XD6S | π Confirmed | Stock:388.21380 |
find it |
ZenWiFi XT9 | π Confirmed | Stock:388_23285 |
find it |
Model | Status | Tested firmware | Find it on Amazon1 |
---|---|---|---|
4G-AC55U | π Confirmed | find it | |
DSL-AC68U | π Confirmed | Stock:386.47534 386.50117 386.4-gnuton2 386.7_2-gnuton1 |
find it |
RT-AC51U | π Confirmed | Stock:380.8591 |
find it |
RT-AC52U B1 | π Confirmed | find it | |
RT-AC5300 | π Confirmed | Merlin:386.7_2 |
find it |
RT-AC57U V3 | π Confirmed | Stock:386.21649 |
find it |
RT-AC58U | π Confirmed | find it | |
RT-AC66U | π Confirmed | Merlin:380.70_0 |
find it |
RT-AC66U B1 | π Confirmed | Stock:386.51255 |
find it |
RT-AC68U | π Confirmed | Stock:386.49703 386.5_2 386.7_0 |
find it |
RT-AC85P | π Confirmed | Stock:382.52516 |
find it |
RT-AC86U | π Confirmed | Stock:386.48260 386.49709 386.7_0 386.7_2 386.9_0 |
find it |
RT-AC87U | π Confirmed | Merlin:384.13_10 |
find it |
RT-AC88U | π Confirmed | Stock:386.48260 386.5_0 386.7_beta1 |
find it |
RT-ACRH17 | π Confirmed | Stock:382.52517 |
find it |
ZenWiFi AC Mini(CD6) | π Expected to work | find it |
Model | Status | Tested firmware | Find it on Amazon1 |
---|---|---|---|
RT-N66U | π Confirmed | find it |
If you have found an issue working with the library or just want to ask for a new feature, please fill in a new issue.
You are also welcome to submit pull requests to the repository!
Testing the library with different devices would help a lot in the development process. Unfortunately, currently, I have only one device available, so your help would be much appreciated.
This library is a free-time project. If you like it, you can support me by buying a coffee.