mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-05-01 11:56:21 +00:00
Update flask_server.py
This commit is contained in:
@@ -5756,17 +5756,10 @@ def get_hardware_info():
|
|||||||
'unit': 'RPM',
|
'unit': 'RPM',
|
||||||
'adapter': current_adapter
|
'adapter': current_adapter
|
||||||
})
|
})
|
||||||
# print(f"[v0] Fan sensor: {identified_name} ({sensor_name}) = {fan_speed} RPM")
|
|
||||||
pass
|
|
||||||
|
|
||||||
hardware_data['sensors']['fans'] = fans
|
hardware_data['sensors']['fans'] = fans
|
||||||
# print(f"[v0] Found {len(fans)} fan sensor(s)")
|
|
||||||
pass
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
# print(f"[v0] Error getting fan info: {e}")
|
# print(f"[v0] Error getting fan sensors: {e}")
|
||||||
pass
|
|
||||||
except Exception as e:
|
|
||||||
# print(f"[v0] Error getting psutil sensors: {e}")
|
|
||||||
pass
|
pass
|
||||||
|
|
||||||
# Power Supply / UPS
|
# Power Supply / UPS
|
||||||
|
|||||||
Reference in New Issue
Block a user