Features Wishlist
Container install: let the editor bind to a chosen address (SCREEN_BIND), not only 127.0.0.1
Running Home Assistant Container (no Supervisor), so Tessera Screen Manager runs via docs/DOCKER.md — the prebuilt image, host networking, SCREEN_DEV=1, HA_API + HA_TOKEN_FILE.
In screen_manager/app/server.py the listener is fixed:
await web.TCPSite(runner, '127.0.0.1' if development else '0.0.0.0', 8099).start()
Outside the Supervisor there's no ingress in front of a page with no login, so loopback is a sensible default — but it also means nothing else can front it. My reverse proxy lives on another host, so it can't dial this host's loopback, and ports: 127.0.0.1:8099:8099 on a bridge network can't reach a listener bound to the container's loopback either. Today the only ways in are an SSH tunnel, the hass_ingress HACS integration, or a socat sidecar purely to lift the bind. It also blocks using Traefik Sablier to start the container on demand, since Sablier needs a route it can proxy to.
Proposal: an optional SCREEN_BIND env var, honoured only in SCREEN_DEV:
host = os.environ.get('SCREEN_BIND') or ('127.0.0.1' if development else '0.0.0.0')
await web.TCPSite(runner, host, 8099).start()
Unset = exactly today's behaviour, so nothing changes for existing installs. Set to a specific LAN address it binds only there — narrower than 0.0.0.0, and fits "reverse proxy on another host". Documented with the existing warning that the page has no login of its own.
Why not a local build: the image is prebuilt and the Docker route is the supported one for Container; carrying a fork of the Screen Manager (with the ESPHome toolchain) is a lot of weight for one bind address.
Alternatives considered: hass_ingress (works — that's what I use now, but HA must be the client, so no separate URL and no on-demand start), SSH tunnel, socat/nginx sidecar.
Discussion 0
Add a commentStart the conversation
Share an example, ask a question or explain how you would use this.