-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathliving-room.yaml
55 lines (46 loc) · 948 Bytes
/
living-room.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
esphome:
name: living-room
platform: ESP32
board: nodemcu-32s
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
web_server:
port: 80
uart:
rx_pin: GPIO23
tx_pin: GPIO22
baud_rate: 9600
i2c:
sda: GPIO33
scl: GPIO32
scan: True
sensor:
- platform: mhz19
id: living_room_mhz19
co2:
name: "Living Room CO2"
temperature:
name: "Living Room Temperature"
update_interval: 60s
automatic_baseline_calibration: false
- platform: bme280
temperature:
name: "Living Room Temperature 2"
pressure:
name: "Living Room Pressure"
humidity:
name: "Living Room Humidity"
address: 0x76
update_interval: 60s
switch:
- platform: restart
name: "Living Room Restart"
- platform: template
name: "Living Room CO2 Baseline Calibration"
assumed_state: true
turn_on_action:
- mhz19.calibrate_zero: living_room_mhz19
logger:
api:
ota: