Hello!
I cannot upload a rom to my wemos d1 mini. There is log from upload:
[API] ConnectionError: HTTPConnectionPool(host=‘api.platformio.org’, port=80): Max retries exceeded with url: /v2/lib/search?query=name%3A%22ESP8266WiFi%22 (Caused by NewConnectionError(‘<urllib3.connection.HTTPConnection object at 0x7f7625466390>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’,)) (incremented retry: max=5, total=1) [API] ConnectionError: HTTPConnectionPool(host=‘api.platformio.org’, port=80): Max retries exceeded with url: /v2/lib/search?query=name%3A%22ESP8266WiFi%22 (Caused by NewConnectionError(‘<urllib3.connection.HTTPConnection object at 0x7f7625207790>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’,)) (incremented retry: max=5, total=2) [API] ConnectionError: HTTPConnectionPool(host=‘api.platformio.org’, port=80): Max retries exceeded with url: /v2/lib/search?query=name%3A%22ESP8266WiFi%22 (Caused by NewConnectionError(‘<urllib3.connection.HTTPConnection object at 0x7f76252076d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’,)) (incremented retry: max=5, total=3) [API] ConnectionError: HTTPConnectionPool(host=‘api.platformio.org’, port=80): Max retries exceeded with url: /v2/lib/search?query=name%3A%22ESP8266WiFi%22 (Caused by NewConnectionError(‘<urllib3.connection.HTTPConnection object at 0x7f7625207e10>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’,)) (incremented retry: max=5, total=4) [API] ConnectionError: HTTPConnectionPool(host=‘api.platformio.org’, port=80): Max retries exceeded with url: /v2/lib/search?query=name%3A%22ESP8266WiFi%22 (Caused by NewConnectionError(‘<urllib3.connection.HTTPConnection object at 0x7f7625466610>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’,)) (incremented retry: max=5, total=5) Error: [API] Could not connect to PlatformIO API Service. Please try later.
I am running mint on laptop->docker>hassio. When i connect ssh i can ping api.platformio.org. I am using the newest version off hassio.
I have forwarded prots 80, 443, and 6052 on my router.
In /etc/docker/daemon.json i got {“dns”: [“10.1.2.3”, “8.8.8.8”]}
Any help?
I’m not sure it’s that. It’s not the first time it’s happened to me. Like, I could view other parts of platformio (eg the stats page), I just couldn’t compile anything.
I care very much about this issue while it’s happening, and then as soon as it goes away, I forget about investigating it further. This time, the error persisted for about 4 hours. The worst one was about 3 days, but that was months ago.
But yeah, in principle, reliance on remote services to do local things makes me deeply uneasy, and is why I use home assistant in the first place. I understand the need to fetch these modules the first time you create a new node, but I wish ESPHome would have a look at existing nodes to see if it even needs to fetch anything at all. 100% of that data is already on the local system.
It’s making me ponder my love affair with ESPHome, to be honest. It’s an amazing platform because of how fast you can prototype homebrew devices, and because of how it (mostly) just works, and how easy it is to manage … but, this reliance on a web service to be able to proceed with a job that it will then do locally … seems like a colossal vulnerability, actually.
Well maybe there is a hard and not recommended way of manually copying packages.
This is how all modern package managers works. They grab dependencies from network. It has been very successful.
The previous way was you manually downloading stuff and installing or copying on the folder. And when somebody decided to change version of a dependency Go figure out how to fix it.
Esphome is building a firmware with your instructions in yaml but also from other base instructions. Esphome would not be possible without tools like PlatformIO and package managers.
Other firmwares bundles everything together in one package but then you loose many advantages esphome has.