0032: An install without a TV
Status: Proposed (my call, 2026-11-18, from the owner's "users with no TV" and "All devices are equal, or should be, except on the stuff like having touch or the fact that tv is direct hdmi")
Context
Every home is equal (ADR 0029 amendment, 0031), but the install still needs a TV: ./couchdogs setup stops when no GPU output is connected, compose always starts screen-tv and the TV shell, and those two fail without a display. A household that only streams to handhelds, phones and laptops (or a server in a cupboard) cannot install at all. The wizard test install already runs the server, runner, web and padd without either service, so the rest works.
Decision
TV=on|off in .env. Setup writes TV=off when no output is connected (asking first, or with ASSUME_YES) and still picks the GPU by its render node, because device screens and the encoder need it. With TV=off, screen-tv and the TV shell are left out through a compose profile that only compose.no-tv.yml sets (setup adds that file to COMPOSE_FILE; a profile in the base file would drop the TV of every install made before TV existed), the runner skips everything that watches the TV (its home, the blank-home watchdog, the TV picture check, "Join the TV"), and padd treats a pad plugged into the host like any other unknown pad: ignored. The household (store, wizard, devices, sign-in code) stays in the runner whatever TV says. Turning a TV on later is ./couchdogs setup again with the TV connected.
Consequences
- Setup without a TV needs no answer about outputs; with one, nothing changes (
TVdefaults toonfor an existing.env). - A host pad does nothing without a TV; using one would need a screen to send it to.
- Code that names the TV must check
TV; tests run both ways.