-
-
Notifications
You must be signed in to change notification settings - Fork 323
Open
Description
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
sensors-software/airrohr-firmware/airrohr-firmware.ino
Lines 3410 to 3414 in 27f6313
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.:
sensors-software/airrohr-firmware/airrohr-firmware.ino
Lines 3349 to 3352 in 27f6313
else | |
{ | |
last_value_SHT3X_T = t; | |
last_value_SHT3X_H = h; |
The SHT31x is not the only affected sensor.
Metadata
Metadata
Assignees
Labels
No labels