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.

Pre-requisites

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.

Installing

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 https://github.com/pimoroni/bme280-python
  • cd bme280-python
  • sudo ./install.sh

Changelog

0.1.1

  • Fix so package is included in .whl releases

0.1.0

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

0.0.2

  • Update to i2cdevice>=0.0.6 set/get API

0.0.1

  • 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