Files
Home-AssistantConfig/config/packages/glances.yaml
Carlo Costanzo 14294b5b5f Update configuration files and enhance sensor definitions based on Future Breaking CHANGES for HA.
- Updated .gitignore to include new IP change configuration file.
- Bumped Home Assistant version to 2025.12.0.
- Modified logbook.yaml to exclude specific alarm panel entities for cleaner logs.
- Refactored alexa_media_player.yaml and climate.yaml to use template sensors for better organization and clarity.
- Added new template sensors in climate.yaml for tracking AC cooling status.
- Updated glances.yaml to define a template sensor for average temperature.
- Enhanced stats.yaml with new template sensors for various counts (sensors, automations, scripts, etc.).
- Removed outdated superbowl.yaml and weather_camera.yaml.disabled configurations.
- Updated README.md to reflect the new location of IP change monitoring.
2025-12-04 10:29:19 -05:00

52 lines
2.5 KiB
YAML
Executable File

######################################################################
# @CCOSTAN - Follow Me on X
# For more info visit https://www.vcloudinfo.com/click-here
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# -------------------------------------------------------------------
# Glances - ProxMox/server stats via Glances integration.
# CPU, memory, and disk sensors from Glances API.
# -------------------------------------------------------------------
######################################################################
template:
- sensor:
- name: "Proxmox Garage Average Temperature"
unique_id: proxmox_garage_avg_temp
device_class: temperature
state_class: measurement
unit_of_measurement: "\u00B0F"
state: >-
{{ (
(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\u00B0F!"
who: 'carlo'
group: 'information'