Skip to content

Add auxiliary temperature sensor support (hwmon, storcli, nvidia-smi)… - #52

Open
protheus313 wants to merge 1 commit into
ck9393:mainfrom
protheus313:main
Open

Add auxiliary temperature sensor support (hwmon, storcli, nvidia-smi)…#52
protheus313 wants to merge 1 commit into
ck9393:mainfrom
protheus313:main

Conversation

@protheus313

@protheus313 protheus313 commented Mar 28, 2026

Copy link
Copy Markdown

Add a third temperature source type ("Aux") alongside existing Disk and CPU monitoring. This allows fans to be controlled based on any system temperature sensor — ethernet cards, chipset/PCH, VRM, LSI RAID controllers, NVIDIA GPUs, or any other hwmon sensor not covered by CPU/disk detection.

Key changes:

  • New detect_aux_sensors() discovers non-CPU, non-NVMe hwmon sensors, plus LSI controller temps via storcli and NVIDIA GPU temps via nvidia-smi
  • UI: "Auxiliary Sensor Settings" with multi-select checklist dropdown (matching the Include Disks pattern) and temperature range inputs
  • Daemon: iterates all selected aux sensors, uses highest temp for PWM
  • Supports three sensor backends: sysfs hwmon, storcli, nvidia-smi
  • Final PWM = max(disk_pwm, cpu_pwm, aux_pwm)
  • Chart: green aux dataset line with full live crosshair support
  • Fully backward compatible — existing configs without aux fields work unchanged
Screenshot 2026-03-28 at 20 56 38 Screenshot 2026-03-28 at 21 00 23

…#1)

* Add auxiliary temperature sensor support (hwmon, storcli, nvidia-smi)

Add a third temperature source type ("Aux") alongside existing Disk and CPU
monitoring. This allows fans to be controlled based on any system temperature
sensor — ethernet cards, chipset/PCH, VRM, LSI RAID controllers, NVIDIA GPUs,
or any other hwmon sensor not covered by CPU/disk detection.

Key changes:
- New detect_aux_sensors() discovers non-CPU, non-NVMe hwmon sensors, plus
  LSI controller temps via storcli and NVIDIA GPU temps via nvidia-smi
- UI: "Auxiliary Sensor Settings" with multi-select checklist dropdown
  (matching the Include Disks pattern) and temperature range inputs
- Daemon: iterates all selected aux sensors, uses highest temp for PWM
- Supports three sensor backends: sysfs hwmon, storcli, nvidia-smi
- Final PWM = max(disk_pwm, cpu_pwm, aux_pwm)
- Chart: green aux dataset line with full live crosshair support
- Fully backward compatible — existing configs without aux fields work unchanged
@mistaboom

Copy link
Copy Markdown

I literally came to this repository to write this feature myself. Thanks for not making me do it! Excellent work!

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.

2 participants