Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I'm trying to configure the ASUSRouter router like openwrt but it fails. #24

Open
zcr268 opened this issue Sep 11, 2024 · 1 comment
Open

Comments

@zcr268
Copy link

zcr268 commented Sep 11, 2024

I've tried a couple of writing styles

  asus_router.
    title: ASUSRouter
    icon: mdi:router-wireless-settings
    work_mode: iframe
    url.
      match: http:\/\/192.168.2.181:8123\/(. *)
      replace: http://192.168.2.1/$1
      default: http://192.168.2.1/
  asus_router.
    title: ASUSRouter
    icon: mdi:router-wireless-settings
    url: http://192.168.2.1/

I don't really understand the mechanism of this configuration, when I use the second one, when I click on it, it goes to http://XXX/Main_Login.asp and reports 404.XXX which is the address of the hass. I thought this configuration should be forwarded to the router. But it doesn't work. What's wrong?

@lovelylain
Copy link
Owner

Each service is different, so please adjust the configuration yourself. If you finally solve it, you are welcome to add the configuration to the document.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants