Built serverroom sensor and exchanged DHT22 with BMP280.
This commit is contained in:
parent
ebe089df5f
commit
84695a5a5f
@ -2,11 +2,6 @@ esphome:
|
||||
name: serverroom
|
||||
platform: ESP32
|
||||
board: nodemcu-32s
|
||||
on_boot:
|
||||
priority: -10
|
||||
then:
|
||||
- delay: 10s
|
||||
- component.update: eink
|
||||
|
||||
wifi:
|
||||
ssid: "Voltage-legacy"
|
||||
@ -34,15 +29,31 @@ api:
|
||||
ota:
|
||||
password: !secret ota
|
||||
|
||||
# Initialize I²C
|
||||
i2c:
|
||||
- id: bus_a
|
||||
sda: 32
|
||||
scl: 25
|
||||
scan: true
|
||||
|
||||
# DHT22 sensor
|
||||
sensor:
|
||||
- platform: dht
|
||||
model: dht22
|
||||
pin: 22
|
||||
# - platform: dht
|
||||
# model: dht22
|
||||
# pin: 22
|
||||
# temperature:
|
||||
# name: "Temperatur Serverraum"
|
||||
# humidity:
|
||||
# name: "Luftfeuchtigkeit Serverraum"
|
||||
# update_interval: 60s
|
||||
- platform: bmp280
|
||||
i2c_id: bus_a
|
||||
temperature:
|
||||
name: "Temperatur Serverraum"
|
||||
humidity:
|
||||
name: "Luftfeuchtigkeit Serverraum"
|
||||
name: "Serveraum Temperatur"
|
||||
oversampling: 16x
|
||||
pressure:
|
||||
name: "Luftdruck"
|
||||
address: 0x76
|
||||
update_interval: 60s
|
||||
|
||||
# WiFi signal strength
|
||||
|
Loading…
Reference in New Issue
Block a user