Python library for the bme280 temperature, pressure and humidity sensor
Project description
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-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 hashes)
Built Distribution
Close
Hashes for pimoroni_bme280-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7415a037ba3dd14ce40d705bb006e02f53b276c72aef75fda5ea86daef666a4f |
|
MD5 | 68784fb07041136c6a13c2a61b4554fd |
|
BLAKE2b-256 | 366c76303eaaf79a2e8c68b00875fa8191c422639568e4dc9a3c5ec5b9a34604 |