Skip to content

mixer gui: deadline misses and AUX drops of the last ten minutes - #43

Merged
jpietek merged 1 commit into
developfrom
mixer/delivery-last-10-min
Oct 9, 2026
Merged

jpietek merged 1 commit into
developfrom
mixer/delivery-last-10-min

Conversation

@jpietek

@jpietek jpietek commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

What

The control page showed deadline misses and AUX output drops as totals since the mixer started. The misses of a start, or of one disturbance hours ago, stayed on screen for good and said nothing about now.

The web server now samples the totals every five seconds and reports how far they rose in the last ten minutes (state.recent). The page shows that figure, and says how much of the window the samples cover until it is full.

  • Kept on the server, so it holds across page reloads and with no page open.
  • A mixer that starts again counts from zero, and all of that is recent.
  • A server without the sampler leaves the page its totals.

Tests

  • tests/mixer/test_webui.py: the window, a restarted mixer, an absent mixer, the page's sums, the state field.
  • tests/mixer/check_meters.cjs (Playwright): the labels and values with and without state.recent.

🤖 Generated with Claude Code

The control page showed both as totals since the mixer started, so the
misses of a start, or of one disturbance hours ago, stayed on screen for
good and said nothing about now.

The web server samples the totals every five seconds and reports how far
they rose in the last ten minutes (state.recent); the page shows that, and
says how much of the window the samples cover until it is full. A mixer that
starts again counts from zero, and all of that is recent. A server without
the sampler leaves the page its totals.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jpietek
jpietek merged commit 321a7d4 into develop Oct 9, 2026
2 of 5 checks passed
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