-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshed.yaml
54 lines (48 loc) · 1.09 KB
/
shed.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
substitutions:
devicename: shed
devicename_upper: Shed
<<: !include ./.base.yaml
i2c:
sda: GPIO4
scl: GPIO5
bme680_bsec:
address: 0x77
sample_rate: lp
sensor:
- platform: bme680_bsec
temperature:
name: "${devicename_upper} Temperature"
filters:
- median
humidity:
name: "${devicename_upper} Humidity"
filters:
- median
pressure:
name: "${devicename_upper} Pressure"
filters:
- median
co2_equivalent:
# CO2 equivalent estimate in ppm
name: "${devicename_upper} CO2 Equivalent"
filters:
- median
breath_voc_equivalent:
# Volatile organic compounds equivalent estimate in ppm
name: "${devicename_upper} Breath VOC Equivalent"
filters:
- median
## Brightness
- platform: adc
pin: A0
name: "${devicename_upper} Illuminance"
unit_of_measurement: lx
filters:
- lambda: |-
return (x / 10000.0) * 2000000.0;
## PIR Motion Sensor
binary_sensor:
- platform: gpio
pin: D8
name: "${devicename_upper} PIR"
device_class: motion