Library Manager Trouble

Recently, when trying to flash an ESP32 or ESP8266, the compilation procecc get stuck while downloading additional components - for example ESP32Async/ESPAsyncTCP @ 2.0.0. Ive already reinstalled Home Assistante, but that didnt help. I`m using a Raspberry Pi4.

Downloading [####################################] 100%
Unpacking [####################################] 100%
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Library Manager: Installing ESP32Async/ESPAsyncTCP @ 2.0.0
INFO Installing ESP32Async/ESPAsyncTCP @ 2.0.0
Downloading [------------------------------------] 0%

2 Likes

I have the same problem on HA OS on miniPC.

1 Like

The same problem. As I understand it, this is a problem with loading platformio libraries. I tried to download ESP32Async using pio on a local PC and the download also hung.

pio pkg install --library "esp32async/ESPAsyncTCP@^2.0.0"
Resolving esp32-s3-devkitm-1 dependencies...
Library Manager: Installing esp32async/ESPAsyncTCP @ ^2.0.0

It’s too bad that pio doesn’t report any error. Perhaps these are regional problems with the Internet, but how to check the availability of the resource is also not clear, since registry.platformio.org available from the browser.

1 Like

I found a solution for myself by installing espHome on my local computer. For the firmware, I run a local dashboard, where I pass the address of the proxy server in the Netherlands:

set ALL_PROXY=socks5://xx.xx.xx.xx.xx:1234
esphome dashboard path/to/configs

Next, you can open the web interface through a browser and use it in the same way as through the HA OS addon.