-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathairquality.yaml
55 lines (49 loc) · 998 Bytes
/
airquality.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
substitutions:
name: airquality
<<: !include ./includes/common.yaml
<<: !include ./includes/bluetooth_proxy.yaml
uart:
- id: pmsx
tx_pin: GPIO13
rx_pin: GPIO12
baud_rate: 9600
sensor:
- platform: uptime
name: Uptime
- platform: wifi_signal
name: WiFi Signal
update_interval: 60s
- platform: pmsx003
type: pmsx003
uart_id: pmsx
pm_1_0:
name: "PM <1.0µm"
filters:
- debounce: 10s
pm_2_5:
name: "PM <2.5µm"
filters:
- debounce: 10s
pm_10_0:
name: "PM <10.0µm"
filters:
- debounce: 10s
# temperature:
# name: "Temperature"
# filters:
# - debounce: 10s
# humidity:
# name: "Humidity"
# filters:
# - debounce: 10s
# formaldehyde:
# name: "Formaldehyde"
# filters:
# - debounce: 10s
update_interval: 30s
switch:
- platform: gpio
pin:
number: GPIO14
id: pms_set
name: "Start measuring"