Proxmoxwerte aud Dash3 hinzugefügt

This commit is contained in:
hubobel 2026-05-31 18:55:09 +02:00
parent b426069afb
commit 954c74f130

10
down.py
View file

@ -763,7 +763,7 @@ def draw_dashboard_3():
) )
draw.text( draw.text(
(200, 185), (170, 185),
f"{cpu_load:.0f} %", f"{cpu_load:.0f} %",
fill=cpu_color, fill=cpu_color,
font=font_small_bold font=font_small_bold
@ -787,7 +787,7 @@ def draw_dashboard_3():
) )
draw.text( draw.text(
(145, 215), (170, 215),
f"{ram_load:.0f} % ({ram_used:.1f} / {ram_total:.1f} GB)", f"{ram_load:.0f} % ({ram_used:.1f} / {ram_total:.1f} GB)",
fill=ram_color, fill=ram_color,
font=font_small_bold font=font_small_bold
@ -801,7 +801,7 @@ def draw_dashboard_3():
) )
draw.text( draw.text(
(200, 245), (170, 245),
f"{cpu_temp:.0f} °C", f"{cpu_temp:.0f} °C",
fill=temp_color, fill=temp_color,
font=font_small_bold font=font_small_bold
@ -816,13 +816,13 @@ def draw_dashboard_3():
if server_temp < 25: if server_temp < 25:
room_color = "lime" room_color = "lime"
elif server_temp < 30: elif server_temp < 31:
room_color = "yellow" room_color = "yellow"
else: else:
room_color = "red" room_color = "red"
draw.text( draw.text(
(200, 275), (170, 275),
f"{server_temp:.1f} °C", f"{server_temp:.1f} °C",
fill=room_color, fill=room_color,
font=font_small_bold font=font_small_bold