Skip to main content

Python library for the bme280 temperature, pressure and humidity sensor

Project description

BME280 Temperature, Pressure, & Humidity Sensor

Build Status Coverage Status PyPi Package Python Versions

Suitable for measuring ambient temperature, barometric pressure, and humidity, the BME280 is a great indoor environmental sensor.


You must enable:

  • i2c: sudo raspi-config nonint do_i2c 0

You can optionally run sudo raspi-config or the graphical Raspberry Pi Configuration UI to enable interfaces.


Stable library from PyPi, the smbus library is also needed:

  • Just run sudo pip install pimoroni-bme280 smbus

Latest/development library from GitHub:

  • git clone
  • cd bme280-python
  • sudo ./



  • Fix so package is included in .whl releases


  • Switch to setup.cfg
  • Match humidity compensation to BOSCH formula


  • Update to i2cdevice>=0.0.6 set/get API


  • Initial Release

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pimoroni-bme280, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size pimoroni_bme280-0.1.1-py2-none-any.whl (5.5 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size pimoroni_bme280-0.1.1-py3-none-any.whl (5.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pimoroni-bme280-0.1.1.tar.gz (5.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page