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 python3 -m pip install pimoroni-bme280

Latest/development library from GitHub:

  • git clone https://github.com/pimoroni/bme280-python
  • cd bme280-python
  • sudo ./install.sh

1.0.0

  • Repackage to hatch/pyproject.toml
  • Require i2cdevice>=1.0.0 (smbus2)

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.

Source Distribution

pimoroni_bme280-1.0.0.tar.gz (13.1 kB view hashes)

Uploaded Source

Built Distribution

pimoroni_bme280-1.0.0-py3-none-any.whl (7.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page