This commit is contained in:
Meliox 2026-08-17 20:17:48 +02:00
parent cee8d04e36
commit 4eb3608e85
2 changed files with 3 additions and 2 deletions

View File

@ -98,6 +98,7 @@ sub _get_temperature_sensors {
hdd => $config{lm_sensors}{enable_hdd_temp} ? \1 : \0, hdd => $config{lm_sensors}{enable_hdd_temp} ? \1 : \0,
other => $config{lm_sensors}{enable_other_temp} ? \1 : \0, other => $config{lm_sensors}{enable_other_temp} ? \1 : \0,
temp_unit => $config{lm_sensors}{temp_unit}, temp_unit => $config{lm_sensors}{temp_unit},
cpu_temp_target => $config{lm_sensors}{cpu_temp_target},
data => { 'PVE MOD lm-sensors Enhanced' => $sensors_json }, data => { 'PVE MOD lm-sensors Enhanced' => $sensors_json },
}); });

View File

@ -229,8 +229,8 @@ Ext.define('PVE.node.StatusView', {
const cpuKeysA = Object.keys(objValue).filter(item => String(item).startsWith('k10temp-pci-')).sort(); const cpuKeysA = Object.keys(objValue).filter(item => String(item).startsWith('k10temp-pci-')).sort();
const cpuKeysRpi = Object.keys(objValue).filter(item => String(item).startsWith('cpu_thermal-virtual-')).sort(); const cpuKeysRpi = Object.keys(objValue).filter(item => String(item).startsWith('cpu_thermal-virtual-')).sort();
const bINTEL = cpuKeysI.length > 0 ? true : false; const bINTEL = cpuKeysI.length > 0 ? true : false;
const INTELPackagePrefix = 'Core' == 'Core' ? 'Core ' : 'Package id'; const INTELPackagePrefix = value.cpu_temp_target == 'Core' ? 'Core ' : 'Package id';
const INTELPackageCaption = 'Core' == 'Core' ? 'Core' : 'Package'; const INTELPackageCaption = value.cpu_temp_target == 'Core' ? 'Core' : 'Package';
let AMDPackagePrefix = 'Tccd'; let AMDPackagePrefix = 'Tccd';
let AMDPackageCaption = 'CCD'; let AMDPackageCaption = 'CCD';