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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file pimoroni_bme280-1.0.0.tar.gz.

File metadata

  • Download URL: pimoroni_bme280-1.0.0.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for pimoroni_bme280-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2cafc2b636535c5dc01df37c0b0bd8c0b5d0228da23a177ec8884c31db3ec05c
MD5 39cb96214be7bb4ef98139bfd56043f2
BLAKE2b-256 696e9b34cf9149e23fdd521440ae6a2786e77d542a4ccefef8bc2d00341a1f71

See more details on using hashes here.

File details

Details for the file pimoroni_bme280-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pimoroni_bme280-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7415a037ba3dd14ce40d705bb006e02f53b276c72aef75fda5ea86daef666a4f
MD5 68784fb07041136c6a13c2a61b4554fd
BLAKE2b-256 366c76303eaaf79a2e8c68b00875fa8191c422639568e4dc9a3c5ec5b9a34604

See more details on using hashes here.

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