feat(plant): rate-of-change temp early warning + garage PDU kWh (integration+daily) [#344][#682]

This commit is contained in:
2026-09-02 17:59:59 -05:00
parent 3690b5c9f1
commit aea1e49b22
2 changed files with 67 additions and 0 deletions
+24
View File
@@ -151,3 +151,27 @@
all {{ fleet | length }} fleet sensors OK
{% endif %}
mode: single
- id: pfv_plant_temp_rising_fast
alias: PFV plant - temperature rising fast (rate-of-change)
description: Catches dead AC minutes before the 104F threshold trips.
triggers:
- trigger: state
entity_id:
- binary_sensor.server_room_temp_rising
- binary_sensor.tsys6_ambient_rising
- binary_sensor.tsys7_inlet_rising
- binary_sensor.garage_temp_rising
to: "on"
for:
minutes: 2
actions:
- action: notify.send_message
target:
entity_id:
- notify.ultix_sidecar_new
- notify.allthes_ipad
data:
title: TEMP RISING FAST
message: '{{ trigger.entity_id }} climbing ~10F/15min — check cooling
before the 104F threshold. (rate-of-change early warning)'
mode: single
+43
View File
@@ -339,3 +339,46 @@ template:
state: >-
{% set a = states('sensor.pfv_garage_pdu_output_current') | float(-1) %}
{{ (a * 120) | round(0) if a >= 0 }}
# --- Rate-of-change early warning (#682): +10°F/15min = AC trouble [#344] ---
binary_sensor:
- platform: trend
sensors:
server_room_temp_rising:
entity_id: sensor.pfv_tsys1_rack_temperature
sample_duration: 900
min_gradient: 0.011
unique_id: trend_server_room_rising
tsys6_ambient_rising:
entity_id: sensor.pfv_tsys6_drac_ambient
sample_duration: 900
min_gradient: 0.011
unique_id: trend_tsys6_ambient_rising
tsys7_inlet_rising:
entity_id: sensor.pfv_tsys7_drac_inlet
sample_duration: 900
min_gradient: 0.011
unique_id: trend_tsys7_inlet_rising
garage_temp_rising:
entity_id: sensor.pfv_garage_temperature
sample_duration: 900
min_gradient: 0.011
unique_id: trend_garage_rising
# --- Garage PDU energy (kWh) from watts [#344] ---
sensor:
- platform: integration
source: sensor.pfv_garage_pdu_power
name: pfv garage PDU energy
round: 2
unit_prefix: k
unit_time: h
method: left
unique_id: pfv_garage_pdu_energy
utility_meter:
garage_pdu_daily:
source: sensor.pfv_garage_pdu_energy
name: Garage PDU daily energy
unique_id: garage_pdu_daily_energy
cycle: daily