-
Notifications
You must be signed in to change notification settings - Fork 0
/
weatherstation.yaml
50 lines (45 loc) · 1.06 KB
/
weatherstation.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
---
substitutions:
device: weatherstation
name: Weather Station
update_interval: 10min
esphome:
name: ${device}
platform: ESP8266
board: nodemcuv2
<<: !include common/common.yaml
<<: !include common/logger.yaml
<<: !include common/switch.yaml
dallas:
- pin: GPIO14
binary_sensor:
- !include common/binary_sensor/status.yaml
- platform: gpio
pin:
number: GPIO2
inverted: true
name: "Weather Station Rain"
device_class: moisture
filters:
delayed_off: 900000ms # 15min
sensor:
- !include common/sensor/wifi-signal.yaml
- !include common/sensor/uptime.yaml
- platform: dallas
address: 0x5802131211A7AA28
name: "Weather Station Temperature"
# - platform: integration
# name: "Total Daily Rain"
# sensor: rain_meter
# time_unit: d
# - platform: integration
# name: "Total hourly Rain"
# sensor: rain_meter
# time_unit: h
# - platform: pulse_counter
# pin: D6
# unit_of_measurement: 'mm'
# name: 'Rain Meter'
# filters:
# - multiply: 1.298
# id: rain_meter