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.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-0.1.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distributions

pimoroni_bme280-0.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

pimoroni_bme280-0.1.0-py2-none-any.whl (2.8 kB view details)

Uploaded Python 2

File details

Details for the file pimoroni-bme280-0.1.0.tar.gz.

File metadata

  • Download URL: pimoroni-bme280-0.1.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.3

File hashes

Hashes for pimoroni-bme280-0.1.0.tar.gz
Algorithm Hash digest
SHA256 674bca341f547478543385eddc4edd0d1a8673fc4d3a60791bd9977109be278c
MD5 2bf924d3aace3dd2b2da382e227de50d
BLAKE2b-256 7be1b6aa817c41c46b2ea323b7b0f0e41c53fecd952569a01e888c22f3f125fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pimoroni_bme280-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.3

File hashes

Hashes for pimoroni_bme280-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5f579f5d4012c28df669095dc6dcf6382c884e9504653a76d617e11fd8ba3156
MD5 e97b6754c8e53eab234e9f30ec5535b2
BLAKE2b-256 aac81251f134218b91418e341af89b23a7ceb90001bdd7c07e129717977de3a4

See more details on using hashes here.

File details

Details for the file pimoroni_bme280-0.1.0-py2-none-any.whl.

File metadata

  • Download URL: pimoroni_bme280-0.1.0-py2-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.3

File hashes

Hashes for pimoroni_bme280-0.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 24f562c173b13da4c26e7c63d4ec3d3269992bca38646b91650e5aacd83777d8
MD5 72f52a953ea4e05131fc0388781fd1a2
BLAKE2b-256 61be466246d3333466baf21bbcd55660c864f54ac197228128d6a3c398689c79

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