-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.yaml
49 lines (40 loc) · 1.01 KB
/
main.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
---
substitutions:
node_name: climate-indoor
pin_led_status: GPIO21
pin_i2c: GPIO18
pin_uart_rx: GPIO17
pin_uart_tx: GPIO16
board: 'nodemcu-32s'
platform: 'ESP32'
log_level: VERY_VERBOSE
packages:
device_base: !include ../common/device_base.yaml
# PMSX003
uart:
rx_pin: ${pin_uart_rx}
tx_pin: ${pin_uart_tx}
baud_rate: 9600
# as3935_i2c:
# irq_pin: ${pin_i2c}
i2c:
# see https://esphome.io/components/sensor/bme680_bsec.html
bme680_bsec:
address: 0x76
temperature_offset: ${bme680_temperature_offset}
iaq_mode: static
sample_rate: ${bosch_sample_rate}
state_save_interval: 2h
# dallas:
# - pin: GPIO13
# binary_sensor:
# - <<: !include ../common/binary_sensor/as3935.yaml
text_sensor:
- <<: !include ../common/text_sensor/bme680.yaml
sensor:
- <<: !include ../common/sensor/bme680.yaml
- <<: !include ../common/sensor/pmsx003.yaml
# - <<: !include ../common/sensor/as3935.yaml
# - <<: !include ../common/sensor/aqi.yaml
# script:
# - <<: !include ../common/script/aqi.yaml