Ingress support

#7 · closed · 5 comments

View on GitHub ↗

wildekek

I'd love to have Chirpstack in the sidebar, so I can access it easily, by adding [ingress support](https://developers.home-assistant.io/docs/add-ons/presentation/#ingress). Is this something you'd be interested in too? Then I'll build a PR.

Comments

modrisb

Just adding ingress to configuration will not work, probably need reverse proxy too. As workaround: from HA Overview, edit dashboard, then from dashboard menu Manage dashboards, then Add dashboard, add from scratch. Use your HA network ip/name in URL.

wildekek

That workaround won't work when people access HA via https (which should be the default tbh) since you can't load http iframes when accessing HA over ssl. I think ingress is the clean and recommended way. I'll give it a try and see what problems I'll run into.

wildekek

The Chirpstack Vite config is set to use absolute paths, which fail to load resources with the ingress url. I'll see if I can get relative paths committed to upstream.

modrisb

partly in version 1.1.144, will fix issues soon. Looks reasonable to try

wildekek

Works great! Thanks so much for the effort. I tried improving it by setting the bearer token in the header to omit the login screen, but ended up with an empty screen. Would be super nice to circumvent authentication.