Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temperature correction missing for some sensors #1044

Open
steefan85 opened this issue Nov 4, 2024 · 0 comments
Open

Temperature correction missing for some sensors #1044

steefan85 opened this issue Nov 4, 2024 · 0 comments

Comments

@steefan85
Copy link

There is a feature for temperature correction in the settings which I used for my BME280 to lower the temperaure value.
Recently I changed to a SHT3X Sensor and the correction is now ineffective.

I reviewed the code and saw that for BME280 there is a correction

else
{
last_value_BMX280_T = t + readCorrectionOffset(cfg::temp_correction);
last_value_BMX280_P = p;
if (bmx280.sensorID() == BME280_SENSOR_ID)

but for some sensors the correction is missing, e.g.:

else
{
last_value_SHT3X_T = t;
last_value_SHT3X_H = h;

The SHT31x is not the only affected sensor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant