diff --git a/firmware/config.h b/firmware/config.h index 3f592b2..c24f67e 100644 --- a/firmware/config.h +++ b/firmware/config.h @@ -19,7 +19,7 @@ #define WIFI_AUTOCONNECT_TIMEOUT_S 120 #define WIFI_CONFIG_PORTAL_TIMEOUT_S 120 #define UPDATE_SENSOR_INTERVAL_S 300 -#define UPDATE_WEBSERVER_INTVERVAL_S 1 // Do not change, bigger values will prevent using the webinterface +#define UPDATE_WEBSERVER_INTVERVAL_S 1 // Do not change, bigger values will prevent using webupdater webinterface #define DELAY_LOOP_MS 50 #define POWERSAVING_SLEEP_S 600 #define EMERGENCY_SLEEP_S 172800 // Sleep for 2 days to recover diff --git a/firmware/webUpdater.ino b/firmware/webUpdater.ino index 15f5cc1..d14ae57 100644 --- a/firmware/webUpdater.ino +++ b/firmware/webUpdater.ino @@ -96,7 +96,7 @@ void hb_webstat_send(void) String(_webUpdater_sensValues[SENSOR_HUMIDITY], 2) + ", " + hb_ws_msg_light + - String(_webUpdater_sensValues[SENSOR_LIGHT], 2) + + String(_webUpdater_sensValues[SENSOR_LIGHT], 0) + // The light level for the homebridge-http-lux2 plugin is only able to parse integer values ", " + hb_ws_msg_windspeed + String(_webUpdater_sensValues[SENSOR_WINDSPEED], 2) +