-
Notifications
You must be signed in to change notification settings - Fork 4
/
esph_ground_water.yaml
35 lines (30 loc) · 1.04 KB
/
esph_ground_water.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
# Ground Water
#
# This monitors the level of the ground water in my basement.
#
# https://github.com/jcallaghan/esphome-config/blob/main/.readme/esph_ground_water.md
#
substitutions:
system_name: ground_water
friendly_name: Ground Water
device_description: "Ultrasonic distance sensor fitted inside a tube with a table tennis ball measuring the depth of the water in our basement. Readme via https://github.com/jcallaghan/esphome-config/blob/main/.readme/esph_ground_water.md"
packages:
device: !include devices/esp32_pico.yaml
sensor:
# https://www.esphome.io/components/sensor/ultrasonic.html
- platform: ultrasonic
id: height_value
name: "ESPH ${friendly_name} Distance"
trigger_pin: GPIO2 # Green
echo_pin: GPIO4 # Orange
update_interval: 30s
accuracy_decimals: 2
#timeout: 2m
#pulse_time: 30us
filters:
- sliding_window_moving_average:
window_size: 30
send_every: 10
send_first_at: 10
# https://www.esphome.io/components/sensor/vl53l0x.html