@first – thanks for the informationell Website.
I had learned a lot.
But one Question :
All your projects is realized with the Async-Webserver.
Till this time I only use the ESP8266Webserver only. I don’t found an explanation of the difference between this two libraries. It is possible to change my projects to the async variant without to write a complete new code?
And much more important is to know, what is the difference of the libraries, and what is better to realized my Home Automation.
Thank you for a detailed explanation.
I haven’t experimented with the ESP8266WebServer library.
We like to use the AsyncWebServer library because it supports almost anything you may want in your web server. You can check all the functionalities here: https://github.com/me-no-dev/ESPAsyncWebServer#why-should-you-care
Additionally, it is compatible with both the ESP32 and ESP8266 boards. The same code can be used for both boards with minimal changes.
As the libraries are different, you’ll need a different sketch, but the logic should remain the same.
You should use the library that you like most. I don’t have anything to complain about the ESPAsyncWebServer library. I know that many people use the ESP8266WebServer and I have heard good things about it too.