A simple card to monitor HAOS with system monitor
Made with custom:apexcharts-card, custom:plotly-graph
type: custom:stack-in-card
mode: vertical
cards:
- type: custom:button-card
name: HAOS
label: null
template: card_title
- type: custom:stack-in-card
mode: vertical
card_mod:
style: |
ha-card {
border: none;
}
cards:
- type: custom:stack-in-card
card_mod:
style: |
ha-card {
border: none;
font-weight: 500;
margin: 0px;
height: 130px;
}
mode: horizontal
cards:
- type: custom:stack-in-card
cards:
- type: custom:apexcharts-card
chart_type: radialBar
series:
- entity: sensor.system_monitor_utilisation_du_processeur
color: rgb(76, 175, 80)
max: 100
show:
legend_value: false
apex_config:
plotOptions:
radialBar:
offsetY: 0
startAngle: -108
endAngle: 108
hollow:
size: 70%
dataLabels:
name:
show: false
value:
show: false
track:
strokeWidth: 80%
margin: 0
legend:
show: false
chart:
height: 140px
card_mod:
style: |
ha-card {
border: none;
}
- type: custom:mushroom-entity-card
entity: sensor.system_monitor_utilisation_du_processeur
primary_info: name
secondary_info: state
name: CPU
icon_color: green
layout: vertical
card_mod:
style: |
ha-card {
top: -63px;
border: none;
}
card_mod:
style: |
ha-card {
border: none;
}
- type: custom:stack-in-card
cards:
- type: custom:apexcharts-card
chart_type: radialBar
series:
- entity: sensor.system_monitor_utilisation_de_la_memoire
color: rgb(33, 150, 243)
max: 100
show:
legend_value: false
apex_config:
plotOptions:
radialBar:
offsetY: 0
startAngle: -108
endAngle: 108
hollow:
size: 70%
dataLabels:
name:
show: false
value:
show: false
track:
strokeWidth: 80%
margin: 0
legend:
show: false
chart:
height: 140px
card_mod:
style: |
ha-card {
border: none;
}
- type: custom:mushroom-entity-card
entity: sensor.system_monitor_utilisation_de_la_memoire
primary_info: name
secondary_info: state
name: Mémoire
icon_color: blue
layout: vertical
card_mod:
style: |
ha-card {
top: -63px;
border: none;
}
card_mod:
style: |
ha-card {
border: none;
}
- type: custom:stack-in-card
cards:
- type: custom:apexcharts-card
chart_type: radialBar
series:
- entity: sensor.system_monitor_utilisation_du_disque
color: rgb(255, 87, 34)
max: 100
show:
legend_value: false
apex_config:
plotOptions:
radialBar:
offsetY: 0
startAngle: -108
endAngle: 108
hollow:
size: 70%
dataLabels:
name:
show: false
value:
show: false
track:
strokeWidth: 80%
margin: 0
legend:
show: false
chart:
height: 140px
card_mod:
style: |
ha-card {
border: none;
}
- type: custom:mushroom-entity-card
entity: sensor.system_monitor_utilisation_du_disque
primary_info: name
secondary_info: state
name: Disque
icon_color: deep-orange
layout: vertical
card_mod:
style: |
ha-card {
top: -63px;
border: none;
}
card_mod:
style: |
ha-card {
border: none;
}
- type: custom:plotly-graph
entities:
- entity: sensor.system_monitor_utilisation_du_processeur
name: CPU
yaxes: y1
show_value: true
line:
color: rgb(76, 175, 80)
showlegend: false
- entity: sensor.system_monitor_memoire_utilisee
name: Mémoire
filters:
- map_y_numbers: y/1000
unit_of_measurement: GB
yaxes: y2
show_value: true
line:
color: rgb(33, 150, 243)
showlegend: false
- entity: sensor.system_monitor_espace_libre
name: Disque
unit_of_measurement: free
yaxes: y3
show_value: true
line:
color: rgb(255, 87, 34)
showlegend: false
hours_to_show: 24
refresh_interval: 10
defaults:
yaxes:
fixedrange: true
autorange: true
side: left
overlaying: "y"
visible: true
showgrid: true
layout:
margin:
r: 75
plot_bgcolor: white
dragmode: pan
showlegend: true
height: 300
grid:
columns: 1
rows: 3
ygap: 0.2
pattern: coupled
roworder: top to bottom
shared_xaxes: true
yaxis:
title: CPU %
gridcolor: whitesmoke
minallowed: 0
maxallowed: 100
rangemode: tozero
yaxis2:
title: Mémoire GB
visible: true
side: left
gridcolor: whitesmoke
zeroline: false
rangemode: tozero
minallowed: 0
maxallowed: >-
{{ ( states('sensor.system_monitor_memoire_utilisee') | float +
states('sensor.system_monitor_memoire_libre') | float ) / 1000 }}
yaxis3:
title: Disque GB
visible: true
side: left
gridcolor: whitesmoke
zeroline: false
rangemode: tozero
card_mod:
style: |
ha-card {
border: none;
}



