Proxmoxwerte aud Dash3 hinzugefügt
This commit is contained in:
parent
b426069afb
commit
954c74f130
1 changed files with 5 additions and 5 deletions
10
down.py
10
down.py
|
|
@ -763,7 +763,7 @@ def draw_dashboard_3():
|
|||
)
|
||||
|
||||
draw.text(
|
||||
(200, 185),
|
||||
(170, 185),
|
||||
f"{cpu_load:.0f} %",
|
||||
fill=cpu_color,
|
||||
font=font_small_bold
|
||||
|
|
@ -787,7 +787,7 @@ def draw_dashboard_3():
|
|||
)
|
||||
|
||||
draw.text(
|
||||
(145, 215),
|
||||
(170, 215),
|
||||
f"{ram_load:.0f} % ({ram_used:.1f} / {ram_total:.1f} GB)",
|
||||
fill=ram_color,
|
||||
font=font_small_bold
|
||||
|
|
@ -801,7 +801,7 @@ def draw_dashboard_3():
|
|||
)
|
||||
|
||||
draw.text(
|
||||
(200, 245),
|
||||
(170, 245),
|
||||
f"{cpu_temp:.0f} °C",
|
||||
fill=temp_color,
|
||||
font=font_small_bold
|
||||
|
|
@ -816,13 +816,13 @@ def draw_dashboard_3():
|
|||
|
||||
if server_temp < 25:
|
||||
room_color = "lime"
|
||||
elif server_temp < 30:
|
||||
elif server_temp < 31:
|
||||
room_color = "yellow"
|
||||
else:
|
||||
room_color = "red"
|
||||
|
||||
draw.text(
|
||||
(200, 275),
|
||||
(170, 275),
|
||||
f"{server_temp:.1f} °C",
|
||||
fill=room_color,
|
||||
font=font_small_bold
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue