Hi experts,
I using ESPHOME running at windows with python. All the way around, it works perfectly. But recently, it suddenly has such an error.
For an existing project, it doesn’t need to connect the internet to check for ESPAsyncTCP and still ok to work. But no way for new projects, even I copy the same configuration file and folders.
I see in there forum, there are some discussion about it, but it is for platformer, not for python under windows.
Thanks & regards,
Zhou Xuecheng
Z:\Study\Arduino\ESPHOME\esphome>esphome esp8266_mr_hub_3.yaml run
e[32mINFO Reading configuration…e[0m
e[32mINFO Generating C++ source…e[0m
e[32mINFO Core config or version changed, cleaning build files…e[0m
e[32mINFO Compiling app…e[0m
e[32mINFO Running: platformio run -d esp8266_mr_hub_3e[0m
Obsolete PIO Core v4.0.3 is used (previous was 4.1.0)
Please remove multiple PIO Cores from a system:
https://docs.platformio.org/page/faq.html#multiple-pio-cores-in-a-system
Processing esp8266_mr_hub_3 (board: nodemcuv2; framework: arduino; platform: [email protected])
Verbose mode can be enabled via -v, --verbose
option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/nodemcuv2.html
PLATFORM: Espressif 8266 1.8.0 > NodeMCU 1.0 (ESP-12E Module)
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES: toolchain-xtensa 1.40802.0 (4.8.2), framework-arduinoespressif8266 2.20402.4 (2.4.2), tool-esptool 1.413.0 (4.13)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Looking for ESPAsyncTCP library in registry
Warning! You are not connected to the Internet.
If you build a project first time, we need Internet connection to install all dependencies and toolchains.
Looking for Update library in registry
Warning! You are not connected to the Internet.
If you build a project first time, we need Internet connection to install all dependencies and toolchains.
Found 26 compatible libraries
Scanning dependencies…
Dependency Graph
|-- 1.0
|--
| |-- 1.0
Compiling .pioenvs\esp8266_mr_hub_3\src\esphome\components\api\api_message.cpp.o
Compiling .pioenvs\esp8266_mr_hub_3\src\esphome\components\api\api_server.cpp.o
Compiling .pioenvs\esp8266_mr_hub_3\src\esphome\components\api\basic_messages.cpp.o
Compiling .pioenvs\esp8266_mr_hub_3\src\esphome\components\api\command_messages.cpp.o
In file included from src\esphome\components\api\api_server.cpp:3:0:
src\esphome\components\api\api_server.h:21:25: fatal error: ESPAsyncTCP.h: No such file or directory
- Looking for ESPAsyncTCP.h dependency? Check our library registry!
- CLI > platformio lib search “header:ESPAsyncTCP.h”
- Web > https://platformio.org/lib/search?query=header:ESPAsyncTCP.h
#include <ESPAsyncTCP.h>
^
compilation terminated.
*** [.pioenvs\esp8266_mr_hub_3\src\esphome\components\api\api_server.cpp.o] Error 1
============================================== [FAILED] Took 8.53 seconds ==============================================