FW release ESPEasy_ESP82xx_mega-20210223 - ESP8266 4M. Custom.h, own compilation.
I live at an altitude of 157 above sea level.
I would like the BME680 sensor to show the pressure reduced to sea level, as it is given in the weather forecasts. There is a suitable place in the setup to enter the height at which the sensor is located. But the driver always returns the absolute value, regardless of the height value entered.
In contrast, the driver of the BMP180 sensor, after entering the height of 157m in the same field, calculates the pressure according to the height.
How can this problem be solved?
BME680 atitude problem in mega-20210223
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 531
- Joined: 07 Jun 2018, 06:47
- Location: Gdynia/Poland
Re: BME680 atitude problem in mega-20210223
Sounds like a bug.
Can you make a GitHub issue for it so I won't forget it?
Can you make a GitHub issue for it so I won't forget it?
Re: BME680 atitude problem in mega-20210223
From a quick review of the P106_BME680 plugin I saw that it ignores the altitude offset value.
To fix this I suggest looking at the P006_BMP085 plugin's pressureElevation() function. It should provide inspiration on how to incorporate the altitude into the BME680's pressure value.
- Thomas
EDIT: Looks like TD-er beat me to this. Yup, this bug needs some coding love.
To fix this I suggest looking at the P006_BMP085 plugin's pressureElevation() function. It should provide inspiration on how to incorporate the altitude into the BME680's pressure value.
- Thomas
EDIT: Looks like TD-er beat me to this. Yup, this bug needs some coding love.
-
- Normal user
- Posts: 531
- Joined: 07 Jun 2018, 06:47
- Location: Gdynia/Poland
Re: BME680 atitude problem in mega-20210223
OK. Fine. Work in progress. So will wait. THX !
Re: BME680 atitude problem in mega-20210223
It was already merged, so if you could test that would be appreciated.
Here are some binaries, but it looks like all "testing" builds have failed due to size.
https://github.com/letscontrolit/ESPEas ... /787263536
-
- Normal user
- Posts: 531
- Joined: 07 Jun 2018, 06:47
- Location: Gdynia/Poland
Re: BME680 atitude problem in mega-20210223
OK. Solved in mega-20210503. THX !
Who is online
Users browsing this forum: No registered users and 54 guests