Files
Home-AssistantConfig/config/packages/glances.yaml
Carlo Costanzo c464073a0d Standardizing on Headers for all YAML files.
- Updated comments in various YAML configuration files to provide clearer descriptions of functionalities and integrations.
- Improved documentation for alarm, alexa_media_player, backups, blink, cbyge, climate, finance, fridge, garadget, glances, hass_agent_homepc, holiday, ios, landscape_lighting, lightning, logger, medicine, nfc_tags, noonhome, office_motion, phynplus, powerwall, printer, processmonitor, proxmox, rachio, rheem_econet, roku, sleepiq, space, speedtest, stats, superbowl, vacuum, wireless, and youtube packages.
- Added relevant links and issue references where applicable to enhance user guidance and support.
2025-11-29 13:17:07 -05:00

49 lines
2.3 KiB
YAML
Executable File

#-------------------------------------------
# @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# Glances - ProxMox/server stats via Glances integration.
#-------------------------------------------
######################################################################
## CPU, memory, and disk sensors from Glances API.
######################################################################
sensor:
- platform: template
sensors:
proxmox_garage_avg_temp:
friendly_name: "Proxmox Garage Average Temperature"
unit_of_measurement: "°F"
value_template: >-
{{ (
(states('sensor.proxmox1_package_id_0_temperature') | float(0) +
states('sensor.proxmox1_pch_skylake_1_temperature') | float(0) +
states('sensor.proxmox1_core_0_temperature') | float(0) +
states('sensor.proxmox1_core_1_temperature') | float(0) +
states('sensor.proxmox1_core_2_temperature') | float(0) +
states('sensor.proxmox1_core_3_temperature') | float(0) +
states('sensor.proxmox1_acpitz_1_temperature') | float(0) +
states('sensor.proxmox1_acpitz_2_temperature') | float(0) +
states('sensor.proxmox2_package_id_0_temperature') | float(0) +
states('sensor.proxmox2_pch_skylake_1_temperature') | float(0) +
states('sensor.proxmox2_core_0_temperature') | float(0) +
states('sensor.proxmox2_core_1_temperature') | float(0) +
states('sensor.proxmox2_core_2_temperature') | float(0) +
states('sensor.proxmox2_core_3_temperature') | float(0) +
states('sensor.proxmox2_acpitz_1_temperature') | float(0) +
states('sensor.proxmox2_acpitz_2_temperature') | float(0)
) / 16 ) | round(1) }}
automation:
- alias: "Garage Proxmox High Temperature Warning"
id: proxmox-garage-high-temp-warning-automation
trigger:
- platform: numeric_state
entity_id: sensor.proxmox_garage_avg_temp
above: 145 # Adjust threshold as needed
action:
- service: script.notify_engine
data:
title: "🔥 Proxmox Garage Alert!"
value1: "The average temperature of your Proxmox servers is above 145°F!"
who: 'carlo'
group: 'information'