-
Notifications
You must be signed in to change notification settings - Fork 0
/
weerhuisje.yaml
55 lines (47 loc) · 1.22 KB
/
weerhuisje.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
substitutions:
devicename: weerhuisje
friendly_name: Weerhuisje
device_description: Zelfgebouwd weerhuisje in onze achtertuin
################ Generics ################
esphome:
name: $devicename
friendly_name: ${friendly_name}
comment: "${device_description}"
esp8266:
board: nodemcuv2
wifi:
manual_ip:
static_ip: !secret wifi_static_ip_weerhuisje
# General settings: captive portal, logger, api, ota, time, restart switch, wifi
# General sensors: status, uptime, version, wifi info etc
packages:
general_settings: !include includes/general_settings.yaml
general_sensors: !include includes/general_sensors.yaml
################ Components ################
# Enable UART for SDS011
uart:
rx_pin: D1
tx_pin: D2
baud_rate: 9600
# Enable i2c for BME280
i2c:
sda: D5
scl: D6
scan: false
################ Sensors ################
sensor:
- platform: sds011
pm_2_5:
name: "Particulate Matter <2.5µm Concentration"
pm_10_0:
name: "Particulate Matter <10.0µm Concentration"
update_interval: 20min
- platform: bme280_i2c
update_interval: 120s
address: 0x76
temperature:
name: "Temperature"
pressure:
name: "Pressure"
humidity:
name: "Humidity"