forked from t-paul/esphome-devices
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbme280_bad.yaml
47 lines (39 loc) · 828 Bytes
/
bme280_bad.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
esphome:
name: bad
platform: ESP8266
board: d1_mini
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "BME280-Bad"
password: !secret captive_portal_password
captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: !secret api_psk
ota:
- platform: esphome
password: !secret ota_password
i2c:
sda: GPIO4 #D2
scl: GPIO5 #D1
scan: True
frequency: 10kHz
id: bus_a
# https://lastminuteengineers.com/bme280-arduino-tutorial/
sensor:
- platform: bme280_i2c
temperature:
name: "Bad Temperature"
oversampling: 16x
pressure:
name: "Bad Pressure"
humidity:
name: "Bad Humidity"
address: 0x76
update_interval: 60s