Features Wishlist

Support a standalone deployment mode (configurable bind address, reverse proxy friendly, no host networking)

lareethSuggested this wish Β·

Hi, thanks for Tessera, it looks great and I'd really like to use it.

I run Home Assistant in two setups, and the current Docker instructions don't fit either of them:

  • Distributed Docker: services spread across several machines, with Traefik in Docker provider mode in front
  • Kubernetes: Home Assistant as its own deployment, with Traefik as the ingress controller

In both, HA and everything around it are separate services talking over the network, not containers on the same host. I'd like to request a mode for running Tessera the same way.

What's getting in the way

From the Docker docs and compose file:

  • With SCREEN_DEV: "1" the web UI only listens on 127.0.0.1:8099, and there's no way to change it.
  • If you do reach it from another address, the page tells you to open it through Home Assistant, so putting it behind a reverse proxy doesn't work either.
  • The suggested ways in are hass_ingress, an SSH tunnel, or sharing Home Assistant's network namespace (network_mode: host or network_mode: "service:homeassistant"). All of these assume Tessera and HA are on the same machine.
  • In my distributed Docker setup, HA isn't on the same host, so none of these work. In Kubernetes, host networking and sharing a network namespace between pods go against how things should be deployed.
  • The only documented way to run outside the Supervisor is a flag called SCREEN_DEV, which reads like a development mode rather than something meant for real deployments.

I understand why the default is locked down, since the UI has no login of its own. I'm not asking to change the default. I'd just like to be able to opt out and handle access myself.

Comparison with ESPHome Device Builder

I already run the ESPHome Device Builder in both setups with no issues. It runs as a normal standalone container, listens on a normal address, and leaves securing it up to me. I put it behind Traefik with auth, the same as other apps without their own login.

It also doesn't register devices in Home Assistant automatically. You add each device through the ESPHome integration yourself. That's actually what I'd prefer for Tessera too, so I don't need the auto registration, and dropping it in standalone mode should remove the need for Tessera to be so tightly tied to HA.

What I'm asking for

Something along these lines (names are only suggestions):

  1. A supported standalone mode, separate from SCREEN_DEV. I give it HA_API and a token and it works over the network.
  2. A configurable listen address, e.g. SCREEN_BIND=0.0.0.0, with 127.0.0.1 remaining the default.
  3. An option to turn off the "open through Home Assistant" check, so it works behind a reverse proxy.
  4. Support for HA_API pointing at a remote HA over HTTPS with a proper certificate (e.g. https://ha.example.com/api). Ideally there would also be an option to supply a custom CA bundle.
  5. Automatic registration in HA made optional, or simply off in standalone mode. Adding screens by hand, as with the manual pairing flow, is fine and matches how ESPHome Device Builder works.
  6. Confirmation that the camera image server (port 8098) and SCREEN_CAMERA_URL work when the screens reach Tessera through a separate address, such as a LoadBalancer or a Traefik route, rather than the Docker host's IP.
  7. Optionally, a short note in the docs saying these setups are possible but unsupported, with a warning that the user is responsible for securing them.

Thanks!

Discussion 0

Add a comment

Start the conversation

Share an example, ask a question or explain how you would use this.

Add your thoughts, a screenshot or a useful link.

Markdown & basic HTML
Paste or drop images Β· URLs on their own line become previews0 / 10,000
Create your account to join in

We need a verified email address to reach you about your contribution. Your address stays private.

Continue with GitHub

Your draft stays in this tab. Return here after verification.