diff --git a/automations.yaml b/automations.yaml index 375af6b..e15bc4e 100644 --- a/automations.yaml +++ b/automations.yaml @@ -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 diff --git a/packages/plant_snmp.yaml b/packages/plant_snmp.yaml index 378d1fe..de8c786 100644 --- a/packages/plant_snmp.yaml +++ b/packages/plant_snmp.yaml @@ -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