Built serverroom sensor and exchanged DHT22 with BMP280.

This commit is contained in:
Marcus Scholz 2021-12-31 00:41:07 +01:00
parent ebe089df5f
commit 84695a5a5f

View File

@ -2,11 +2,6 @@ esphome:
name: serverroom name: serverroom
platform: ESP32 platform: ESP32
board: nodemcu-32s board: nodemcu-32s
on_boot:
priority: -10
then:
- delay: 10s
- component.update: eink
wifi: wifi:
ssid: "Voltage-legacy" ssid: "Voltage-legacy"
@ -34,15 +29,31 @@ api:
ota: ota:
password: !secret ota password: !secret ota
# Initialize I²C
i2c:
- id: bus_a
sda: 32
scl: 25
scan: true
# DHT22 sensor # DHT22 sensor
sensor: sensor:
- platform: dht # - platform: dht
model: dht22 # model: dht22
pin: 22 # pin: 22
# temperature:
# name: "Temperatur Serverraum"
# humidity:
# name: "Luftfeuchtigkeit Serverraum"
# update_interval: 60s
- platform: bmp280
i2c_id: bus_a
temperature: temperature:
name: "Temperatur Serverraum" name: "Serveraum Temperatur"
humidity: oversampling: 16x
name: "Luftfeuchtigkeit Serverraum" pressure:
name: "Luftdruck"
address: 0x76
update_interval: 60s update_interval: 60s
# WiFi signal strength # WiFi signal strength