[Custom component] AsusRouter integration

It’s not an “odd” version, but an LTS version where the transmit range of the router is not limited. :slight_smile:

I’ve already tried some previous versions, but getting the same error… :frowning:

:slight_smile: should have been “old” , mind is “slipping” at this hour :slight_smile:

:stuck_out_tongue: No problem. It’s getting late here as well.
Anyway, I even tried the other custom integration from Ollo69 and getting the same problem.
It seems that when I try to connect over http, it fails…
I can only connect using the ssh integration with the original asuswrt intergration.

Thats one of the reasons i skipped asuswrt-integration.
You don’t access your HA with “https” now ?

Yes I also have access over https via nginx proxy manager setup with ssl certificate… But how would this help in setting up the asuswrt integration on my local network?

https://asusrouter.vaskivskyi.com/guide/getting-started/#simplified-setup

Edit: you could also try to “raise” loglevel in ha, to “debug” maybe it will give more specific info

# Example configuration.yaml entry
logger:
  default: info

change default to : debug

try to click to “controleer SSL certificate”

check the “controleer SSL certificate”

Tried all that already without any success…
Will try to enable the debug logging this evening and see if I can find more info.

Hello,

Unfortunately, your device is using too old firmware version 374.x. As far as I know, at least half of the API used for AsusRouter is not yet available with your FW version. The oldest one I have tried was Merlin 380.70 on RT-AC66U, but I do not have access anymore to any old device to try 374.

If you will go with updating to Merlin 380.70 also available for variations of N66U, AsusRouter should work well. Otherwise, we can try some troubleshooting, but then I suggest opening a proper issue on GitHub, so it would be easier to keep track of actions.


P.S. Even if AsusRouter will migrate to the Home Assistant core and become in-built integration, it will not be merged with AsusWRT integration. They are too different and give access to different features. Keeping them as a single integration will be not just a headache, but quite painful.

A couple of months ago I have described in detail a possibility for AsusRouter to move into HA Core. Link.

Thanks for the info.
However, I won’t be able to switch to a newer firware because than I loose the stability and the range of my router (See [Fork] Asuswrt-Merlin 374 LTS Overview | SmallNetBuilder Forums)

Although the firmware is actively patched with new security patches (not sure about other functionality).

If you want I can open an issue. Can you tell me which info you want exactly?
Because the logs are always showing error: None.
Already tried with debug logging as well.

EDIT: since I’m a new user I’m limited in my number of replies :frowning:
So to answer your question: I only connection to it via my browser on my lan through http.
Additional info I found on merlin fork website:


So this might be the reason why it can’t connect?

When trying to connect via the app, it tells me to enable remote connection… Is that required?
I don’t want remote connection, only connection from lan…

Maybe one more question - can you control your device with the ASUS Router Android or iOS app?

No, you don’t need to enable a remote connection.

Unfortunately, it will not work with the integration - apparently, the API is really not yet ready on 374 builds to work locally.

Sorry that I cannot help you with the issue

:mantelpiece_clock: … today …

(CET)

I did try to connect my zenwifi XT12 pro but after putting my IP address and User/Password it tell me unknown error, is the XT12 not supported?

FYI also when I try to connect tos ASUSWRT integration I get a unexpected error

Please, check whether there is any error message in the Home Assistant log. For that, open the full log using this Load full log button:

image

and find entries including asusrouter

Do you use an SSL connection? Is your router available via standard ports (8443 for SSL connection and 80 for non-SSL connection)?

I did restart my HA so not have logs available at the moment, if I enter the IP address of the router in my webbrowser it does redirect me to the Asus login page so it is available and not use any SSL protocol just enter it through http://ip adress

:thinking:

After full reboot of HA I hot it to work, Thanks for your reply!

That’s what I was afraid for… thx for providing your feedback. :+1: