Skip to main content

BME68X and BSEC2.0 for Python by pi3g

This Python extension enables you to read measurement data by the BME68X sensor and the BSEC2.0 library from BOSCH.
The BME68X sensors by BOSCH Sensortec measure temperature, pressure and humidity.
Most importantly the sensor estimates the air pollution by recording the amount of VOCs (Volatile Organic Compounds).
With use of the (licensed) BSEC library from BOSCH, this allows for measuring the IAQ (Indoor Air Quality).

How to install the extension without BSEC

pip3 install bme68x

How to install the extension with BSEC

  • clone this repo to a desired location on you hard drive
  • download the licensed BSEC2.0 library from BOSCH
  • unzip it into the bme68x-python-library-main folder, next to this README.md
  • open a new terminal window inside the bme68x-python-library-main folder
sudo python3 setup.py install

How to use the extension

  • to import in Python
import bme68x

or

from bme68x import BME68X
  • see PythonDocumentation.md for reference
  • to test the installation make sure you connected your BME68X sensor via I2C
  • run the following code in a Python3 interpreter
from bme68x import BME68X

# Replace I2C_ADDR with the I2C address of your sensor
# Either 0x76 (default for BME680) or 0x77 (default for BME688)
BME68X(I2C_ADDR, 0).get_data()

For documentation and examples please refer to our GitHub

For feedback, bug reports or functionality requests send an E-mail to nathan@pi3g.com

pi3g logo
pi3g is an official approved Raspberry Pi reseller, and a Coral Machine Learning Platform (from Google) distribution partner.
We take care of all your Raspberry Pi and Coral related hardware and software development, sourcing, accessory and consulting needs!
Check out our homepage and file your personal software or hardware request.
Also visit our shop.

Release files for bme68x 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bme68x 1.0.4
File Size Uploaded
bme68x-1.0.4.tar.gz 32.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bme68x 1.0.4
File Interpreter ABI Platform
bme68x-1.0.4-cp37-cp37m-linux_armv7l.whl CPython 3.7 CPython 3.7 pymalloc linux armv7l Details

Total release size: 99.7 kB

Release files / bme68x-1.0.4.tar.gz

Download URL bme68x-1.0.4.tar.gz
Size 32.1 kB
Tags Source
SHA-256 checksum
How to use checksums
75fe2ad7294e184559e501ae1a0301d29f51bdbe6e975f95fa4141fe5b74ed35
BLAKE2b-256 checksum
How to use checksums
cd7828ca9702084066203b07105fa0c5568883c7d77a21bb848c0f55c0df6cef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.3

Release files / bme68x-1.0.4-cp37-cp37m-linux_armv7l.whl

Download URL bme68x-1.0.4-cp37-cp37m-linux_armv7l.whl
Size 67.6 kB
Tags CPython 3.7 CPython 3.7 pymalloc linux armv7l
SHA-256 checksum
How to use checksums
027fc0d349d58d35198aec77df2a3fe7d70b4328e4f124c755bf10107014aebc
BLAKE2b-256 checksum
How to use checksums
2c96a0285c0db9e85c6b0ae5fd7f26f1780349f43eec540f74354000ad8df3fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page