|
|
@ -280,9 +280,9 @@ void transmitStatus() { |
|
|
|
StaticJsonBuffer<200> jsonBuffer; |
|
|
|
JsonObject& root = jsonBuffer.createObject(); |
|
|
|
if (bme280.valid) { |
|
|
|
root["temperature"] = bme280.readTemperature(); |
|
|
|
root["humidity"] = bme280.readHumidity(); |
|
|
|
root["pressure"] = bme280.readPressure(); |
|
|
|
root["temperature"] = temp; |
|
|
|
root["humidity"] = humi; |
|
|
|
root["pressure"] = pres; |
|
|
|
} else { |
|
|
|
//root["temperature"] = internal_temp;
|
|
|
|
} |
|
|
|