lovelylain / hass_ingress

Home Assistant ingress feature, add additional ingress panels to your Home Assistant frontend.
Apache License 2.0
71 stars 6 forks source link

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

Open zcr268 opened 1 month ago

zcr268 commented 1 month ago

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 commented 1 month ago

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.