mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
121 lines
2.8 KiB
YAML
121 lines
2.8 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 #nodemcu-32s
|
|
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
|
|
|
|
|
|
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: xiaomi_hhccjcy01
|
|
# mac_address: 'C4:7C:8D:6D:CE:A4'
|
|
# temperature:
|
|
# name: 'Plant Sensor 1: Temperature'
|
|
# moisture:
|
|
# name: 'Plant Sensor 1: Moisture'
|
|
# illuminance:
|
|
# name: 'Plant Sensor 1: Illuminance'
|
|
# conductivity:
|
|
# name: 'Plant Sensor 1: Soil Conductivity'
|
|
# battery_level:
|
|
# name: 'Plant Sensor 1: Battery Level'
|
|
|
|
# - platform: xiaomi_hhccjcy01
|
|
# mac_address: 'C4:7C:8D:6D:3E:AE'
|
|
# temperature:
|
|
# name: 'Plant Sensor 2: Temperature'
|
|
# moisture:
|
|
# name: 'Plant Sensor 2: Moisture'
|
|
# illuminance:
|
|
# name: 'Plant Sensor 2: Illuminance'
|
|
# conductivity:
|
|
# name: 'Plant Sensor 2: Soil Conductivity'
|
|
# battery_level:
|
|
# name: 'Plant Sensor 2: Battery Level'
|
|
|
|
# - platform: xiaomi_hhccjcy01
|
|
# mac_address: 'C4:7C:8D:6D:3E:B0'
|
|
# temperature:
|
|
# name: 'Plant Sensor 3: Temperature'
|
|
# moisture:
|
|
# name: 'Plant Sensor 3: Moisture'
|
|
# illuminance:
|
|
# name: 'Plant Sensor 3: Illuminance'
|
|
# conductivity:
|
|
# name: 'Plant Sensor 3: Soil Conductivity'
|
|
# battery_level:
|
|
# name: 'Plant Sensor 3: Battery Level'
|
|
|
|
- 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 |