mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-12-15 00:26:23 +00:00
Update flask_server.py
This commit is contained in:
@@ -2597,7 +2597,7 @@ def identify_temperature_sensor(sensor_name, adapter, chip_name=None):
|
||||
core_num = re.search(r'(\d+)', sensor_name)
|
||||
return f"CPU Core {core_num.group(1)}" if core_num else "CPU Core"
|
||||
|
||||
# DDR5 Memory temperature sensors (SPD5118)
|
||||
# <CHANGE> DDR5 Memory temperature sensors (SPD5118)
|
||||
if "spd5118" in chip_lower or ("smbus" in adapter_lower and "temp1" in sensor_lower):
|
||||
# Try to identify which DIMM slot
|
||||
# Example: spd5118-i2c-0-50 -> i2c bus 0, address 0x50 (DIMM A1)
|
||||
|
||||
Reference in New Issue
Block a user