-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfeinstaub2.yaml
73 lines (61 loc) · 1.24 KB
/
feinstaub2.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
esphome:
name: feinstaub2
friendly_name: feinstaub2
esp32:
board: esp32-s2-saola-1 # actually repurposed development prototype
variant: esp32s2
# Enable logging
logger:
baud_rate: 0
# Enable Home Assistant API
api:
encryption:
key: "VfX4uQdIFW79AyFQIJ12QYKF4N0wUgeE2d6kZE3wiCo="
mqtt:
broker: mqtt.int.vspace.one
ota:
platform: esphome
password: "c439a3074d497c8b47dcbe0211fed7cb"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
manual_ip:
static_ip: 10.0.8.15
subnet: 255.255.252.0
gateway: 10.0.8.1
dns1: 10.0.8.1
dns2: 1.1.1.1
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Feinstaub2 Fallback Hotspot"
password: "f0BBwWJFaID1"
captive_portal:
status_led:
pin: 3
uart:
- rx_pin: 43
baud_rate: 9600
id: pm25uart
- rx_pin: 7
tx_pin: 6
baud_rate: 9600
id: co2uart
sensor:
- platform: mhz19
uart_id: co2uart
co2:
name: "MH-Z19 CO2 Value"
# temperature:
# name: "MH-Z19 Temperature"
- platform: pm1006
uart_id: pm25uart
pm_2_5:
id:
name: "Feinstaub"
- platform: dht
pin: 5
model: DHT22
temperature:
name: "Temperatur"
humidity:
name: "Feuchte"