iotWebConf->getApTimeoutParameter()->defaultValue=STRINGIFY(ACCESS_POINT_TIMEOUT);// Defined as number in config.h but stored as string in webconf.
iotWebConf->getApTimeoutParameter()->defaultValue=STRINGIFY(ACCESS_POINT_TIMEOUT);// Defined as number in config.h but stored as string in webconf.
co2Params.addItem(×tepParam);
co2Params.addItem(×tepParam);
co2Params.addItem(&temperatureOffsetParam);
temperatureOffsetParam.visible=false;// Not needed for S8
co2Params.addItem(&altitudeParam);
altitudeParam.visible=false;// Not needed either for S8
co2Params.addItem(&atmosphericCO2Param);
atmosphericCO2Param.visible=false;// Hard coded 400ppm for S8 :-/
co2Params.addItem(&autoCalibrateParam);
co2Params.addItem(&autoCalibrateParam);
ledParams.addItem(&minBrightnessParam);
ledParams.addItem(&minBrightnessParam);
...
@@ -342,10 +325,7 @@ namespace config {
...
@@ -342,10 +325,7 @@ namespace config {
// Sensor
// Sensor
uint16_t&measurement_timestep=web_config::timestepParam.value();// [s] Measurement happen every 4s anyway on S8. How often should the values be displayed?
uint16_t&measurement_timestep=web_config::timestepParam.value();// [s] Measurement happen every 4s anyway on S8. How often should the values be displayed?