Hi there today after the latest ESP Home update each device will having problem which show as below. Anyone know what happen?
Updating /config/esphome/esp-home-family-room.yaml
------------------------------------------------------------
INFO ESPHome 2025.9.1
INFO Reading configuration /config/esphome/esp-home-family-room.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing esp-home-family-room (board: esp32dev; framework: espidf; platform: https://github.com/pioarduino/platform-espressif32/releases/download/54.03.21-2/platform-espressif32.zip)
--------------------------------------------------------------------------------
INFO Package configuration completed successfully
INFO Package configuration completed successfully
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
- framework-espidf @ 3.50402.0 (5.4.2)
- tool-cmake @ 3.30.2
- tool-esp-rom-elfs @ 2024.10.11
- tool-esptoolpy @ 5.0.2
- tool-mklittlefs @ 3.2.0
- tool-ninja @ 1.13.1
- tool-scons @ 4.40801.0 (4.8.1)
- toolchain-xtensa-esp-elf @ 14.2.0+20241119
Reading CMake configuration...
-- git rev-parse returned 'fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).'
-- Building ESP-IDF components for target esp32
Dependencies lock doesn't exist, solving dependencies.
-- Configuring incomplete, errors occurred!
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
CMake Error at /data/cache/platformio/packages/framework-espidf/tools/cmake/build.cmake:620 (message):
ERROR: Cannot establish a connection to the component registry. Are you
connected to the internet?
URL: https://components-file.espressif.com/components/espressif/mdns.json
Call Stack (most recent call first):
/data/cache/platformio/packages/framework-espidf/tools/cmake/project.cmake:718 (idf_build_process)
CMakeLists.txt:3 (project)
========================= [FAILED] Took 161.85 seconds =========================
==== [ERROR] /config/esphome/esp-home-family-room.yaml ====
yes and yes. Current solutions is to restore the latest backup. So unsure how to proceed with the upgrade. PS. ESP Home and HA is running on single machine
Got a very similar error with all my esp-idf based devices since 2025.9.1. Haven’t seen a corresponding GitHub issue yet. The ESPHome Builder does have an internet connection (and Arduino framework based esphome devices build without issues). Also HA and ESPHome are running on the same machine (RPI5). Cleaning the build also didn’t resolve it.
INFO ESPHome 2025.9.1
INFO Reading configuration /config/esphome/waveshare-touch-7.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing waveshare-touch-7 (board: esp32-s3-devkitc-1; framework: espidf; platform: https://github.com/pioarduino/platform-espressif32/releases/download/54.03.21-2/platform-espressif32.zip)
--------------------------------------------------------------------------------
INFO Package configuration completed successfully
INFO Package configuration completed successfully
HARDWARE: ESP32S3 240MHz, 512KB RAM, 8MB Flash
- framework-espidf @ 3.50402.0 (5.4.2)
- tool-cmake @ 3.30.2
- tool-esp-rom-elfs @ 2024.10.11
- tool-esptoolpy @ 5.0.2
- tool-mklittlefs @ 3.2.0
- tool-ninja @ 1.13.1
- tool-scons @ 4.40801.0 (4.8.1)
- toolchain-xtensa-esp-elf @ 14.2.0+20241119
Reading CMake configuration...
-- git rev-parse returned 'fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).'
-- Building ESP-IDF components for target esp32s3
-- Configuring incomplete, errors occurred!
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
CMake Error at /data/cache/platformio/packages/framework-espidf/tools/cmake/build.cmake:620 (message):
/root/.platformio/penv/.espidf-5.4.2/bin/python: Error while finding module
specification for 'idf_component_manager.prepare_components'
(ModuleNotFoundError: No module named 'idf_component_manager')
Call Stack (most recent call first):
/data/cache/platformio/packages/framework-espidf/tools/cmake/project.cmake:718 (idf_build_process)
CMakeLists.txt:3 (project)
It doesn’t always work, but you said it’s after an update. Select the clean build files and try again. No guarantees it will work but it won’t hurt anything.
There is a button/slider in the pop-up window that appears when you select “Uninstall” as described above: Settings > Add-Ons > ESPHome Device Builder > Uninstall
So, as long as you do NOT select that, your data will stay on the system and available as soon as you reinstall it.
Thank you for this! I was having the same issue and had been pulling my hair out trying to troubleshoot it until I found this thread.
Uninstalling the ESPHome add-on and re-installing it worked like a charm. No loss of any device configs; everything was right as rain after reinstalling the add-on.
Uninstall and reinstall of esphome worked in my HA instance. However the toolchain didn’t properly reinstall during my first compilation. I had to stop the addon and restart, then recompile. Unknown reason why., but compilation works!