Feat: Add support for Raspberry Pi RP1 ADC temperature sensor (Fixes #745)

- Added 'rp1_adc' to the list of recognized CPU temperature chips
This commit is contained in:
courtmanr@gmail.com 2025-11-23 22:33:16 +00:00
parent af7eabb56d
commit 68ffa1bc0b

View file

@ -476,6 +476,7 @@ func (tc *TemperatureCollector) parseSensorsJSON(jsonStr string) (*models.Temper
strings.Contains(chipLower, "w83627") || // Winbond W83627 SuperIO series
strings.Contains(chipLower, "f71882") || // Fintek F71882 SuperIO
strings.Contains(chipLower, "cpu_thermal") || // Raspberry Pi CPU temperature
strings.Contains(chipLower, "rp1_adc") || // Raspberry Pi RP1 ADC
strings.Contains(chipLower, "rpitemp") {
foundCPUChip = true
log.Debug().