Fix bug with bme pressure

This commit is contained in:
Dmitry Borisenko
2020-08-01 20:06:15 +02:00
parent f7f4e176b2
commit feab9e9afd

View File

@@ -588,7 +588,7 @@ void bme280P() {
void bme280P_reading() {
float value = 0;
value = bme.readPressure();
value = value / 1.333224;
value = value / 1.333224 / 100;
jsonWriteStr(configLiveJson, bme280P_value_name, String(value));
eventGen(bme280P_value_name, "");
MqttClient::publishStatus(bme280P_value_name, String(value));