Closed hmueller01 closed 8 months ago
I assume you are using Platformio?
The error is in the async TCP library. It doesn't include Arduino.h.
Yep. I use PlatformIO (first line in my post). And yes. It's a problem of ESPAsyncTCP. But as me-no-dev does no further development we are in a dead lock. Maybe it's fixed in ESPAsyncTCP-esphome. Is there any chance to get this #142 working in the next time?
Surely it is possible to use another lib. The PR you prefer to is definitely a contender.
I'll take a look tomorrow.
The problem obviously originates from the dependency and I cannot solve this myself.
As a workaround I suggest to download the alternative library and point to the directory in platformio.ini (See https://docs.platformio.org/en/latest/projectconf/sections/env/options/library/lib_extra_dirs.html#lib-extra-dirs)
You should raise this issue in the dependency repo: https://github.com/esphome/ESPAsyncTCP
I get a compiler error using the lib with TLS, esp8266 and PlatformIO.
Compile output
Expected behaviour Of course no error. ;-) I can fix this by adding
Don't know why this happen to me. Others seem to have no issue. Strange ...