Update HVAC fan automation descriptions and improve HTTP configuration

This commit is contained in:
CeeWeasel
2025-08-23 10:30:50 -04:00
parent 6afb4d07f8
commit 544c4788b8
9 changed files with 155 additions and 89 deletions
+5
View File
@@ -1,5 +1,10 @@
alias: HVAC Fan Off
id: automation_hvac_fan_off
description: "Purposefully disabled because it just re-circulates the upstairs air"
# This shouldn't be used because it just re-circulates the air in the house.
# Since there aren't any returns in the basement, the upstairs air recirculates itself
# which accomplishes nothing
# I'd need to get some kind of fresh air intake and a damper
trigger:
# Has the fan been running for ten minutes?
+5
View File
@@ -1,5 +1,10 @@
alias: HVAC Fan On
id: automation_hvac_fan_on
description: "Purposefully disabled because it just re-circulates the upstairs air"
# This shouldn't be used because it just re-circulates the air in the house.
# Since there aren't any returns in the basement, the upstairs air recirculates itself
# which accomplishes nothing
# I'd need to get some kind of fresh air intake and a damper
triggers:
# Has the fan been off for ten minutes?
+3
View File
@@ -170,6 +170,9 @@ action:
- delay: "00:00:05"
- choose:
- conditions: "{{is_state('media_player.ytube_music_player','on')}}"
sequence:
- service: media_player.turn_off
target:
entity_id: media_player.ytube_music_player
+35 -30
View File
@@ -1,31 +1,36 @@
http:
#ssl_certificate: /ssl/origin.pem
#ssl_key: /ssl/privkey.pem
ip_ban_enabled: true
login_attempts_threshold: 5
use_x_forwarded_for: true
trusted_proxies:
- 192.168.1.0/24
- 127.0.0.1
- 172.30.32.0/23
- 172.16.0.0/12
- 172.17.0.0/16
- ::1
- 172.21.0.145
# Moved to configuration.yaml per Cloudflared addon docs:
# Documentation
# Document that http in configuration.yaml must no use !include or packages @felipecrs (#886)
# Add the Cloudflare IPs as trusted proxies https://www.cloudflare.com/ips-v4
- 173.245.48.0/20
- 103.21.244.0/22
- 103.22.200.0/22
- 103.31.4.0/22
- 141.101.64.0/18
- 108.162.192.0/18
- 190.93.240.0/20
- 188.114.96.0/20
- 197.234.240.0/22
- 198.41.128.0/17
- 162.158.0.0/15
- 104.16.0.0/13
- 104.24.0.0/14
- 172.64.0.0/13
- 131.0.72.0/22
# http:
# #ssl_certificate: /ssl/origin.pem
# #ssl_key: /ssl/privkey.pem
# ip_ban_enabled: true
# login_attempts_threshold: 5
# use_x_forwarded_for: true
# trusted_proxies:
# - 192.168.1.0/24
# - 127.0.0.1
# - 172.30.32.0/23
# - 172.16.0.0/12
# - 172.17.0.0/16
# - ::1
# - 172.21.0.145
# # Add the Cloudflare IPs as trusted proxies https://www.cloudflare.com/ips-v4
# - 173.245.48.0/20
# - 103.21.244.0/22
# - 103.22.200.0/22
# - 103.31.4.0/22
# - 141.101.64.0/18
# - 108.162.192.0/18
# - 190.93.240.0/20
# - 188.114.96.0/20
# - 197.234.240.0/22
# - 198.41.128.0/17
# - 162.158.0.0/15
# - 104.16.0.0/13
# - 104.24.0.0/14
# - 172.64.0.0/13
# - 131.0.72.0/22
@@ -1,55 +1,56 @@
mqtt:
sensor:
- name: "Timestamp"
device_class: timestamp
icon: mdi:clock-in
state_topic: "rtl_433/9b13b3f4-rtl433/devices/EcoWitt-WH40/21917/time"
entity_category: diagnostic
unique_id: ecowitt-wh40-time
device:
identifiers: ecowitt-wh40
name: Rain Gauge
model: WH40
manufacturer: EcoWitt
- name: "Precipitation"
device_class: precipitation
unit_of_measurement: "mm"
value_template: "{{ value|float }}"
state_class: measurement
state_topic: "rtl_433/9b13b3f4-rtl433/devices/EcoWitt-WH40/21917/rain_mm"
unique_id: ecowitt-wh40-rain-mm
device:
identifiers: ecowitt-wh40
name: Rain Gauge
model: WH40
manufacturer: EcoWitt
- name: "Battery"
device_class: battery
unit_of_measurement: "%"
value_template: "{{ (float(value) / 1.5) * 100 | round(0) }}"
state_class: measurement
entity_category: diagnostic
state_topic: "rtl_433/9b13b3f4-rtl433/devices/EcoWitt-WH40/21917/battery_V"
unique_id: ecowitt-wh40-battery-v
device:
identifiers: ecowitt-wh40
name: Rain Gauge
model: WH40
manufacturer: EcoWitt
binary_sensor:
- name: "Battery OK"
value_template: "{{ value|int }}"
device_class: problem
entity_category: diagnostic
state_topic: "rtl_433/9b13b3f4-rtl433/devices/EcoWitt-WH40/21917/battery_ok"
payload_on: "1"
payload_off: "0"
unique_id: ecowitt-wh40-battery-ok
device:
identifiers: ecowitt-wh40
name: Rain Gauge
model: WH40
mqtt:
sensor:
- name: "Timestamp"
device_class: timestamp
icon: mdi:clock-in
state_topic: "rtl_433/9b13b3f4-rtl433/devices/EcoWitt-WH40/21917/time"
entity_category: diagnostic
unique_id: ecowitt-wh40-time
device:
identifiers: ecowitt-wh40
name: Rain Gauge
model: WH40
manufacturer: EcoWitt
- name: "Precipitation"
device_class: precipitation
unit_of_measurement: "mm"
value_template: "{{ value|float }}"
state_class: measurement
state_topic: "rtl_433/9b13b3f4-rtl433/devices/EcoWitt-WH40/21917/rain_mm"
unique_id: ecowitt-wh40-rain-mm
force_update: true # Enabling this to hopefully fix the trend sensor (binary_sensor.is_raining)
device:
identifiers: ecowitt-wh40
name: Rain Gauge
model: WH40
manufacturer: EcoWitt
- name: "Battery"
device_class: battery
unit_of_measurement: "%"
value_template: "{{ (float(value) / 1.5) * 100 | round(0) }}"
state_class: measurement
entity_category: diagnostic
state_topic: "rtl_433/9b13b3f4-rtl433/devices/EcoWitt-WH40/21917/battery_V"
unique_id: ecowitt-wh40-battery-v
device:
identifiers: ecowitt-wh40
name: Rain Gauge
model: WH40
manufacturer: EcoWitt
binary_sensor:
- name: "Battery OK"
value_template: "{{ value|int }}"
device_class: problem
entity_category: diagnostic
state_topic: "rtl_433/9b13b3f4-rtl433/devices/EcoWitt-WH40/21917/battery_ok"
payload_on: "1"
payload_off: "0"
unique_id: ecowitt-wh40-battery-ok
device:
identifiers: ecowitt-wh40
name: Rain Gauge
model: WH40
manufacturer: EcoWitt
+4
View File
@@ -2,6 +2,10 @@ platform: template
switches:
thermostat_fan_mode:
unique_id: templateswitch.thermostat_fan_mode
# This shouldn't be used because it just re-circulates the air in the house.
# Since there aren't any returns in the basement, the upstairs air recirculates itself
# which accomplishes nothing
# I'd need to get some kind of fresh air intake and a damper
friendly_name: "Thermostat Fan Mode"
value_template: >-
{% if state_attr('climate.thermostat', 'fan_min_on_time') | int(default=0) < 5 %}
+32
View File
@@ -43,3 +43,35 @@ homeassistant:
- 127.0.0.1
- ::1
- 172.21.0.0/24
http:
#ssl_certificate: /ssl/origin.pem
#ssl_key: /ssl/privkey.pem
ip_ban_enabled: true
login_attempts_threshold: 5
use_x_forwarded_for: true
trusted_proxies:
- 192.168.1.0/24
- 127.0.0.1
- 172.30.32.0/23
- 172.16.0.0/12
- 172.17.0.0/16
- ::1
- 172.21.0.145
# Add the Cloudflare IPs as trusted proxies https://www.cloudflare.com/ips-v4
- 173.245.48.0/20
- 103.21.244.0/22
- 103.22.200.0/22
- 103.31.4.0/22
- 141.101.64.0/18
- 108.162.192.0/18
- 190.93.240.0/20
- 188.114.96.0/20
- 197.234.240.0/22
- 198.41.128.0/17
- 162.158.0.0/15
- 104.16.0.0/13
- 104.24.0.0/14
- 172.64.0.0/13
- 131.0.72.0/22
+15 -4
View File
@@ -1,16 +1,27 @@
esp32:
board: esp32-evb
framework:
#type: arduino
type: esp-idf
ethernet:
id: eth
type: LAN8720
mdc_pin: GPIO23
mdio_pin: GPIO18
clk_mode: GPIO0_IN
clk:
pin: GPIO0
mode: CLK_EXT_IN
phy_addr: 0
use_address: ${devicename}.local
manual_ip:
static_ip: ${static_ip}
gateway: !secret iot_default_gateway
subnet: !secret iot_subnet_mask
dns1: !secret iot_default_dns1
dns2: !secret iot_default_dns2
#text_sensor:
#- <<: !include text_sensor/ethernet_ip_address.config.yaml
#- <<: !include text_sensor/ethernet_mac_address.config.yaml
text_sensor:
- <<: !include text_sensor/ethernet_info.config.yaml
+1 -1
View File
@@ -519,7 +519,7 @@ badges:
icon: mdi:speaker-multiple
tap_action:
action: navigate
navigation_path: /phone-yaml/media
navigation_path: /lovelace-yaml/media
content: "{{states('sensor.speakers_on_count')}}"
hold_action:
action: more-info