mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 11:00:14 -04:00
75fb9c2ab8
finally fixing hvac-multisensor. All of this was caused by the display switch referenced the display while it wasn't plugged in. Updated code to check for the existence first.
84 lines
1.6 KiB
YAML
84 lines
1.6 KiB
YAML
substitutions:
|
|
devicename: front-yard-plant-monitor
|
|
entity_name: front_yard_plant_monitor
|
|
friendly_name: Front Yard Plant Monitor
|
|
platform: ESP32
|
|
board: esp32-poe-iso
|
|
static_ip: !secret front-yard-plant-monitor-ip
|
|
|
|
packages:
|
|
#wifi: !include common/wifi_no_power_save.yaml
|
|
ethernet: !include common/olimex-poe.yaml
|
|
device_base: !include common/device_base.yaml
|
|
ble_proxy: !include common/ble_proxy.yaml
|
|
|
|
esp32:
|
|
board: esp32-poe-iso
|
|
|
|
logger:
|
|
level: DEBUG
|
|
logs:
|
|
ultrasonic.sensor: WARN
|
|
#hx711: INFO
|
|
|
|
|
|
#esp32_ble_tracker:
|
|
|
|
# xiaomi_ble:
|
|
|
|
|
|
# id: eth
|
|
# type: LAN8720
|
|
# mdc_pin: GPIO23
|
|
# mdio_pin: GPIO18
|
|
# clk_mode: GPIO17_OUT
|
|
# phy_addr: 0
|
|
# power_pin: GPIO5
|
|
|
|
#C4:7C:8D:6D:3E:AE
|
|
|
|
sensor:
|
|
- platform: ultrasonic
|
|
trigger_pin: GPIO13
|
|
echo_pin: GPIO14
|
|
name: "Car Sensor East Side"
|
|
timeout: 4.0m
|
|
update_interval: 0.5s
|
|
filters:
|
|
- or:
|
|
- throttle_average: 30s
|
|
- delta: 0.5
|
|
- sliding_window_moving_average:
|
|
window_size: 5
|
|
send_every: 5
|
|
- delta: 0.0254
|
|
|
|
- platform: ultrasonic
|
|
trigger_pin: GPIO15
|
|
echo_pin: GPIO16
|
|
name: "Car Sensor West Side"
|
|
timeout: 4.0m
|
|
update_interval: 0.5s
|
|
filters:
|
|
- or:
|
|
- throttle_average: 30s
|
|
- delta: 0.5
|
|
- sliding_window_moving_average:
|
|
window_size: 5
|
|
send_every: 5
|
|
- delta: 0.0254
|
|
|
|
binary_sensor:
|
|
- platform: gpio
|
|
name: Outer Garage Door
|
|
device_class: door
|
|
pin:
|
|
mode: INPUT_PULLUP
|
|
number: GPIO5
|
|
|
|
- platform: gpio
|
|
name: Inner Garage Door
|
|
device_class: door
|
|
pin:
|
|
mode: INPUT_PULLUP
|
|
number: GPIO4 |