From 996af08d6e4268e0a2f086c71aaa61c6af1986f6 Mon Sep 17 00:00:00 2001 From: Dmitry Borisenko <49808844+DmitryBorisenko33@users.noreply.github.com> Date: Tue, 26 May 2020 18:18:51 +0200 Subject: [PATCH] bme pressure bug fixed --- Sensors.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/Sensors.ino b/Sensors.ino index 822949a0..6f234457 100644 --- a/Sensors.ino +++ b/Sensors.ino @@ -501,6 +501,7 @@ void bme280P() { void bme280P_reading() { float value = 0; value = bme.readPressure(); + value = value / 1.333224; jsonWriteStr(configJson, bme280P_value_name, String(value)); eventGen(bme280P_value_name, ""); sendSTATUS(bme280P_value_name, String(value));