mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 11:00:14 -04:00
Update HVAC fan automation descriptions and improve HTTP configuration
This commit is contained in:
@@ -1,5 +1,10 @@
|
|||||||
alias: HVAC Fan Off
|
alias: HVAC Fan Off
|
||||||
id: automation_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:
|
trigger:
|
||||||
# Has the fan been running for ten minutes?
|
# Has the fan been running for ten minutes?
|
||||||
|
|||||||
@@ -1,5 +1,10 @@
|
|||||||
alias: HVAC Fan On
|
alias: HVAC Fan On
|
||||||
id: automation_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:
|
triggers:
|
||||||
# Has the fan been off for ten minutes?
|
# Has the fan been off for ten minutes?
|
||||||
|
|||||||
@@ -170,6 +170,9 @@ action:
|
|||||||
|
|
||||||
- delay: "00:00:05"
|
- delay: "00:00:05"
|
||||||
|
|
||||||
|
- choose:
|
||||||
|
- conditions: "{{is_state('media_player.ytube_music_player','on')}}"
|
||||||
|
sequence:
|
||||||
- service: media_player.turn_off
|
- service: media_player.turn_off
|
||||||
target:
|
target:
|
||||||
entity_id: media_player.ytube_music_player
|
entity_id: media_player.ytube_music_player
|
||||||
|
|||||||
@@ -1,31 +1,36 @@
|
|||||||
http:
|
# Moved to configuration.yaml per Cloudflared addon docs:
|
||||||
#ssl_certificate: /ssl/origin.pem
|
# Documentation
|
||||||
#ssl_key: /ssl/privkey.pem
|
# Document that http in configuration.yaml must no use !include or packages @felipecrs (#886)
|
||||||
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
|
# http:
|
||||||
- 103.21.244.0/22
|
# #ssl_certificate: /ssl/origin.pem
|
||||||
- 103.22.200.0/22
|
# #ssl_key: /ssl/privkey.pem
|
||||||
- 103.31.4.0/22
|
# ip_ban_enabled: true
|
||||||
- 141.101.64.0/18
|
# login_attempts_threshold: 5
|
||||||
- 108.162.192.0/18
|
# use_x_forwarded_for: true
|
||||||
- 190.93.240.0/20
|
# trusted_proxies:
|
||||||
- 188.114.96.0/20
|
# - 192.168.1.0/24
|
||||||
- 197.234.240.0/22
|
# - 127.0.0.1
|
||||||
- 198.41.128.0/17
|
# - 172.30.32.0/23
|
||||||
- 162.158.0.0/15
|
# - 172.16.0.0/12
|
||||||
- 104.16.0.0/13
|
# - 172.17.0.0/16
|
||||||
- 104.24.0.0/14
|
# - ::1
|
||||||
- 172.64.0.0/13
|
# - 172.21.0.145
|
||||||
- 131.0.72.0/22
|
|
||||||
|
# # 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:
|
mqtt:
|
||||||
sensor:
|
sensor:
|
||||||
- name: "Timestamp"
|
- name: "Timestamp"
|
||||||
device_class: timestamp
|
device_class: timestamp
|
||||||
icon: mdi:clock-in
|
icon: mdi:clock-in
|
||||||
state_topic: "rtl_433/9b13b3f4-rtl433/devices/EcoWitt-WH40/21917/time"
|
state_topic: "rtl_433/9b13b3f4-rtl433/devices/EcoWitt-WH40/21917/time"
|
||||||
entity_category: diagnostic
|
entity_category: diagnostic
|
||||||
unique_id: ecowitt-wh40-time
|
unique_id: ecowitt-wh40-time
|
||||||
device:
|
device:
|
||||||
identifiers: ecowitt-wh40
|
identifiers: ecowitt-wh40
|
||||||
name: Rain Gauge
|
name: Rain Gauge
|
||||||
model: WH40
|
model: WH40
|
||||||
manufacturer: EcoWitt
|
manufacturer: EcoWitt
|
||||||
|
|
||||||
- name: "Precipitation"
|
- name: "Precipitation"
|
||||||
device_class: precipitation
|
device_class: precipitation
|
||||||
unit_of_measurement: "mm"
|
unit_of_measurement: "mm"
|
||||||
value_template: "{{ value|float }}"
|
value_template: "{{ value|float }}"
|
||||||
state_class: measurement
|
state_class: measurement
|
||||||
state_topic: "rtl_433/9b13b3f4-rtl433/devices/EcoWitt-WH40/21917/rain_mm"
|
state_topic: "rtl_433/9b13b3f4-rtl433/devices/EcoWitt-WH40/21917/rain_mm"
|
||||||
unique_id: ecowitt-wh40-rain-mm
|
unique_id: ecowitt-wh40-rain-mm
|
||||||
device:
|
force_update: true # Enabling this to hopefully fix the trend sensor (binary_sensor.is_raining)
|
||||||
identifiers: ecowitt-wh40
|
device:
|
||||||
name: Rain Gauge
|
identifiers: ecowitt-wh40
|
||||||
model: WH40
|
name: Rain Gauge
|
||||||
manufacturer: EcoWitt
|
model: WH40
|
||||||
|
manufacturer: EcoWitt
|
||||||
- name: "Battery"
|
|
||||||
device_class: battery
|
- name: "Battery"
|
||||||
unit_of_measurement: "%"
|
device_class: battery
|
||||||
value_template: "{{ (float(value) / 1.5) * 100 | round(0) }}"
|
unit_of_measurement: "%"
|
||||||
state_class: measurement
|
value_template: "{{ (float(value) / 1.5) * 100 | round(0) }}"
|
||||||
entity_category: diagnostic
|
state_class: measurement
|
||||||
state_topic: "rtl_433/9b13b3f4-rtl433/devices/EcoWitt-WH40/21917/battery_V"
|
entity_category: diagnostic
|
||||||
unique_id: ecowitt-wh40-battery-v
|
state_topic: "rtl_433/9b13b3f4-rtl433/devices/EcoWitt-WH40/21917/battery_V"
|
||||||
device:
|
unique_id: ecowitt-wh40-battery-v
|
||||||
identifiers: ecowitt-wh40
|
device:
|
||||||
name: Rain Gauge
|
identifiers: ecowitt-wh40
|
||||||
model: WH40
|
name: Rain Gauge
|
||||||
manufacturer: EcoWitt
|
model: WH40
|
||||||
|
manufacturer: EcoWitt
|
||||||
binary_sensor:
|
|
||||||
- name: "Battery OK"
|
binary_sensor:
|
||||||
value_template: "{{ value|int }}"
|
- name: "Battery OK"
|
||||||
device_class: problem
|
value_template: "{{ value|int }}"
|
||||||
entity_category: diagnostic
|
device_class: problem
|
||||||
state_topic: "rtl_433/9b13b3f4-rtl433/devices/EcoWitt-WH40/21917/battery_ok"
|
entity_category: diagnostic
|
||||||
payload_on: "1"
|
state_topic: "rtl_433/9b13b3f4-rtl433/devices/EcoWitt-WH40/21917/battery_ok"
|
||||||
payload_off: "0"
|
payload_on: "1"
|
||||||
unique_id: ecowitt-wh40-battery-ok
|
payload_off: "0"
|
||||||
device:
|
unique_id: ecowitt-wh40-battery-ok
|
||||||
identifiers: ecowitt-wh40
|
device:
|
||||||
name: Rain Gauge
|
identifiers: ecowitt-wh40
|
||||||
model: WH40
|
name: Rain Gauge
|
||||||
|
model: WH40
|
||||||
manufacturer: EcoWitt
|
manufacturer: EcoWitt
|
||||||
@@ -2,6 +2,10 @@ platform: template
|
|||||||
switches:
|
switches:
|
||||||
thermostat_fan_mode:
|
thermostat_fan_mode:
|
||||||
unique_id: templateswitch.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"
|
friendly_name: "Thermostat Fan Mode"
|
||||||
value_template: >-
|
value_template: >-
|
||||||
{% if state_attr('climate.thermostat', 'fan_min_on_time') | int(default=0) < 5 %}
|
{% if state_attr('climate.thermostat', 'fan_min_on_time') | int(default=0) < 5 %}
|
||||||
|
|||||||
@@ -43,3 +43,35 @@ homeassistant:
|
|||||||
- 127.0.0.1
|
- 127.0.0.1
|
||||||
- ::1
|
- ::1
|
||||||
- 172.21.0.0/24
|
- 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
|
||||||
|
|||||||
@@ -1,16 +1,27 @@
|
|||||||
|
esp32:
|
||||||
|
board: esp32-evb
|
||||||
|
framework:
|
||||||
|
#type: arduino
|
||||||
|
type: esp-idf
|
||||||
|
|
||||||
ethernet:
|
ethernet:
|
||||||
id: eth
|
id: eth
|
||||||
type: LAN8720
|
type: LAN8720
|
||||||
mdc_pin: GPIO23
|
mdc_pin: GPIO23
|
||||||
mdio_pin: GPIO18
|
mdio_pin: GPIO18
|
||||||
clk_mode: GPIO0_IN
|
clk:
|
||||||
|
pin: GPIO0
|
||||||
|
mode: CLK_EXT_IN
|
||||||
phy_addr: 0
|
phy_addr: 0
|
||||||
|
|
||||||
|
use_address: ${devicename}.local
|
||||||
|
|
||||||
manual_ip:
|
manual_ip:
|
||||||
static_ip: ${static_ip}
|
static_ip: ${static_ip}
|
||||||
gateway: !secret iot_default_gateway
|
gateway: !secret iot_default_gateway
|
||||||
subnet: !secret iot_subnet_mask
|
subnet: !secret iot_subnet_mask
|
||||||
|
dns1: !secret iot_default_dns1
|
||||||
|
dns2: !secret iot_default_dns2
|
||||||
|
|
||||||
#text_sensor:
|
text_sensor:
|
||||||
#- <<: !include text_sensor/ethernet_ip_address.config.yaml
|
- <<: !include text_sensor/ethernet_info.config.yaml
|
||||||
#- <<: !include text_sensor/ethernet_mac_address.config.yaml
|
|
||||||
@@ -519,7 +519,7 @@ badges:
|
|||||||
icon: mdi:speaker-multiple
|
icon: mdi:speaker-multiple
|
||||||
tap_action:
|
tap_action:
|
||||||
action: navigate
|
action: navigate
|
||||||
navigation_path: /phone-yaml/media
|
navigation_path: /lovelace-yaml/media
|
||||||
content: "{{states('sensor.speakers_on_count')}}"
|
content: "{{states('sensor.speakers_on_count')}}"
|
||||||
hold_action:
|
hold_action:
|
||||||
action: more-info
|
action: more-info
|
||||||
|
|||||||
Reference in New Issue
Block a user