BME280 Temperature, Pressure, & Humidity Sensor
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-pythoncd bme280-pythonsudo ./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
Metadata
Release files for pimoroni-bme280 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pimoroni_bme280-1.0.0.tar.gz | 13.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pimoroni_bme280-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.9 kB
Release files / pimoroni_bme280-1.0.0.tar.gz
| Download URL | pimoroni_bme280-1.0.0.tar.gz |
|---|---|
| Size | 13.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2cafc2b636535c5dc01df37c0b0bd8c0b5d0228da23a177ec8884c31db3ec05c
|
|
BLAKE2b-256 checksum How to use checksums |
696e9b34cf9149e23fdd521440ae6a2786e77d542a4ccefef8bc2d00341a1f71
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Release files / pimoroni_bme280-1.0.0-py3-none-any.whl
| Download URL | pimoroni_bme280-1.0.0-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7415a037ba3dd14ce40d705bb006e02f53b276c72aef75fda5ea86daef666a4f
|
|
BLAKE2b-256 checksum How to use checksums |
366c76303eaaf79a2e8c68b00875fa8191c422639568e4dc9a3c5ec5b9a34604
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Security for pimoroni-bme280 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.