Skip to content

feat: Add a system info screen, with the details of each speaker - #173

Merged
abusch merged 1 commit into
mainfrom
system-info
Oct 16, 2026
Merged

abusch merged 1 commit into
mainfrom
system-info

Conversation

@abusch

@abusch abusch commented Oct 16, 2026

Copy link
Copy Markdown
Owner

Adds a fullscreen system info screen, opened with i, for troubleshooting.

It shows the household ID and the number of speakers and groups, then for each speaker:

  • its group, whether it coordinates it, and the group's playback state (playing, paused, idle or buffering)
  • its volume, IP address and ID
  • its software and API versions, and whether it is registered (in red when it isn't)
  • its capabilities, with the Sonos API's names, wrapped to fit
  • each of its devices: model name and code, serial number, hardware and software versions, Sonos generation and colour, plus the ID and address of devices other than the main one (e.g. a sub)

↑↓/jk scroll, PGUP/PGDN scroll by a page, HOME/END jump to either end, and ESC, i or q close it. It doesn't scroll past the last line, and shows a scrollbar when it doesn't all fit.

To get there, HouseholdState now keeps the household ID and a shared copy of the topology, and Playback keeps the playback state. The labels use a new label theme colour (cyan, or the theme's secondary accent), to stand out from their values. serde_json is a new dev-dependency, to build a speaker in the tests.

Tried read-only against a real household of five speakers, including a home theatre.

🤖 Generated with Claude Code

Press i to open it. It shows the household, and for each speaker its group,
playback state, volume, address, ID, versions, registration and capabilities,
then the model, serial number and versions of each of its devices. It is meant
for troubleshooting.

Its labels use a new label colour, to stand out from their values.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@abusch
abusch merged commit 44856e4 into main Oct 16, 2026
1 check passed
@abusch
abusch deleted the system-info branch October 16, 2026 06:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant