Skip to content

Show leak rates immediately and add independent long term measurements - #4

Merged
SebRoLENS merged 1 commit into
mainfrom
fix/leak-moving-average-long-term
Oct 5, 2026
Merged

SebRoLENS merged 1 commit into
mainfrom
fix/leak-moving-average-long-term

Conversation

@SebRoLENS

Copy link
Copy Markdown
Owner

Pressure-loss rates and warnings previously stayed hidden for three minutes. Both sample and cylinder now show estimates from the first two valid readings, using a time-weighted five-minute moving average (available history during startup).

Each side also has an independent “Measure long term leak” button and adjacent Reset button. Manual long term readings use a two-hour moving average, show the available window duration, and reset only the selected side. Start these measurements with a stable system; existing MEASURE/steady CONTROL eligibility is retained. Disconnecting clears manual measurements. Green confirmation remains based on uninterrupted monitoring time.

Updated English/Italian labels, documentation and changelog. The frozen legacy controller is unchanged.

Validation: 34 cross-platform tests and 7 repository checks passed; visually checked the real offscreen GUI with both long term measurements active. Includes tests for early UI output, rolling-window interpolation, irregular sample timing, independent resets, two-hour expiry and connection/mode resets.

@SebRoLENS
SebRoLENS marked this pull request as ready for review October 5, 2026 09:03
@SebRoLENS
SebRoLENS merged commit 762d169 into main Oct 5, 2026
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