ESPHome - D1 mini - two different temp sensors

I have a DH11 connected to D! mini through ESPhome successfully with a binary sensor as well.

Now I would like to know if it is possible to connect a BME20 to the D1 mini along side of DH11.

Probably not right?

Why not?

If you have the GPIOs available there’s nothing stopping you.

Using D4 as input for the DHT did not work, D3 works fine… just check.

i2c:
  scl: D1
  sda: D2

sensor:
  - platform: bme280
    temperature:
      name: "Temperature"
      oversampling: 16x
      id: temp
    pressure:
      name: "Pressure"
    humidity:
      name: "Humidity"
      id: hum
    address: 0x76
    update_interval: 5s

  - platform: dht
    pin: D3
# Change model type to AUTO_DETECT, DHT11, DHT22, DHT22_TYPE2, AM2302, RHT03 or SI7021    
model: AM2302
    temperature:
      name: "Living Room Temperature"
    humidity:
      name: "Living Room Humidity"
    update_interval: 5s
1 Like