Skip to content

Asuswrt Binding ​

This binding adds support to primarily read information from ASUS-Routers (Copyright © ASUS). For advanced use cases, it also supports the ability to directly read and write nvram variables.

Discovery ​

The ASUS routers are discovered through UPnP in the local network. After adding a discovered router it is required to configure the username and password to use it.

Supported Things ​

This binding supports ASUS routers with Asuswrt or Asuswrt-Merlin firmware. Firmware 5.x.x (some DSL models) is NOT supported (not Asuswrt).

ThingTypeNameDescripion
bridgerouterRouter to which the binding connects
-interfaceNetwork interface of the router
-clientClient is connected to the bridge

router Thing Configuration ​

NameTypeDescriptionDefaultRequiredAdvanced
hostnametextHostname or IP address of the devicerouter.asus.comyesno
usernametextUsername to access the deviceN/Ayesno
passwordtextPassword to access the deviceN/Ayesno
useSSLbooleanConnect over SSL or use http://falsenono
refreshIntervalintegerInterval the device is polled in sec.20noyes
httpPortintegerHTTP-Port80noyes
httpsPortintegerHTTPS-Port443noyes

Router NVRAM variable channel configuration ​

NameTypeDescriptionDefaultRequiredAdvanced
nametextName of the router nvram variableN/Ayesno
readonlybooleanWhether variable should be readonlytruenono
servicetextService to run after variable is setN/Anono

interface Thing Configuration ​

NameTypeDescriptionDefaultRequiredAdvanced
interfaceNametextoptions name of interface (wan/lan)N/Ayesno

client Thing Configuration ​

NameTypeDescriptionDefaultRequiredAdvanced
macAddresstextUnique MAC address of the deviceN/Ayesno
clientNicktextNickname used by OHN/Anono

Properties ​

All devices support some of the following properties:

propertydescriptionthings supporting this channel
vendorVendor of devicerouter, client
dnsNameDNS name of devicerouter, client

Channels ​

All devices support some of the following channels:

groupchanneltypedescriptionthings supporting this channel
network-infomac-addresstext (RO)HW addressinterface, client
ip-addresstext (RO)IP addressinterface
ip-methodtext (RO)IP method (static/dhcp)interface, client
subnettext (RO)Subnetmaskinterface
gatewaytext (RO)Default gatewayinterface
dns-serverstext (RO)DNS serversinterface
network-stateSwitch (RO)Client is onlineinterface, client
internet-stateSwitch (RO)Client connected to Internetclient
sys-infomem-totalNumber:DataAmountypeTotal memory in MBrouter
mem-usedNumber:DataAmountypeUsed memory in MBrouter
mem-freeNumber:DataAmountypeFree memory in MBrouter
mem-used-percentNumber:DimensionlesUsed memory in %router
cpu-used-percentNumber:DimensionlesTotal CPU usage in percent over all coresrouter
client-listknown-clientstext (RO)Known clients with name and MAC addressesrouter
online-clientstext (RO)Online clients with name and MAC addressesrouter
online-macstext (RO)List with MAC addresses of online clientsrouter
online-clients-countNumber:DimensionlessCount of online clientsrouter
nvram-variables(user defined)text (RW)Router nvram variablerouter
trafficcurrent-rxNumber:DataTransferRateCurrent DataTransferRate MBits/s (receive)interface, client
current-txNumber:DataTransferRateCurrent DataTransferRate MBits/s (send)interface, client
today-rxNumber:DataAmountData received since 0:00 a clock in MBinterface, client
today-txNumber:DataAmountData sent since 0:00 a clock in MBinterface, client
total-rxNumber:DataAmountData received since reboot in MBinterface, client
total-txNumber:DataAmountData sent since reboot in MBinterface, client

An NVRAM variable channel can be setup in the UI by selecting "Add Channel" in the channel list of the router.

Events ​

All devices support some of the following Events:

groupeventkinddescriptionthings supporting this event
network-infoconnection-eventTriggerFired if connection is established ('connected') or ('disconnected')interface
client-online-eventTriggerFired if client leaves ('gone') or enters ('connected') the networkclient
client-listclient-online-eventTriggerFired if client leaves ('gone') or enters ('connected') the networkrouter