switch to wifi without multi ssid

This commit is contained in:
Nicu Hodos 2024-06-30 13:52:44 +02:00
parent 4d881a96bd
commit 0837dc8fe8
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ namespace Display {
} }
if (currentHour == 8) { if (currentHour == 8) {
Brightness::set(BRIGHTNESS_DAY); Brightness::set(BRIGHTNESS_DAY);
Wifi::tReconnect.enable(); Wifi::tConnect.enable();
} }
if (currentHour == 17) { if (currentHour == 17) {
Brightness::set(BRIGHTNESS_NIGHT); Brightness::set(BRIGHTNESS_NIGHT);

View File

@ -21,7 +21,7 @@ lib_deps =
adafruit/Adafruit Unified Sensor @ ^1.1.4 adafruit/Adafruit Unified Sensor @ ^1.1.4
adafruit/Adafruit BME280 Library@^2.2.4 adafruit/Adafruit BME280 Library@^2.2.4
sparkfun/SparkFun BME280@^2.0.9 sparkfun/SparkFun BME280@^2.0.9
https://git.hodos.ro/libraries/wifi.git@^1.0.1 https://git.hodos.ro/libraries/wifi.git@^2.0.0
https://git.hodos.ro/libraries/ha-mqtt.git@^1.0.0 https://git.hodos.ro/libraries/ha-mqtt.git@^1.0.0
build_flags = -D WIFI_ALWAYS_ON=1 -D ADAFRUIT_BME=1 build_flags = -D WIFI_ALWAYS_ON=1 -D ADAFRUIT_BME=1