matlen67 / soyosource-powercontroller

soyosource-powercontroller for ESP8266
8 stars 3 forks source link

New ElegantOTA libary required? #11

Closed davidbatoha closed 2 months ago

davidbatoha commented 2 months ago

Hello, I am getting this error code while compiling

_In file included from src\main.cpp:34: .pio\libdeps\nodemcuv2\AsyncElegantOTA\src/AsyncElegantOTA.h:4:2: error: #error AsyncElegantOTA library is deprecated, Please consider migrating to newer ElegantOTA library which now comes with an async mode. Learn More: https: 4 | #error AsyncElegantOTA library is deprecated, Please consider migrating to newer ElegantOTA library which now comes with an async mode. Learn More: https://docs.elegantota.pro/async-mode/ | ^~~~~ In file included from .pio\libdeps\nodemcuv2\ESPAsync_WiFiManager\src/ESPAsync_WiFiManager.h:41, from src\main.cpp:35: .pio\libdeps\nodemcuv2\ESPAsync_WiFiManager\src/ESPAsync_WiFiManager.hpp:203:6: warning: #warning USING_ESP8266_CORE_VERSION "3.0.2" [-Wcpp] 203 | #warning USING_ESP8266_COREVERSION "3.0.2" | ^~~ Compiling .pio\build\nodemcuv2\lib552\ESP Async WebServer\AsyncEventSource.cpp.o Compiling .pio\build\nodemcuv2\lib552\ESP Async WebServer\AsyncWebSocket.cpp.o Archiving .pio\build\nodemcuv2\lib2ec\libESP8266WiFi.a *** [.pio\build\nodemcuv2\src\main.cpp.o] Error 1 ================================================================================ [FAILED] Took 16.85 seconds ================================================================================

shoud I use the "ElegantOTA" libary? And if i shoud do so how do I do change the libary?

Thanks for helping :)