Too much stuff at once, but who cares

This commit is contained in:
CeeWeasel
2025-11-04 18:25:18 -05:00
parent 953ee882cd
commit 101f7ec41b
98 changed files with 373 additions and 464 deletions
+17
View File
@@ -0,0 +1,17 @@
substitutions:
name: home-assistant-voice-097b44
friendly_name: Home Assistant Voice 097b44
packages:
Nabu Casa.Home Assistant Voice PE: github://esphome/home-assistant-voice-pe/home-assistant-voice.yaml
esphome:
name: ${name}
name_add_mac_suffix: false
friendly_name: ${friendly_name}
api:
encryption:
key: iAx9Roq7zrUefNVRfIGGd+5u7QXMYdCMoCPXfIIACpk=
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
+124 -69
View File
@@ -32,8 +32,12 @@ substitutions:
sda_pin: GPIO21
scl_pin: GPIO22
# For i2c devices
sda2_pin: GPIO16
scl2_pin: GPIO17
passive_buzzer_pin: GPIO26
one_wire_pin: GPIO17
one_wire_pin: GPIO13
packages:
# network: !include common/ethernet.yaml
@@ -54,7 +58,7 @@ esp32:
# Enable logging
logger:
level: VERBOSE
#level: VERBOSE
time:
- id: !remove homeassistant_time
@@ -154,18 +158,23 @@ font:
# size: 50
# glyphs: ["\U0000e425"] # mdi-timer
one_wire:
- platform: gpio
pin:
number: ${one_wire_pin}
mode:
input: true
pullup: true
# one_wire:
# - platform: gpio
# pin:
# number: ${one_wire_pin}
# mode:
# input: true
# pullup: true
i2c:
sda: ${sda_pin}
scl: ${scl_pin}
frequency: 800kHz
- id: bus_a
sda: ${sda_pin}
scl: ${scl_pin}
#frequency: 800kHz
- id: bus_b
sda: ${sda2_pin}
scl: ${scl2_pin}
spi:
clk_pin: ${spi_clock_pin}
@@ -243,70 +252,114 @@ number:
# id: display_backlight
sensor:
- platform: dallas_temp
address: 0xB33C01B607798528
name: "Return"
id: hvac_return
icon: mdi:home-thermometer-outline
- platform: bme280_i2c
i2c_id: bus_a
address: 0x76
update_interval: 10s
filters:
- lambda: |-
float val = x;
if (isnan(val)) {
val = 0.0;
}
return val * (9.0/5.0) + 32.0;
#- lambda: return x * (9.0/5.0) + 32.0;
- clamp:
min_value: 0.0
max_value: 100.0
unit_of_measurement: "°F"
state_class: measurement
temperature:
name: "BME280 76A Temperature"
pressure:
name: "BME280 76A Pressure"
humidity:
name: "BME280 76A Humidity"
- platform: dallas_temp
address: 0x0F3C01B6070C1328
name: "Supply"
id: hvac_supply
icon: mdi:thermostat
- platform: bme280_i2c
i2c_id: bus_b
address: 0x76
update_interval: 10s
filters:
- lambda: return x * (9.0/5.0) + 32.0;
- clamp:
min_value: 0.0
max_value: 100.0
unit_of_measurement: "°F"
state_class: measurement
temperature:
name: "BME280 76B Temperature"
pressure:
name: "BME280 76B Pressure"
humidity:
name: "BME280 76B Humidity"
- platform: dallas_temp
address: 0xFA3C01B607005B28
name: "Ambient"
id: ambient
icon: mdi:home-thermometer
- platform: bme280_i2c
i2c_id: bus_a
address: 0x77
update_interval: 10s
filters:
- lambda: return x * (9.0/5.0) + 32.0;
- clamp:
min_value: 0.0
max_value: 100.0
unit_of_measurement: "°F"
state_class: measurement
temperature:
name: "BME280 77A Temperature"
pressure:
name: "BME280 77A Pressure"
humidity:
name: "BME280 77A Humidity"
- platform: template
name: "Delta"
id: hvac_delta
icon: mdi:thermometer-lines
lambda: |-
return (id(hvac_supply).state - id(hvac_return).state);
- platform: bme280_i2c
i2c_id: bus_b
address: 0x77
update_interval: 10s
unit_of_measurement: "°F"
state_class: measurement
filters:
- clamp:
min_value: 0.0
max_value: 100.0
- or:
- throttle: 60s
- delta: 1.0
temperature:
name: "BME280 77B Temperature"
pressure:
name: "BME280 77B Pressure"
humidity:
name: "BME280 77B Humidity"
# - platform: dallas_temp
# address: 0xB33C01B607798528
# name: "Return"
# id: hvac_return
# icon: mdi:home-thermometer-outline
# update_interval: 10s
# filters:
# - lambda: |-
# float val = x;
# if (isnan(val)) {
# val = 0.0;
# }
# return val * (9.0/5.0) + 32.0;
# #- lambda: return x * (9.0/5.0) + 32.0;
# - clamp:
# min_value: 0.0
# max_value: 100.0
# unit_of_measurement: "°F"
# state_class: measurement
# - platform: dallas_temp
# address: 0x0F3C01B6070C1328
# name: "Supply"
# id: hvac_supply
# icon: mdi:thermostat
# update_interval: 10s
# filters:
# - lambda: return x * (9.0/5.0) + 32.0;
# - clamp:
# min_value: 0.0
# max_value: 100.0
# unit_of_measurement: "°F"
# state_class: measurement
# - platform: dallas_temp
# address: 0xFA3C01B607005B28
# name: "Ambient"
# id: ambient
# icon: mdi:home-thermometer
# update_interval: 10s
# filters:
# - lambda: return x * (9.0/5.0) + 32.0;
# - clamp:
# min_value: 0.0
# max_value: 100.0
# unit_of_measurement: "°F"
# state_class: measurement
# - platform: template
# name: "Delta"
# id: hvac_delta
# icon: mdi:thermometer-lines
# lambda: |-
# return (id(hvac_supply).state - id(hvac_return).state);
# update_interval: 10s
# unit_of_measurement: "°F"
# state_class: measurement
# filters:
# - clamp:
# min_value: 0.0
# max_value: 100.0
# - or:
# - throttle: 60s
# - delta: 1.0
display:
- platform: ili9xxx
@@ -330,7 +383,9 @@ display:
touchscreen:
# - platform: ft5x06
# Uses i2c
- platform: ft63x6
i2c_id: bus_a
id: main_touchscreen
display: main_display
transform: