Dynamic homelab monitoring with Home Assistant, Proxmox and Uptime Kuma


From a network rack to dynamic homelab monitoring

Home Assistant as a single interface for rack temperature, fan control, Proxmox nodes, containers, VMs, Synology, UPS data and Uptime Kuma — with detailed configuration examples.

TL;DR

Home Assistant brings Proxmox, NAS, UPS, Tasmota and Uptime Kuma data together in one dashboard.

With Auto-Entities, exposed containers and VMs can appear dynamically. Browser Mod can open popups with more detail. Cooling and UPS shutdown must remain safe locally, even if the dashboard fails.

Starting point

My homelab's operational data was scattered across several systems:

  • Proxmox showed resources for hosts and virtual guests.
  • Synology monitored disks and volumes.
  • NUT reported UPS information.
  • Uptime Kuma checked whether services were reachable.
  • A DS18B20 on a Tasmota plug measured the temperature inside the rack and controlled an installed fan.

I wanted one Home Assistant dashboard that could answer the obvious questions at a glance:

Are the servers up? Is the rack too hot? Is the fan running? Which containers are using resources? Are storage, the NAS or the UPS reporting trouble?

I also wanted it to be dynamic. When I expose a new container or VM through the Proxmox integration, it should appear automatically without another round of dashboard YAML editing.

Component Job
Primary and secondary Proxmox nodes Virtual machines and containers
Synology DiskStation NAS and backup storage
APC UPS with NUT Power and UPS status
Tasmota + DS18B20 Rack temperature and fan relay
Uptime Kuma HTTP, TCP and push monitoring
Home Assistant Central dashboard

The entity IDs below come from my own installation. Yours will almost certainly be different.

1. Architecture

Proxmox VE ─── Proxmox-Integration ──┐
Synology DSM ── Synology-Integration ─┤
USV / NUT ──── NUT-Integration ───────┤
Tasmota ────── MQTT ──────────────────┼── Home Assistant / Lovelace
Uptime Kuma ─ Uptime-Kuma-Integration ┘           │
                                                 ├── Netzwerkschrank
                                                 ├── Infrastruktur
                                                 ├── Container & VMs
                                                 └── Uptime Kuma

The separation of responsibilities is important.

Home Assistant displays information, Proxmox manages guests and Uptime Kuma checks services.

The fan logic stays on Tasmota, so losing Home Assistant doesn't also stop cooling.

2. Rack temperature and fan

The Tasmota device has a DS18B20 attached. Home Assistant receives the temperature and relay state over MQTT:

sensor.netzwerkschrank_ds18b20_temperature
switch.netzwerkschrank

Temperature gauge with coloured thresholds

type: gauge
entity: sensor.netzwerkschrank_ds18b20_temperature
name: Schranktemperatur
min: 15
max: 45
needle: true
segments:
  - from: 15
    color: "#48a878"
  - from: 32
    color: "#e8a641"
  - from: 35
    color: "#dc604e"

In my setup, 32°C marks the fan's on threshold and 35°C is the alarm threshold. Those are site-specific values, not universal limits for networking hardware.

Fan status without accidentally switching it

type: tile
entity: switch.netzwerkschrank
name: Lüfter – Tasmota-Relais
icon: mdi:fan
tap_action:
  action: more-info

This tile displays the relay state, not actual fan RPM. To prove that the fan is physically spinning, I'd need an additional measurement.

The detail action also helps prevent an accidental tap from immediately toggling the plug.

Temperature and fan history

type: history-graph
title: Netzwerkschrank – letzte 24 Stunden
entities:
  - entity: sensor.netzwerkschrank_ds18b20_temperature
    name: Temperatur
  - entity: switch.netzwerkschrank
    name: Lüfter-Relais
hours_to_show: 24
refresh_interval: 60

In practice, two separate graphs are often clearer. Temperature and a binary relay state are different kinds of data.

Fan control

My basic hysteresis is:

Temperatur > 32 °C → Lüfter EIN
Temperatur < 29 °C → Lüfter AUS

Tasmota handles the regulation independently of the dashboard.

For adjustable thresholds, persistent Tasmota Mem variables can be used. The precise rule syntax and its interaction with alarm rules should be tested before production use.

3. Proxmox nodes and cluster

My Proxmox integration exposes entities such as:

sensor.node_primary_status
sensor.node_primary_cpu_used
sensor.node_primary_memory_used_percentage
sensor.node_primary_disk_used_percentage
sensor.node_primary_containers_running
sensor.node_primary_virtual_machines_running

sensor.node_secondary_status
sensor.node_secondary_cpu_used
sensor.node_secondary_memory_used_percentage
sensor.node_secondary_disk_used_percentage
sensor.node_secondary_containers_running
sensor.node_secondary_virtual_machines_running

sensor.proxmox_cluster_nodes_online
sensor.proxmox_cluster_containers_running
sensor.proxmox_cluster_virtual_machines_running

A compact resource tile needs little YAML:

type: tile
entity: sensor.node_secondary_cpu_used
name: Sekundär-Node – CPU
icon: mdi:cpu-64-bit

For comparing the two nodes, a history graph works well:

type: history-graph
title: CPU-Auslastung – Proxmox
entities:
  - entity: sensor.node_primary_cpu_used
    name: Primär-Node
  - entity: sensor.node_secondary_cpu_used
    name: Sekundär-Node
hours_to_show: 24

The same approach works for RAM using the primary and secondary memory percentage sensors.

Storage needs a little more thought. Host filesystem usage isn't necessarily the same as the storage pool used for VMs.

Example:

type: entities
title: Proxmox – Storage
entities:
  - entity: sensor.storage_secondary_local_lvm_disk_used_percentage
    name: Sekundär-Node local-lvm
  - entity: sensor.storage_primary_local_lvm_disk_used_percentage
    name: Primär-Node local-lvm

A nearly full local-lvm volume can be a separate problem even if the node's ordinary root filesystem still has space.

4. Why static container cards don't scale

Initially, I gave every LXC container its own detail view. That works, but it's tedious to maintain.

Here's an example for Zigbee2MQTT, CT104:

type: entities
title: Zigbee2MQTT – CT104
entities:
  - sensor.lxc_zigbee2mqtt_104_status
  - sensor.lxc_zigbee2mqtt_104_node
  - sensor.lxc_zigbee2mqtt_104_cpu_used
  - sensor.lxc_zigbee2mqtt_104_memory_used_percentage
  - sensor.lxc_zigbee2mqtt_104_disk_used_percentage

Every new container would need another copy of the card, with all the entity IDs changed.

A predictable naming convention and generated cards are easier to live with.

5. Auto-Entities: automatically discover containers and VMs

The HACS custom card Auto-Entities selects entities using filters.

All LXC containers as a list

type: custom:auto-entities
card:
  type: entities
  title: Container – Live-Status
  show_header_toggle: false
  state_color: true
filter:
  include:
    - entity_id: sensor.lxc_*_status
sort:
  method: name

For VMs, the filter pattern changes:

type: custom:auto-entities
card:
  type: entities
  title: Virtuelle Maschinen
  show_header_toggle: false
  state_color: true
filter:
  include:
    - entity_id: sensor.qemu_*_status
sort:
  method: name

The same idea can collect CPU, memory and disk sensors separately:

# Beispiel: alle CPU-Sensoren der Container
type: custom:auto-entities
card:
  type: entities
  title: CPU aller LXC-Container
filter:
  include:
    - entity_id: sensor.lxc_*_cpu_used
sort:
  method: name

That's less maintenance, but a long list of individual sensors still isn't much of a dashboard.

6. Dynamic tiles with detail popups

For compact tiles that open resource details on click, I also use Browser Mod.

Both custom extensions have to be installed and loaded in the browser.

A single static container first

type: tile
entity: sensor.lxc_zigbee2mqtt_104_status
name: Zigbee2MQTT
icon: mdi:cube-outline
tap_action:
  action: fire-dom-event
  browser_mod:
    service: browser_mod.popup
    data:
      title: Zigbee2MQTT – CT104
      size: wide
      content:
        type: entities
        entities:
          - sensor.lxc_zigbee2mqtt_104_status
          - sensor.lxc_zigbee2mqtt_104_cpu_used
          - sensor.lxc_zigbee2mqtt_104_memory_used_percentage
          - sensor.lxc_zigbee2mqtt_104_disk_used_percentage

With a compatible Browser Mod version, clicking the tile opens a popup with that guest's resource information.

Test a static popup first, before trying to generate lots of them dynamically.

Generate all container tiles dynamically

The next example is based on my saved Lovelace configuration.

Auto-Entities creates complete tile cards, not just a list of sensors. It derives a common resource prefix from the entity ID.

type: custom:auto-entities
card:
  type: grid
  columns: 2
  square: false
card_param: cards
show_empty: false
filter:
  template: >-
    {% set ns = namespace(items=[]) %}
    {% set existing = states | map(attribute='entity_id') | list %}
    {% for s in (states.sensor)|filter(s => s.entity_id.startswith('sensor.lxc_')
      and s.entity_id.endswith('_status')) %}

      {% set stem = s.entity_id[7:-7] %}
      {% set resources = [
        {'entity': s.entity_id, 'name': 'Status'},
        {'entity': 'sensor.' ~ stem ~ '_node', 'name': 'Node'},
        {'entity': 'sensor.' ~ stem ~ '_ip_address', 'name': 'IP'},
        {'entity': 'sensor.' ~ stem ~ '_cpu_used', 'name': 'CPU %'},
        {'entity': 'sensor.' ~ stem ~ '_memory_used_percentage', 'name': 'RAM %'},
        {'entity': 'sensor.' ~ stem ~ '_disk_used_percentage', 'name': 'Disk %'}
      ] %}
      {% set resources = resources
        | selectattr('entity', 'in', existing) | list %}

      {% set content = {
        'type': 'vertical-stack',
        'cards': [
          {'type': 'entities',
           'title': 'Live-Daten',
           'entities': resources},
          {'type': 'history-graph',
           'title': 'Ressourcen – 24 Stunden',
           'hours_to_show': 24,
           'entities': [
             'sensor.' ~ stem ~ '_cpu_used',
             'sensor.' ~ stem ~ '_memory_used_percentage',
             'sensor.' ~ stem ~ '_disk_used_percentage'
           ] | select('in', existing) | list}
        ]
      } %}

      {% set tile = {
        'type': 'tile',
        'entity': s.entity_id,
        'name': s.name | replace(' Status', ''),
        'icon': 'mdi:cube-outline',
        'tap_action': {
          'action': 'fire-dom-event',
          'browser_mod': {
            'service': 'browser_mod.popup',
            'data': {
              'title': s.name | replace(' Status', ''),
              'size': 'wide',
              'content': content
            }
          }
        }
      } %}
      {% set ns.items = ns.items + [tile] %}
    {% endfor %}
    {{ ns.items | tojson }}

For example, sensor.lxc_zigbee2mqtt_104_status becomes the prefix lxc_zigbee2mqtt_104.

That prefix is used to construct the other resource entity IDs, and only entities known to Home Assistant are included.

For VMs, the same template can be adapted by replacing the sensor.lxc prefix with sensor.qemu. My dashboard has both variations.

Limitations:

  • New guests only appear if the Proxmox integration actually exposes them.
  • An entity may exist but still report unknown or unavailable; the template primarily checks whether it exists.
  • Browser Mod popup syntax can change between releases.
  • Auto-Entities and Browser Mod are custom dependencies, not built-in Home Assistant features.

7. Paperless, VM 9000

Paperless was missing from my resource view at first.

I had to enable exposure of the VM in the Proxmox integration options using Change Expose. After that, these sensors appeared:

sensor.qemu_paperless_9000_status
sensor.qemu_paperless_9000_cpu_used
sensor.qemu_paperless_9000_memory_used_percentage
sensor.qemu_paperless_9000_memory_used
sensor.qemu_paperless_9000_disk_used_percentage
sensor.qemu_paperless_9000_node

The VM runs on my secondary node.

Its disk usage percentage initially showed unknown. That's a missing value from the integration, not a Lovelace card bug.

Uptime Kuma also checks Paperless itself and its search service. That adds real application reachability to the VM's resource status.

8. Synology data

My DiskStation has sensors such as:

type: entities
title: Synology DiskStation
entities:
  - entity: sensor.diskstation2_temperature
    name: Systemtemperatur
  - entity: sensor.diskstation2_cpu_utilization_total
    name: CPU
  - entity: sensor.diskstation2_memory_usage_real
    name: RAM
  - entity: sensor.diskstation2_drive_1_temperature
    name: Festplatte 1
  - entity: sensor.diskstation2_drive_2_temperature
    name: Festplatte 2
  - entity: sensor.diskstation2_drive_3_temperature
    name: Festplatte 3
  - entity: sensor.diskstation2_drive_4_temperature
    name: Festplatte 4

In my first check, some direct DSM sensors showed unavailable, even though Proxmox could still access the NAS storage.

That demonstrates the value of independent information sources.

Mounted NAS storage does not prove that the DSM monitoring connection is working.

9. UPS and power

My APC UPS reports values such as battery level, load and line voltage:

type: entities
title: APC-USV
entities:
  - entity: sensor.apc_status
    name: Betriebszustand
  - entity: sensor.apc_battery_charge
    name: Akku
  - entity: sensor.apc_load
    name: Last
  - entity: sensor.apc_input_voltage
    name: Eingangsspannung
  - entity: sensor.apc_nominal_real_power
    name: Nennwirkleistung

Showing them in Home Assistant does not replace NUT's actual shutdown logic.

Also, UPS load percentage isn't the same thing as measured power consumption in watts.

10. A dedicated Uptime Kuma dashboard

Proxmox can tell me that a VM is running. Uptime Kuma tells me whether the service inside it actually responds.

Both views matter.

My setup has monitors such as:

sensor.paperless_status
sensor.paperless_response_time
sensor.paperless_suche_status
sensor.paperless_suche_response_time
sensor.proxmox_1_status
sensor.proxmox_1_response_time

Auto-Entities can collect the Kuma integration's status sensors:

type: custom:auto-entities
card:
  type: entities
  title: Uptime Kuma – Monitorstatus
  show_header_toggle: false
  state_color: true
filter:
  include:
    - integration: uptime_kuma
      entity_id: sensor.*_status
sort:
  method: state
show_empty: false

A history graph adds response times:

type: history-graph
title: Antwortzeiten – 24 Stunden
entities:
  - entity: sensor.paperless_response_time
    name: Paperless
  - entity: sensor.paperless_suche_response_time
    name: Paperless Suche
  - entity: sensor.proxmox_1_response_time
    name: Proxmox
hours_to_show: 24

Remember that HTTP and TCP checks measure different things, so their response times aren't necessarily directly comparable.

Push monitoring for the rack

Tasmota can send a WebQuery request to a local Kuma push endpoint:

WebQuery http://<KUMA-LAN-IP>:3001/api/push/<KUMA-PUSH-TOKEN>?status=up GET
WebQuery http://<KUMA-LAN-IP>:3001/api/push/<KUMA-PUSH-TOKEN>?status=down GET

A push token is a secret. Don't publish it in a YAML snippet, screenshot or blog post.

In my environment, that HTTP request stays inside the local network. Kuma can then forward notifications to my phone through ntfy.

Test the entire route separately:

  • Normal status
  • Alarm
  • Recovery
  • Sensor or network outage

A successful HTTP command doesn't automatically prove that a notification arrived on the phone.

11. How I arranged the dashboard

I separated the information by task:

  1. Overview: rack temperature, fan state and history.
  2. Infrastructure: cluster, both nodes, CPU, RAM, storage, NAS and UPS.
  3. Containers & VMs: dynamic tiles with resource popups.
  4. Uptime Kuma: monitor status, reachability and response times.

I want the starting view to be calm. Show the overall state first, and let me open details only when something looks wrong.

Built-in Home Assistant cards such as tile, entities, gauge and history-graph handle most of it.

I use custom cards where dynamic discovery or popup interaction provides a real advantage.

12. Looking at fan switching cycles

Eventually the temperature graph alone wasn't enough.

If the sensor sits directly in the fan airflow, the readings drop quickly as soon as the fan starts — and the relay may switch back off almost immediately.

That's not miraculous cooling. It may just be a measurement problem.

So I want four more pieces of information on the dashboard:

  • Minimum and maximum temperature over the last 12 and 24 hours. That shows the range without inspecting every curve.
  • Switching events per hour and per day. Count relay state transitions, not repeated status messages. A complete on/off cycle has two transitions.
  • Average ON duration over the last two hours. Total ON time divided by the number of completed ON periods in the window.
  • Average OFF duration over the last two hours. The equivalent for OFF, with careful handling of periods crossing the window boundaries.

Home Assistant's statistics helpers can calculate temperature min/max from recorded history.

For switching, use relay history, not temperature history.

Average durations require proper tracking of state transitions. Simply dividing time by all switching events will produce misleading numbers.

I don't want numbers for the sake of numbers. If the fan switches twenty times during one quiet evening, I want that to be obvious — not hidden behind a pretty green temperature tile.

The dashboard helps diagnose the behaviour. The actual fan control stays local on Tasmota.

13. Things that went wrong

VM missing? Check whether the guest is exposed in the Proxmox integration. For me, this was Paperless VM 9000.

Sensor shows unknown or unavailable? Check the underlying integration and data source first. A dashboard can't invent missing measurements.

NAS storage works but DSM sensors are offline? Troubleshoot the two monitoring paths separately.

New containers missing from Auto-Entities? Make sure the integration exposes a matching entity and its ID follows the expected naming pattern.

Popup won't open? Check Browser Mod and browser registration, starting with one static popup tile.

Graphs empty? Check Recorder, entity history and whether the selected time range actually has data.

Temperature control? The dashboard isn't the safety system. The fan must operate locally and independently.

Conclusion

What started as one temperature reading has become a shared monitoring interface for the homelab.

Proxmox provides host and guest information, Synology reports NAS status, NUT supplies UPS values, Tasmota handles temperature and fan relay state, and Uptime Kuma checks the services themselves.

The biggest improvement for me is dynamic discovery of containers and VMs. New systems should appear without hand-editing every YAML card.

Detail popups keep the overview usable without hiding the information I need when troubleshooting.

Home Assistant doesn't replace Proxmox, Grafana or Uptime Kuma. It becomes the common window into all of them.

Links

October 2026. YAML snippets illustrate my working setup. Entity IDs and supported syntax depend on your installed integrations and custom card versions.

Previous Next