arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.23k stars 4.81k forks source link

Request - BME280 support #23

Closed smadds closed 7 years ago

smadds commented 7 years ago

I know space is tight, but I'm hoping to standardise on the BME280 temperature/humidity/pressure sensor. Is there any possibility of adding I2C support for it in Tasmota?

(Adafruit seems to be the most popular library, or this cactus.io one more stand-alone)

jaysuk commented 7 years ago

The BME280 is already supported

On 4 February 2017 at 10:07, Simon notifications@github.com wrote:

I know space is tight, but I'm hoping to standardise on the BME280 http://static.cactus.io/docs/sensors/barometric/bme280/BST-BME280_DS001-10.pdf temperature/humidity/pressure sensor. Is there any possibility of adding I2C support for it in Tasmota?

(Adafruit https://github.com/adafruit/Adafruit_BME280_Library seems to be the most popular library, or this cactus.io http://cactus.io/hookups/sensors/barometric/bme280/hookup-arduino-to-bme280-barometric-pressure-sensor one more stand-alone)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/arendst/Sonoff-Tasmota/issues/23, or mute the thread https://github.com/notifications/unsubscribe-auth/ACdJBuHP-rN3mK-klWXHUXM1YT1C9d_6ks5rZE3zgaJpZM4L3Gwy .

smadds commented 7 years ago

OK thanks @jaysuk. I was mistakenly looking for it in the list of sensor options. Do you know how to access it? Does allocating SCL and SDA pins enable a search for sensors?

jaysuk commented 7 years ago

yes, that should be sufficient.

On 4 February 2017 at 10:51, Simon notifications@github.com wrote:

OK thanks @jaysuk https://github.com/jaysuk. I was mistakenly looking for it in the list of sensor options. Do you know how to access it? Does allocating SCL and SDA pins enable a search for sensors?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/arendst/Sonoff-Tasmota/issues/23#issuecomment-277435133, or mute the thread https://github.com/notifications/unsubscribe-auth/ACdJBmcXfF4jDZZn-3ofEJhqszSDS6d2ks5rZFg0gaJpZM4L3Gwy .

arendst commented 7 years ago

For some I2C devices power cycling of sonoff is needed.

marksmanaz commented 4 years ago

I am compiling Tasmota to add support for the seven segment display and I want to use the BME280 sensor but it wont load drivers. I have tried #define USE_BME280 in the user override but it won't load. i2cscan finds the sensor. can I include the driver when compiling on my own? I can't use the sensor bin because it doesn't include my display driver.

Thanks

Never mind I found the reference in the my_user_config to USE_BMP all working now.

Thanks you