Implementing multiple sensors YAML

Hello,

My current problem is probably quite simple. I would like to monitor the indoor air quality, using multiple sensors. I have the BME680 installed and would like to run a plantower particle matter sensor next to it, and in the future extend this to more/better sensors. I have trouble extending my current YAML code to include more than the BME680. My questions is, how do I extend the following yaml code to also include my particle matter sensor, which should be connected correctly (5V and GND work, fan is working) Pin 4 to D6 and pin 5 to D7. My current code to run the BME680 is:

esphome:
  name: esphome-web-something
  friendly_name: airquality

esp8266:
  board: nodemcuv2

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "key"

ota:

wifi:
  ssid: "ssid"
  password: "password:"
  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "ssid:"
    password: "password:"

i2c:
  sda: GPIO4
  scl: GPIO5


bme680_bsec:
    address: 0x77

sensor:
  - platform: bme680_bsec
    temperature:
      name: "BME680 Temperature"
    pressure:
      name: "BME680 Pressure"
    humidity:
      name: "BME680 Humidity"
    iaq:
      name: "BME680 IAQ"
    co2_equivalent:
      name: "BME680 CO2 Equivalent"
    breath_voc_equivalent:
      name: "BME680 Breath VOC Equivalent"
    #update_interval: 5s
# Example text sensor for air quality status
text_sensor:
  - platform: bme680_bsec
    iaq_accuracy:
      name: "BME680 IAQ Accuracy"


This is probably a good one for you to look at.

It’s from the ESPHome guides page.

1 Like

What is it, exactly.
Is it I²C as well? If so, you can just wire it in serie, I²C is a bus.