Skip to content
Proyek

Tentang

Integrasi khusus Proxmox VE untuk Home Assistant

Proyek lainnya

Cara angka ini diukur

1,004 bintang86 Fork +1 dalam 24 jam

Pertumbuhan bintang terukur

dalam 24 jam
+1
dalam 7 hari
+3
dalam 15 hari
+8
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Proxmox VE Custom Integration for Home Assistant

Proxmox VE is an open-source server virtualization environment. This integration reads its state into Home Assistant and lets you act on it — for a single node as much as for a cluster.

It began as @dougiteixeira's custom integration, built on the Home Assistant core integration and grown well beyond it; it can run alongside the core one (what differs). Everything goes through the Proxmox API with the credentials you give it — nothing is installed on the nodes, except PVE-mods if you want hardware temperatures.

What you get

  • Cluster — nodes online, guests running, CPU and memory across the cluster; HA status, backup coverage and Ceph health with the optional cluster credentials; shared storage as one device.
  • Nodes — status, CPU, memory, swap, disk, IO delay, load average, version; package updates as a Home Assistant update entity; last backup and failed tasks; replication, subscription and certificate expiry; hardware temperatures, fans and voltages via PVE-mods; physical disks with SMART; ZFS pools.
  • Virtual machines and containers — status with QEMU's finer run states, CPU (own and as a share of the host), memory, disk from the guest agent, network, uptime, a file read from inside the guest.
  • Storage — capacity and the active/enabled/shared flags, per node for local storage and once for shared.
  • Actions — start, stop, shutdown, reboot, suspend, resume, hibernate, reset, unlock, snapshot and backup buttons; bulk start/stop/suspend/backup per node; Wake on LAN; arm/disarm HA; and a proxmoxve_custom.backup action with all of vzdump's options.
  • Behaviour — optional automatic discovery of everything the credentials can see, failover to another cluster node when the configured one goes down, no re-authentication after a node was off overnight, repairs that name the missing privilege, and buttons only where the privilege exists.

Many entities are created disabled by default — the buttons that change things, and sensors most setups never need — and are enabled per entity, see Disabled entities.

Documentation

Updating the domain from proxmoxve to proxmoxve_custom

[!TIP] The migration steps below apply only if you already have the integration configured with a version earlier than 6.0.0 and wish to retain your existing configuration, including entity names, IDs, and customizations. Alternatively, you may uninstall and reinstall the integration and set up a new configuration entry. Please note that doing so will remove all current devices, entities, and customizations.

The integration was originally created using the proxmoxve domain—the same one used by the official integration—which means both cannot be used simultaneously.

Version 6.0.0b0 introduces an automatic domain migration, ensuring that your existing configuration entries, devices, and entities are preserved.

Please follow the instructions provided in the 6.0.0b0 release notes to perform the update. This update must be carried out manually due to Marketplace restrictions.

Install

Installation via the Marketplace

HACS is built into Home Assistant as the Marketplace. Use this button to find Proxmox VE Custom, or search for it manually in Settings > Marketplace, then install it.

Open your Home Assistant instance and browse the Marketplace.

If the integration is not listed, add it as a custom repository using this button:

Open your Home Assistant instance and open a repository in the Marketplace.

The Marketplace asks before it adds the repository, and it needs a connected GitHub account for it. Without the button: Settings > Marketplace > Custom repositories, add https://github.com/dougiteixeira/proxmoxve as type Integration.

Then install Proxmox VE Custom.

An installation from HACS moves to the Marketplace by itself when Home Assistant is updated to 2026.11.

Manual installation

Configuration

Adding Proxmox VE to your Home Assistant instance can be done via the UI using this button:

image

Host is the node's name or address only, such as pve.example.com or 192.0.2.10 — no https://, no path; the form refuses a URL. Port is 8006, or the proxy's port (usually 443) behind a reverse proxy (troubleshooting).

Tip: It is recommended to use token-based authentication for greater integration stability.

In your Home Assistant configuration, enter the token's name — the part after the ! in what Proxmox shows as Token ID, e.g. homeassistant from homeassistant@pve!homeassistant — in the Token name field, and the secret token value in the password field. Pasting the full user@realm!name works too; the user and realm are taken from their own fields.

Note: To use user-based authentication only, you must leave the Token name field empty in the configuration flow.

Important: It is important to correctly define the user's realm. The field offers pam (Linux users) and pve (users created in Proxmox) as a pick-list; for an LDAP, Active Directory or OpenID realm, type its name into the same field.

You can check this in Proxmox under Datacenter > Permissions > Users > Realm column

If the button doesn't work, add it by hand: Settings → Devices & Services → Add integration → search for Proxmox VE and follow the on-screen instructions.

Options

Everything beyond the credentials lives in the integration options (Settings → Devices & services → Proxmox VE → Configure), split into the selection and an Advanced configuration page:

  • Add or remove nodes, VMs, containers or storages — what is tracked. Shared storage is listed once, marked (shared).
  • Monitor physical disks — the per-disk devices with SMART, temperature and wearout. Reading SMART wakes sleeping disks, which is why it can be switched off.
  • Polling interval — 30, 45, 60, 90 or 120 seconds for nodes, guests, storage and backups; certificates, subscriptions and Ceph stay hourly, failed tasks at five minutes.
  • Monitor package updates — the update entity; off means no Sys.Modify needed.
  • Monitor failed tasks — the failed task sensors.
  • Track everything automatically — discovery: follow the cluster instead of a fixed selection.
  • Guest file path to monitor — the guest file content sensor.
  • Backup storage for the backup buttons — the backup buttons exist only while this is set.
  • Entity id scheme — standard (Home Assistant's device then name) or extended (pve_<kind>_<id>_<name>_<item>, with the prefix of your choice); chosen at setup, existing ids never change (details).
  • Optional: cluster HA administration — a second set of credentials for the cluster-wide features.

Permissions

The credentials need VM.Audit, Sys.Audit and Datastore.Audit on what you track to read — plus VM.GuestAgent.Audit for a VM's disk usage from inside the guest — and more to act — VM.PowerMgmt for a guest's power buttons, Sys.PowerMgmt for a node's, VM.Snapshot, VM.Backup, Sys.Modify for package updates. Buttons exist only where the privilege is held, and a repair names what is missing. The step-by-step guide for roles, group, user and token — including the one token setting most setups get wrong — is in Proxmox permissions.

Translations

Crowdin

You can help by adding missing translations when you are a native speaker. Or add a complete new language when there is no language file available.

Proxmox VE Custom Integration uses Crowdin to make contributing easy.

Changing or adding to existing language

First register and join the translation project:

Next translate a string:

  • Select the language you want to contribute to from the dashboard.
  • Click Translate All.
  • Find the string you want to edit, missing translation are marked red.
  • Fill in or modify the translation and click Save.
  • Repeat for other translations.

Adding a new language

Create an Issue requesting a new language. We will do the necessary work to add the new translation to the integration and Crowdin site, when it's ready for you to contribute we'll comment on the issue you raised.

← README · Entities · Actions · Hardware sensors · Permissions · Behaviour · Troubleshooting · Compared with core

Jelajahi proyek terkait

Memuat…