1
0
Fork 0

Modified CPU-temperature detection for better working on systems with...

... external Temp-sensors...
main
Kim Huebel 3 years ago
parent 204c2ab507
commit 9325017ff9

@ -1 +1 @@
var dashboard_version = "2021-04-26 15:10:01";
var dashboard_version = "2021-04-26 21:09:52";

@ -279,7 +279,8 @@ async def view_log(websocket, path):
cpu_temp = "N/A"
for name, entries in temps.items():
for entry in entries:
cpu_temp = str(entry.current)
if entry.label or name == "cpu_thermal":
cpu_temp = str(entry.current)
cpufrqs = psutil.cpu_freq()
cpufrq = "N/A"
if cpufrqs:

Loading…
Cancel
Save