Browse Source

Update ws.ino

Add support for humidity correction
rfm69
ManuelW 6 years ago
committed by GitHub
parent
commit
b27893feb2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      code/espurna/ws.ino

+ 1
- 0
code/espurna/ws.ino View File

@ -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();
}


Loading…
Cancel
Save