From 0837dc8fe889d43ad0e3939eab27476d5e523004 Mon Sep 17 00:00:00 2001 From: Nicu Hodos Date: Sun, 30 Jun 2024 13:52:44 +0200 Subject: [PATCH] switch to wifi without multi ssid --- include/display.h | 2 +- platformio.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/display.h b/include/display.h index 59357ac..bed9f59 100644 --- a/include/display.h +++ b/include/display.h @@ -91,7 +91,7 @@ namespace Display { } if (currentHour == 8) { Brightness::set(BRIGHTNESS_DAY); - Wifi::tReconnect.enable(); + Wifi::tConnect.enable(); } if (currentHour == 17) { Brightness::set(BRIGHTNESS_NIGHT); diff --git a/platformio.ini b/platformio.ini index addf460..f1f547f 100644 --- a/platformio.ini +++ b/platformio.ini @@ -21,7 +21,7 @@ lib_deps = adafruit/Adafruit Unified Sensor @ ^1.1.4 adafruit/Adafruit BME280 Library@^2.2.4 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 build_flags = -D WIFI_ALWAYS_ON=1 -D ADAFRUIT_BME=1