Skip to content

feat: temperature card plots CPU and system as two lines (0.1.40-beta4) - #203

Merged
nofuturekid merged 2 commits into
mainfrom
feat/temperature-cpu-system-graph
May 30, 2026
Merged

nofuturekid merged 2 commits into
mainfrom
feat/temperature-cpu-system-graph

Conversation

@nofuturekid

Copy link
Copy Markdown
Owner

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

nofuturekid and others added 2 commits May 30, 2026 13:31
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>
@nofuturekid
nofuturekid merged commit bb80dfe into main May 30, 2026
8 checks passed
@nofuturekid
nofuturekid deleted the feat/temperature-cpu-system-graph branch May 30, 2026 11:44
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