diff --git a/esphome/serverroom.yaml b/esphome/serverroom.yaml index 44d17a5..f5c5a77 100644 --- a/esphome/serverroom.yaml +++ b/esphome/serverroom.yaml @@ -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