Repository navigation
feat: temperature card plots CPU and system as two lines (0.1.40-beta4) - #203
Merged
Merged
Conversation
selectTemperature now splits the kept (filtered) sensor set into CPU vs non-CPU: cpuC = hottest CPU_CORE/CPU_PACKAGE sensor (null if none), systemC = mean of the kept non-CPU sensors (null if none). The beta3 filter rule and MIN/MAX_PLAUSIBLE_C band are unchanged; an empty kept set still yields Temperature.UNKNOWN. The Temperature model drops average/hottest/count fields for cpuC/systemC/unit + cpuStatus (the chosen CPU sensor's health), which drives the card accent so a system-only box never escalates. Sparkline gains an optional second series drawn on the primary's shared value scale so the two lines are directly comparable; a null second series keeps the single-line math byte-for-byte unchanged, leaving the CPU/Mem/Network cards untouched. The Overview temperature card maintains two rolling buffers (CPU + System), headlines the CPU temp, and labels both sides in the subtitle. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…Code 110) Amends ADR-0043 with the beta4 CPU vs system split (CPU = hottest CPU-typed sensor, System = mean of non-CPU), adds the CHANGELOG entry, and bumps versionName 0.1.40-beta3 -> 0.1.40-beta4 / versionCode 109 -> 110. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Maintainer feedback on beta3 was that the single ~41° average read like a system temp and buried the CPU. This splits the filtered sensors into CPU (hottest CPU-typed sensor) and System (mean of non-CPU temps) and plots both as two sparkline lines.
The dual-series StatCard/Sparkline are added as optional params, so the CPU/Mem/Network cards are unchanged. Builds on the 0.1.40 cycle (beta3 sensor filter).
🤖 Generated with Claude Code