Darf auf keinem Home Assistant fehlen! đŸ”„ System Monitor richtig nutzen

Darf auf keinem Home Assistant fehlen! :fire: System Monitor richtig nutzen

Du willst wissen, ob dein Home Assistant ĂŒberlastet ist oder warum er plötzlich langsam reagiert? In diesem Video zeige ich dir den System Monitor – ein echtes Must-Have fĂŒr jede Installation! :flexed_biceps:

Wir schauen uns gemeinsam an, wie du ihn einfach ĂŒber die GUI installierst, alle wichtigen EntitĂ€ten im Blick behĂ€ltst und sogar Automationen erstellst, um bei auffĂ€lligen Werten benachrichtigt zu werden – ganz ohne YAML! :heart_eyes:

Außerdem: Warum der System Monitor deutlich mehr zeigt als die Standardauslastung und dir sogar bei der Fehlersuche hilft! :magnifying_glass_tilted_left:

6 „GefĂ€llt mir“

Habe ich schon eine ganze Weile laufen. Kann aber nicht schaden das Thema mal aufzugreifen.

1 „GefĂ€llt mir“

yo, lĂ€uft bei mir auch schon seit lĂ€ngerem. inkl. Memory und Swap Überwachung, die einen Neustart im Falle von sehr hoher Auslastung ĂŒber mehrere Stunden fĂŒhrt, natĂŒrlich mit Benachrichtigung vorher und auch nur zu bestimmten Tageszeiten.

3 „GefĂ€llt mir“

Sehr nĂŒtzliche Integration, habe ich auch seit Beginn von HA in Benutzung und gefĂ€llt mir richtig gut, weil man halt wirklich mehr Informationen erhĂ€lt, wie mit dem Standard in HA und man kann sich sein eigenes Dashboard anlegen.

5 „GefĂ€llt mir“

Habe ich auch schon lÀnger im Einsatz
(natĂŒrlich noch mit custom:bar-card :zany_face:)

2 „GefĂ€llt mir“

Du musst es natĂŒrlich wie immer gleich mit dem sehr schön gelungenem Dashboard ĂŒbertreiben :joy:

5 „GefĂ€llt mir“

Kennst mich doch, Optik ist mir halt immer wichtig. :sweat_smile:

5 „GefĂ€llt mir“

Bar Cards sind eine gute Idee, auch wenn sie ein bisschen mehr Platz einnehmen.
=> Werde bei mir wohl die Darstellung der meisten numerischen Werte mit der entity-progress-card :wink: ersetzen

2 „GefĂ€llt mir“

ist gerade erledigt und ist jetzt (grob) angelegt mit custom:entity-progress-card :v:

3 „GefĂ€llt mir“

Ich glaube du solltest solangsam deine Board hier nach und nach StĂŒck fĂŒr StĂŒck erklĂ€ren zum bessern nachbauen.. :zany_face:

Ne im ernst super Arbeit von dir immer
 Weiter so

5 „GefĂ€llt mir“

Hi, hier mal nur der Codeausschnitt fĂŒr mein Dashboard zum System Monitor.
Ihr findet ansonsten die Codes auch immer bei mir im github. :slight_smile:
https://github.com/jayjojayson/HA_homedashboard/blob/main/Unterseiten/1%20Einstellungen/raspi-gerate-zigbee-homematic-tabbed-card.yaml

type: custom:stack-in-card
card_mod:
  style: |
    ha-card {
      padding: 25px;
      box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px
                  13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset !important;
      border: none;
    }
cards:
  - type: custom:layout-card
    layout_type: custom:grid-layout
    layout:
      grid-template-columns: 15% 25% 60%
      grid-template-rows: auto
      mediaquery:
        "(max-width: 1000px)":
          grid-template-columns: 100%
          grid-template-rows: auto
    cards:
      - type: vertical-stack
        cards:
          - type: picture-entity
            card_mod:
              style: |
                ha-card {
                  background: none !important;
                  box-shadow: none !important;
                  border: none !important;
                  border-radius: 0px !important;
                }
            camera_view: auto
            image: /api/image/serve/ca4c05698bc1567f27c5460b28284ea7/512x512
            entity: sensor.system_monitor_prozessornutzung
            show_state: false
            show_name: false
          - type: custom:button-card
            card_mod:
              style: |
                ha-card {
                  background: none !important;
                  box-shadow: none !important;
                  border: none !important;
                  border-radius: 0px !important;
                }
            entity: sensor.system_monitor_prozessornutzung
            name: " "
            icon: mdi:cpu-64-bit
            show_state: true
            size: 20%
            styles:
              card:
                - padding: 0px
                - font-size: 20px
              icon:
                - padding-bottom: 5px
                - width: 30px
                - height: 30px
            tap_action:
              action: call-service
              service: input_select.select_option
              service_data:
                entity_id: input_select.diagramm_anzeige
                option: Temperatur
          - type: custom:button-card
            card_mod:
              style: |
                ha-card {
                  background: none !important;
                  box-shadow: none !important;
                  border: none !important;
                  border-radius: 0px !important;
                }
            entity: sensor.system_monitor_arbeitsspeicherauslastung
            name: " "
            icon: mdi:memory
            show_state: true
            size: 20%
            styles:
              card:
                - padding-top: 5px
                - font-size: 20px
              icon:
                - padding-bottom: 5px
                - width: 30px
                - height: 30px
            tap_action:
              action: call-service
              service: input_select.select_option
              service_data:
                entity_id: input_select.diagramm_anzeige
                option: RAM
      - type: vertical-stack
        cards:
          - type: entities
            card_mod:
              style: |
                ha-card {
                  background: none !important;
                  box-shadow: none !important;
                  border: none !important;
                  border-right: 1px solid grey !important;
                  border-left: 1px solid grey !important;
                  border-radius: 0px !important;
                }
            entities:
              - entity: sensor.system_monitor_prozessortemperatur
                name: CPU Temp
              - entity: sensor.system_monitor_belegter_arbeitsspeicher
                name: RAM Belegt
              - entity: sensor.system_monitor_freier_arbeitsspeicher
                name: RAM Frei
              - entity: sensor.system_monitor_belegter_massenspeicher
                name: SSD Belegt
              - entity: sensor.system_monitor_freier_massenspeicher
                name: SSD Frei
              - entity: sensor.system_monitor_letzter_systemstart
                name: Letzter Restart
                icon: mdi:restart
            theme: grey-icon
            state_color: false
            show_header_toggle: true
      - type: vertical-stack
        cards:
          - type: conditional
            conditions:
              - entity: input_select.diagramm_anzeige
                state: Temperatur
            card:
              type: custom:mini-graph-card
              card_mod:
                style: |
                  ha-card {      
                    padding: 20px !important;     
                    background: none !important;
                    box-shadow: none !important;
                    border: none !important;
                    border-radius: 0px !important;
                  }
              entities:
                - entity: sensor.system_monitor_prozessortemperatur
                  name: CPU-Temp
                  show_state: true
                  show_min: true
                  show_max: true
                - entity: sensor.system_monitor_prozessornutzung
                  name: CPU-Auslastung
                  show_state: true
                  show_min: true
                  show_max: true
              hours_to_show: 168
              points_per_hour: 1
              show:
                legend: true
                labels: true
                name: false
                state: true
                icon: false
              color_thresholds:
                - value: 0
                  color: "#1e90ff"
                - value: 50
                  color: "#ffa500"
                - value: 80
                  color: "#ff4500"
              more_info: true
          - type: conditional
            conditions:
              - entity: input_select.diagramm_anzeige
                state: RAM
            card:
              type: custom:mini-graph-card
              card_mod:
                style: |
                  ha-card {     
                    padding: 20px !important;
                    background: none !important;
                    box-shadow: none !important;
                    border: none !important;
                    border-radius: 0px !important;
                  }
              entities:
                - entity: sensor.system_monitor_belegter_arbeitsspeicher
                  name: RAM-Nutzung
                  show_state: true
                  show_min: true
                  show_max: true
                - entity: sensor.system_monitor_arbeitsspeicherauslastung
                  name: RAM-Auslastung
                  show_state: true
                  show_min: true
                  show_max: true
              hours_to_show: 168
              points_per_hour: 1
              show:
                legend: true
                labels: true
                name: false
                state: true
                icon: false
              color_thresholds:
                - value: 800
                  color: "#1e90ff"
                - value: 1500
                  color: "#ffa500"
                - value: 1700
                  color: "#ff4500"
              more_info: true
  - type: custom:mod-card
    card_mod:
      style: |
        ha-card {
            height: 1px;
            border-bottom: 1px;
            background-color: grey !important;
            margin-left: 20px;
            margin-right: 20px;
        }   
  - type: custom:layout-card
    layout_type: custom:grid-layout
    layout:
      grid-template-columns: 50% 50%
      grid-template-rows: auto
      mediaquery:
        "(max-width: 1000px)":
          grid-template-columns: 100%
          grid-template-rows: auto
    cards:
      - type: vertical-stack
        cards:
          - type: custom:mini-graph-card
            card_mod:
              style: |
                ha-card {        
                  padding: 10px !important;
                  background: none !important;
                  box-shadow: none !important;
                  border: none !important;
                  border-right: 1px solid grey !important;
                  border-radius: 0px !important;
                }
            entities:
              - entity: sensor.system_monitor_arbeitsspeicherauslastung
                name: Arbeitsspeicher
                show_state: true
                show_min: true
                show_max: true
            hours_to_show: 168
            points_per_hour: 1
            show:
              legend: true
              extrema: true
              labels: true
              name: false
              state: false
              icon: false
            color_thresholds:
              - value: 20
                color: "#1e90ff"
              - value: 50
                color: "#ffa500"
              - value: 80
                color: "#ff4500"
            more_info: true
      - type: vertical-stack
        cards:
          - type: custom:mini-graph-card
            card_mod:
              style: |
                ha-card {       
                  padding: 10px !important;      
                  background: none !important;
                  box-shadow: none !important;
                  border: none !important;
                  border-radius: 0px !important;
                }
            entities:
              - entity: sensor.system_monitor_prozessornutzung
                name: CPU-Auslastung
                show_state: true
                show_min: true
                show_max: true
            hours_to_show: 168
            points_per_hour: 1
            show:
              legend: true
              extrema: true
              labels: true
              name: false
              state: false
              icon: false
            color_thresholds:
              - value: 0
                color: "#1e90ff"
              - value: 15
                color: "#ffa500"
              - value: 35
                color: "#ff4500"
            more_info: true
2 „GefĂ€llt mir“