DHT20 temperatur and huminity sensor - how to with esphome

Hi,
i just received my new temp-hum-sensors. So i wanted to install them like discreibed here:

But unfortunatly i bought the new dht20 sensor, with a 4 pin layout. And i havent found any videos ot tutorial for using it, with a d1mini or other esp8266 board.
Is there somebody, that get this sensor with esphome working?

regards

It’s really an AHT20:

Don’t forget to configure i2c - the example skips that bit…

1 Like
# Example configuration entry for ESP32
i2c:
  sda: GPIO4 # D2 # GPIO21 for ESP32
  scl: GPIO5 # D1 # GPIO22 For ESP32
# Example configuration entry
sensor:
  - platform: aht10 #dht12 #am2320 #
    temperature:
      name: "dht20 Temperature"
    humidity:
      name: "dht20 Humidity"
    update_interval: 60s
  - platform: dht
    pin: D3
    temperature:
      name: "dht11 Temperature"
    humidity:
      name: "dht11 Humidity"
    update_interval: 60s