mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
Fix bug with bme pressure
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user