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.

Source Distribution

pimoroni-bme280-0.1.1.tar.gz (5.5 kB view details)

Uploaded Source

Built Distributions

pimoroni_bme280-0.1.1-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

pimoroni_bme280-0.1.1-py2-none-any.whl (5.5 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: pimoroni-bme280-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 2b765bef20d6ca7969fa70119bdf04d9cb81b57587fefa875e3bef4f8ce63f12
MD5 dd6c2f2f8caa9503ac6808ffa75b94ef
BLAKE2b-256 dd1a165af07b77a70d37bf0b6946f7d857d8f688f130bbbddf0611af4fe5f282

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pimoroni_bme280-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 089bccd5b16345117ee7152f65ed7547bb5496bc074ba3cb2061187c263c290c
MD5 6322cb195edf2c94e3259e89f179b956
BLAKE2b-256 4e15f04ee9e2bd048be36e7ce67887032f5741a02fa512c4573d68a0e9bba641

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pimoroni_bme280-0.1.1-py2-none-any.whl
  • Upload date:
  • Size: 5.5 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.1-py2-none-any.whl
Algorithm Hash digest
SHA256 b3c24df2d92f149bce87b2d82d4e57c38af832fe5d169741dbef2181b435d5ce
MD5 6ded385fb1d976906415b801570e0f49
BLAKE2b-256 1c7a33b66480dc372acc6699dd4049bbd2b686ab9a35474a1f01b0b43836a0b8

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