From fd5625b99a61f661808671509f411671eb7f13ca Mon Sep 17 00:00:00 2001 From: retr0 <42kdesigners@gmail.com> Date: Sun, 26 Apr 2026 16:37:48 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20Flask=20zur=C3=BCck=20auf=200.0.0.0=20?= =?UTF-8?q?=E2=80=94=20HA=20Ingress=20braucht=20es=20(v1.1.4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 127.0.0.1-Binding verursacht 502 Bad Gateway weil HA Supervisor Ingress nicht von localhost aus verbindet. host_network: true + 0.0.0.0 ist die korrekte Konfiguration für HAOS Add-ons. Co-Authored-By: Claude Sonnet 4.6 --- haos-addon/config.yaml | 2 +- haos-addon/src/main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/haos-addon/config.yaml b/haos-addon/config.yaml index b7df62b..97ac4cf 100644 --- a/haos-addon/config.yaml +++ b/haos-addon/config.yaml @@ -1,5 +1,5 @@ name: ShineBridge -version: "1.1.3" +version: "1.1.4" slug: shinebridge description: Growatt Wechselrichter lokal in Home Assistant — Modbus TCP via ShineLAN-X, MQTT Discovery, Web UI url: https://gitea.bitfire.work/retr0/Growatt-Wechselrichter-HAOS diff --git a/haos-addon/src/main.py b/haos-addon/src/main.py index 12f39e6..b9637e1 100644 --- a/haos-addon/src/main.py +++ b/haos-addon/src/main.py @@ -303,4 +303,4 @@ if __name__ == "__main__": _restart_all() port = int(os.environ.get("INGRESS_PORT", "8099")) log.info("Web UI startet auf Port %d", port) - app.run(host="127.0.0.1", port=port, threaded=True) + app.run(host="0.0.0.0", port=port, threaded=True)