Skip to content

Log the readings a warm-up step used and why the warm-up ended - #1104

Merged
thusser merged 1 commit into
developfrom
feat/warmup-log-reason
Nov 25, 2026
Merged

thusser merged 1 commit into
developfrom
feat/warmup-log-reason

Conversation

@thusser

@thusser thusser commented Nov 25, 2026

Copy link
Copy Markdown
Member

On iag50cam the progress line showed 5 % power at 14:52 while the step had read 0 %, because the log read the hardware again after the step.

  • The progress line shows the sensor and power the last step was planned with, no extra hardware reads.
  • The done line says why the warm-up ended: cooler idle at setpoint 5.7 °C, sensor 0.2 °C, power 0 % or setpoint at 20.0 °C.
  • RampStep has a new field idle (default False, so existing callers in pyobs-asi/pyobs-qhyccd are unaffected).

Tests: cooling tests pass, full suite without integration/xmpp 2782 passed. ruff, black, pyrefly clean.

🤖 Generated with Claude Code

The progress line on close showed sensor and power read again after the step,
which could differ from the reading the step was planned with. It now shows
the reading the step used. The done line says whether the setpoint reached the
off temperature or the cooler was idle, with the readings. RampStep gains an
idle field.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@thusser
thusser merged commit 47c47b3 into develop Nov 25, 2026
4 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