husarnet / esp32-internet-ota

ESP32 + GitHub Actions + Husarnet. A boilerplate project for ESP32 allowing in-field firmware update using GitHub Actions workflow.
MIT License
42 stars 5 forks source link

Old version of ESPAsyncWebserver #1

Open Sejny opened 3 years ago

Sejny commented 3 years ago

Hello Dominik,

please change ESPAsync webserver lib deps to:

ottowinter/ESPAsyncWebServer-esphome@^1.3.0

This new version has significantly lower flash/ram consumption and maybe is more stable

Old webserver: 92.4% FLASH / 13.7% RAM New webserver 81.9% FLASH / 12.2% RAM

Same situation is with asyncTCP:

esphome/AsyncTCP-esphome@^1.2.2

But new webserver work well also with old asyncTCP with Husarnet ip v6 mods.

Sejny commented 2 years ago

I tested it with ethernet and problem occur. Heap free fall in minute to zero.

New webserver work only over wifi

Sejny commented 2 years ago

SOLVED

Problem is caused by dependencies of new webserver(new AsyncTCP). After editing platforms.json (in my forked repo esphome webserver) all working perfect and with lower memory consuption