Hi,
i was able before to compile in ESPHome, Now i can’t… from the last time the compile worked, i added the ESPHome integration and change some setting in my router because HA wasn’t able to reach a hostname, so i now use DNSmasq on my er-x with .ubnt.local domain. after that i was able to find it when adding the ESP integration. i installed influxDB and Grafana following this tutorial. i had a voltage of 650V with the default config, so i went to change my gain to a lower one save, validate and then i though about using the OTA update, but just to be sure i click on the litle icon that open the webserver of the ESP32 just to make sure i was uploading to a reachable host. turn out that it failed because it was trying to reach “digi_energy_6c.local” instead of “digi_energy_6c.ubnt.local” i guesses that it was coded like that and i coulnd’t change that so i just change my router domain to .local instead of .ubnt.local. After that i was able to reach the ESP32 with the little light blue button at the right of the screen.
I went to click on upload and it gave me an error code 1. i tried to rechange my domain in router, but wasn’t successful with that. uninstall ESPHome add-on and reinstall, still unsucessful.
here is the log:
Add-on version: 1.18.0
You are running the latest version of this add-on.
System: Home Assistant OS 5.13 (amd64 / qemux86-64)
Home Assistant Core: 2021.6.2
Home Assistant Supervisor: 2021.06.0
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] 10-requirements.sh: executing...
[cont-init.d] 10-requirements.sh: exited 0.
[cont-init.d] 20-nginx.sh: executing...
[cont-init.d] 20-nginx.sh: exited 0.
[cont-init.d] 30-esphome.sh: executing...
[cont-init.d] 30-esphome.sh: exited 0.
[cont-init.d] 40-migrate.sh: executing...
[cont-init.d] 40-migrate.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[21:18:44] INFO: Waiting for dashboard to come up...
[21:18:44] INFO: Starting ESPHome dashboard...
INFO Starting dashboard web server on unix socket /var/run/esphome.sock and configuration dir /config/esphome...
[21:18:46] INFO: Starting NGINX...
INFO 304 GET / (0.0.0.0) 42.90ms
INFO 101 GET /ace (0.0.0.0) 0.68ms
INFO Running command 'esphome --dashboard -q /config/esphome vscode --ace'
INFO 304 GET /edit?configuration=test.yaml (0.0.0.0) 4.35ms
INFO 200 POST /edit?configuration=test.yaml (0.0.0.0) 2.42ms
INFO 101 GET /compile (0.0.0.0) 0.76ms
INFO Running command 'esphome --dashboard /config/esphome/test.yaml compile'
INFO Process exited with return code 1
INFO Reading configuration /config/esphome/test.yaml...
INFO Generating C++ source...
INFO Compiling app...
INFO Running: platformio run -d /config/esphome/test
Processing test (board: nodemcu-32s; framework: arduino; platform: platformio/[email protected])
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
PACKAGES:
- framework-arduinoespressif32 3.10004.210126 (1.0.4)
- tool-esptoolpy 1.30000.201119 (3.0.0)
- toolchain-xtensa32 2.50200.97 (5.2.0)
Library Manager: Installing Hash
HTTPClientError: HTTPSConnectionPool(host='api.registry.ns1.platformio.org', port=443): Max retries exceeded with url: /v3/packages?query=type%3A%22library%22+name%3A%22hash%22 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ffa8c01a630>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')):
File "/usr/local/lib/python3.7/dist-packages/platformio/builder/main.py", line 177:
env.SConscript("$BUILD_SCRIPT")
File "/root/.platformio/packages/tool-scons/scons-local-4.1.0/SCons/Script/SConscript.py", line 591:
return _SConscript(self.fs, *files, **subst_kw)
File "/root/.platformio/packages/tool-scons/scons-local-4.1.0/SCons/Script/SConscript.py", line 280:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "/root/.platformio/platforms/espressif32/builder/main.py", line 225:
target_elf = env.BuildProgram()
File "/root/.platformio/packages/tool-scons/scons-local-4.1.0/SCons/Util.py", line 658:
return self.method(*nargs, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/platformio/builder/tools/platformio.py", line 62:
env.ProcessProjectDeps()
File "/root/.platformio/packages/tool-scons/scons-local-4.1.0/SCons/Util.py", line 658:
return self.method(*nargs, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/platformio/builder/tools/platformio.py", line 140:
project_lib_builder = env.ConfigureProjectLibBuilder()
File "/root/.platformio/packages/tool-scons/scons-local-4.1.0/SCons/Util.py", line 658:
return self.method(*nargs, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/platformio/builder/tools/piolib.py", line 1062:
project.install_dependencies()
File "/usr/local/lib/python3.7/dist-packages/platformio/builder/tools/piolib.py", line 898:
lm.install(spec)
File "/usr/local/lib/python3.7/dist-packages/platformio/package/manager/_install.py", line 49:
spec, silent=silent, skip_dependencies=skip_dependencies, force=force
File "/usr/local/lib/python3.7/dist-packages/platformio/package/manager/library.py", line 86:
force=force,
File "/usr/local/lib/python3.7/dist-packages/platformio/package/manager/_install.py", line 99:
pkg = self.install_from_registry(spec, search_filters, silent=silent)
File "/usr/local/lib/python3.7/dist-packages/platformio/package/manager/_registry.py", line 88:
packages = self.search_registry_packages(spec, search_filters)
File "/usr/local/lib/python3.7/dist-packages/platformio/package/manager/_registry.py", line 135:
return self.get_registry_client_instance().list_packages(filters=filters)[
File "/usr/local/lib/python3.7/dist-packages/platformio/clients/registry.py", line 131:
"get", "/v3/packages", params=params, cache_valid="1h"
File "/usr/local/lib/python3.7/dist-packages/platformio/clients/http.py", line 144:
response = self.send_request(method, path, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/platformio/util.py", line 73:
return func(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/platformio/clients/http.py", line 131:
raise HTTPClientError(str(e))
========================= [FAILED] Took 13.26 seconds =========================