Proxmox Monitoring & Control mit Home Assistant

Hypervisor Monitoring ? Mit Home Assistant lässt sich komfortabel der Status von Proxmox Nodes , VMs und LXC Containern überwachen und sogar steuern. Eine VM fällt aus, kann mit der Hausautomatisierungslösung Home Assistant schnell eine Nachricht geschickt werden oder ein Prozess angestoßen werden um das betroffene System wieder automatisch zu starten. So lassen sich einfach die Zustände der angebundenen Speichergeräte, CPU und RAM Auslastung erfassen. Du fragst dich wie das funktioniert ? Dann schau dieses Video 🙂

Orbsmart AW-13 aus dem Video*:

Orbsmart AW-13 4K Mini-PC Windows 11 Pro Desktop PC | Computer | lüfterlos | lautlos (Intel N5100 CPU, 16GB RAM, 256GB int. Speicher, 2.5″ Festplattenschacht, HDMI 2.0), schwarz
  • Leistungsstarker & lüfterloser 4K Mini-PC auf Windows 11 Pro Basis inklusive 2.5″ Festplattenschacht – flexibel einsetzbar als stromsparender Büro-PC, Medienzentrale, Streaming-Client etc.
  • Vollwertiges Windows 11 Professional vorinstalliert / Auflösung bis zu 4K ULTRA HD (2160p@60Hz) möglich
  • Aktuelle Intel Chip-Generation “Jasper Lake”: Quad-Core CPU N5100 (Burst freq: 2.80 GHz) / 16GB DDR4-RAM / 256GB int. Speicher / Autostart-Funktion (direktes Hochfahren nach Stromzufuhr), WOL + PXE + RTC-Support
  • Dank HTML5 & Silverlight Support volle Kompatibilität zu allen IPTV Streaming Inhalte (Youtube, Netflix, Prime Video, Disney+, Skygo, Magenta TV & Co.) – Webrowsing wie an jedem Windows PC
  • Dualband WLAN-AC + Bluetooth 4.2 / HDMI 2.0, Displayport 1.2, VGA / Gigabit-LAN / 2x USB 3.1 (Gen1) + 1x USB 3.1 Typ-C (Gen1), 2x USB 2.0, 1x 3.5mm Audio / microSD-Slot (max. 512GB) / Kensington Lock / TV-Halterung (VESA 75×75 / 100×100) inklusive

Für mein Hauptsetup verwende ich diese Konfiguration *:

Angebot
MINIS FORUM Venus UM790 Pro Mini-PC AMD Ryzen 9 7940HS, genau 5,2 GHz, 64 GB DDR5 1 bis SSD mit AMD Radeon 780M, 4X USB3.2, 2X USB4, 2X HDMI 2.1, 2X PCIe4.0, Wi-FI 6E /BT5.3, RJ45 2,5 G
  • 【Leistungsstarker Prozessor】 AMD Ryzen 9 7940HS, 8 Kerne/16 Threads (16 MB Cache, bis zu 5,2 GHz Taktfrequenz), gefertigt im 4-Nanometer-Prozess von TSMC, AMD Radeon 780M (Grafikfrequenz 2,8 GHz), ausgestattet mit AMD Ryzen AI-Technologie, die eine effiziente und energieeffiziente Unterstützung für verschiedene KI-Anwendungen bietet, ohne die Leistung von CPU und GPU zu beeinträchtigen.

Befehl zu Installation von HACS im Terminal:

wget -O - https://get.hacs.xyz | bash -

Proxmox VE Custom Integration für Home Assistant: https://github.com/dougiteixeira/proxmoxve

Helfer Proxmox Smarthome VMs (Templatesensor)

{{ expand('binary_sensor.proxmox_smarthome_vms') | selectattr('state', 'eq' , 'off') | list | count }}

Automatisierung Proxmox Smarthome VM ausgefallen:

alias: Proxmox Smarthome VM ausgefallen
description: ""
trigger:
  - platform: numeric_state
    entity_id:
      - sensor.zahler_vms_proxmox
    above: 0
condition: []
action:
  - delay:
      hours: 0
      minutes: 0
      seconds: 30
      milliseconds: 0
  - service: notify.persistent_notification
    data:
      title: Proxmox Smarthome VM ausgefallen
      message: >-
        {{ expand('binary_sensor.proxmox_smarthome_vms') | selectattr('state',
        'eq', 'off')  | map(attribute='name')  | list  | join (', 

        ') }}
  - service: button.press
    data: {}
    target:
      entity_id: button.qemu_win11vm_106_starten
mode: single