From b27893feb24d6db89e35cf2634e6ab51a1509f24 Mon Sep 17 00:00:00 2001 From: ManuelW Date: Mon, 5 Mar 2018 20:47:04 +0100 Subject: [PATCH] Update ws.ino Add support for humidity correction --- code/espurna/ws.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/code/espurna/ws.ino b/code/espurna/ws.ino index 57059793..4a058793 100644 --- a/code/espurna/ws.ino +++ b/code/espurna/ws.ino @@ -257,6 +257,7 @@ void _wsOnStart(JsonObject& root) { root["webPort"] = getSetting("webPort", WEB_PORT).toInt(); root["tmpUnits"] = getSetting("tmpUnits", SENSOR_TEMPERATURE_UNITS).toInt(); root["tmpCorrection"] = getSetting("tmpCorrection", SENSOR_TEMPERATURE_CORRECTION).toFloat(); + root["humCorrection"] = getSetting("humCorrection", SENSOR_HUMIDITY_CORRECTION).toFloat(); }