Sonoff Basic and BME280 - stodev-com-br/Tasmota GitHub Wiki

"BME280 sensor, an environmental sensor with temperature, barometric pressure and humidity", see Datasheet.

Connect BME280 to Sonoff-Basic based on the GPIO locations

  • BME280-3.3V -> Sonoff-3.3V
  • BME280-GND -> Sonoff-GND
  • BME280-SCL -> Sonoff-TX
  • BME280-SDA -> Sonoff-RX

Wiring BME280 with Sonoff BASIC

NOTE:
YOU NEED TO DISABLE SERIAL LOG COMPLETELY TO ALLOW SENSORS ON TX/RX PINS

On the Tasmota web interface go to Configuration->Configure Module and set

GPIO setting