-
Notifications
You must be signed in to change notification settings - Fork 0
BME280 Temperature, Humidity and Pressure Sensor and Sonoff Basic with Tasmota
"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
NOTE:
YOU NEED TO DISABLE SERIAL LOG COMPLETLY TO ALLOW SENSORS ON TX/RX PINS
On Tasmota web interface go to „Configuration->Configure Module“ and set
Make sure I2C sensor is enabled before compiling:
// -- I2C sensors ---------------------------------
#define USE_I2C // I2C using library wire (+10k code, 0k2 mem, 124 iram)
#ifdef USE_I2C
#define USE_BMP // Enable BMP085/BMP180/BMP280/BME280 sensor (I2C address 0x76 or 0x77) (+4k code)
This guide was tested with:
Home
What's New
Contributing
Installation
Prerequisites
Hardware Preparation
Flashing
Initial Configuration
MQTT
Upgrading
Troubleshooting
Tutorials
FAQ
Features
Commands
Templates
Modules
Components
Rules
Smart Home Integrations
Device Configuration
Device Templates Repository
Flashing Guides
Buttons and Switches
Sensors
Lights
Displays
Useful Topics
Power Monitoring Calibration
MQTT Overview
MQTT Retained Messages
Energy Saving
Securing Your Setup
Syslog Setup
Theo's Tips
Various Tips
LEGO Nightstand Switch
For Developers
JSON Status Responses
Sensor API
Time Proportioned Output Fork
PID Control Fork