lovelylain / hass_ingress

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

How to support Ubiquiti routers (UDM) #16

Open deiger opened 1 week ago

deiger commented 1 week ago

The login page, https://192.168.0.1/, is redirected to https://192.168.0.1/login?redirect=%2F.

I tried:

ingress:
  unifi:
    work_mode: ingress
    title: UniFi
    icon: mdi:router-network
    url: https://192.168.0.1/

But I'm getting a 502 error. iframe and auth didn't work either.

deiger commented 1 week ago

With iframe I get an error The webpage at https://192.168.0.1/ might be temporarily down or it may have moved permanently to a new web address., while with auto the same error for the URL https://192.168.0.1/?ingressToken=***

lovelylain commented 3 days ago

The login page, https://192.168.0.1/, is redirected to https://192.168.0.1/login?redirect=%2F. So you cannot use ingress work_mode. The work_mode: auth should work with nginx auth_request.