diff --git a/esphome/badezimmer-luft.yaml b/esphome/badezimmer-luft.yaml index d39bd2b..6fd6dd6 100644 --- a/esphome/badezimmer-luft.yaml +++ b/esphome/badezimmer-luft.yaml @@ -42,16 +42,34 @@ ota: platform: esphome password: !secret ota +# Initialize I²C +i2c: + - id: bus_a + sda: 6 + scl: 7 + scan: true + # DHT22 sensor sensor: - platform: dht model: dht22 pin: 4 + temperature: + name: "Badezimmer Temperatur DHT" + humidity: + name: "Badezimmer Luftfeuchtigkeit DHT" + update_interval: 60s + - platform: sht3xd temperature: name: "Badezimmer Temperatur" + filters: + - offset: -4.4 humidity: name: "Badezimmer Luftfeuchtigkeit" + address: 0x44 + heater_enabled: True update_interval: 60s + # WiFi signal strength - platform: wifi_signal name: "WiFi Signalstärke"