Commit Graph
3 Commits
Author SHA1 Message Date
franzzandClaude Opus 5 e3b2804aa0 Install into a virtual environment
Raspberry Pi OS refuses pip install into the system Python, so the venv
step is the difference between the README working and not. The systemd
unit points at that interpreter for the same reason.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-14 21:18:13 +02:00
franzzandClaude Opus 5 375bcfdd76 Merge the bridge and a home-screen interface into one app
The HEOS app is unpleasant to use for the four things that actually get
done in this house, so this is those four things on one screen: volume
for the Home 400 and the Living Room pair, joining either to the AVR,
splitting them off again, and picking the AVR's input.

The bridge's logic moves in mostly intact, split into a HEOS client, an
AVR client and a controller, with two grouping bugs fixed on the way:

  * Merging a room into the AVR sent only the pair's leader pid, which
    left the second Home 200 behind. Group targets now expand to every
    member pid, and unmerging re-forms the pair rather than leaving two
    lone speakers. The members are learned while the pair is visible and
    remembered in members.json so a restart can still rebuild it.

  * Volume for the pair used its gid, which stops existing the moment it
    joins the AVR's group. It now falls back to the member players.

Both sockets are kept open rather than reconnecting per command, which
is what made every button press feel slow; the AVR connection doubles as
a listener, so input changes made with the physical remote show up too.

The original query-string endpoints still answer, so anything already
pointed at the bridge keeps working.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-14 21:15:43 +02:00
franzz d9cadb7e64 Initial commit 2026-09-14 20:52:23 +02:00