Comments (2)
There's an example of this being implemented before for the BME680 here - pimoroni/bme680-python#11
The BME280 solution should closely reflect this.
from bme280-python.
Using an approximation to calculate dew point, and in turn using that to recalculate the relative humidity seems to work well in my testing. This could be added as an adjusted_humidity()
function, to which a temperature offset value could be passed.
Here's a couple of lines of code that worked for me:
dewpoint = temperature - ((100 - humidity) / 5)
corrected_humidity = 100 - (5 * (corrected_temperature - dewpoint))
from bme280-python.
Related Issues (16)
- test.py example is broken HOT 3
- Correct links on PyPi from https://pypi.org/project/pimoroni-bme280/ HOT 2
- ImportError: No module named bme280 when running all-values.py HOT 10
- bme280 HOT 1
- Breakout board BME280 HOT 2
- Double call of update_sensor() when getting altitude HOT 2
- Should setup() be called on each update? HOT 1
- Unable to find bme280 on 0x76, CHIP_ID returned 58 HOT 2
- ValueError: Invalid format specifier when running allvalues.py HOT 1
- ROCK 4 C+
- Binho Nova adapter instructions
- Raspberry Pi hangs in forced mode HOT 5
- install.sh error HOT 2
- Remind user to turn on I2C if using raspi HOT 2
- Syntax error in local_altitude.py example HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bme280-python.