-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathesphome-web-9eebf4.yaml
97 lines (82 loc) · 1.84 KB
/
esphome-web-9eebf4.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
substitutions:
devicename: esphome-web-9eebf4
friendly_devicename: "Pool Skimmer"
deviceip: 192.168.0.138
esphome:
name: ${devicename}
friendly_name: ${friendly_devicename}
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "BZi9j/zOhXQOXMWLe5aGxtTfuFkF7hrxNcdGdfqtBKI="
ota:
wifi:
networks:
- ssid: !secret wifi_ssid
password: !secret wifi_password
# Optional manual IP
manual_ip:
static_ip: ${deviceip}
gateway: 192.168.0.1
subnet: 255.255.255.0
dns1: 192.168.0.1
captive_portal:
#deep_sleep:
# run_duration: 60s
# sleep_duration: 9min
binary_sensor:
- platform: gpio
pin:
number: GPIO32
id: switch1
mode:
input: True
pullup: True
name: "High Water"
id: water_hi
device_class: moisture
# NOTE: sensor may bounce between wet/dry from people splashing in pool.
filters:
- delayed_on_off: 5s
- platform: gpio
pin:
number: GPIO33
id: switch2
mode:
input: True
pullup: True
name: "Low Water"
id: water_lo
device_class: moisture
# NOTE: sensor may bounce between wet/dry from people splashing in pool.
filters:
- delayed_on_off: 5s
dallas:
- pin: GPIO16
update_interval: 60s
sensor:
- platform: dallas
address: 0xc53de10457d7ea28
name: "Water Temperature"
id: water_temperature
device_class: "temperature"
state_class: "measurement"
accuracy_decimals: 1
filters:
- offset: -0.3
- sliding_window_moving_average:
window_size: 10
send_every: 5
- platform: wifi_signal
name: "WiFi Signal dB"
id: wifi_signal_db
entity_category: "diagnostic"
update_interval: 120s
- platform: internal_temperature
name: "CPU Temperature"