ich habe mehrere ESP32-D0WD-V3, die in HA betrieben werden.
Mit einem habe ich experimentiert und Tasmota installiert. Der ESP32 ist mit dem Browser und Tasmota nutzbar. Die Folge ist, dass ich in HA kein ESPhome Installation mehr realisieren kann.
Folgende Fehlermeldung erhalte ich in HA im ESPhome Builder.
Library Manager: Installing esphome/noise-c @ 0.1.10
INFO Installing esphome/noise-c @ 0.1.10
Downloading [####################################] 100%
Unpacking [####################################] 100%
Library Manager: noise-c@0.1.10 has been installed!
INFO noise-c@0.1.10 has been installed!
Library Manager: Resolving dependencies...
INFO Resolving dependencies...
Library Manager: Installing esphome/libsodium @ 1.10020.7
INFO Installing esphome/libsodium @ 1.10020.7
Downloading [####################################] 100%
Unpacking [####################################] 100%
Library Manager: libsodium@1.10020.7 has been installed!
INFO libsodium@1.10020.7 has been installed!
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
- contrib-piohome @ 3.4.4
- framework-espidf @ 3.50502.0 (5.5.2)
- tool-cmake @ 4.0.3
- tool-esp-rom-elfs @ 2024.10.11
- tool-esptoolpy @ 5.1.0
- 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+20251107
Reading CMake configuration...
-- Found Git: /usr/bin/git (found version "2.39.5")
-- 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).'
-- Minimal build - OFF
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- The ASM compiler identification is unknown
-- Found assembler: xtensa-esp32-elf-gcc
-- Warning: Did not find file Compiler/-ASM
-- 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/project.cmake:589 (__project):
The CMAKE_C_COMPILER:
xtensa-esp32-elf-gcc
is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
CMake Error at /data/cache/platformio/packages/framework-espidf/tools/cmake/project.cmake:589 (__project):
The CMAKE_CXX_COMPILER:
xtensa-esp32-elf-g++
is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
CMake Error at /data/cache/platformio/packages/framework-espidf/tools/cmake/project.cmake:589 (__project):
The CMAKE_ASM_COMPILER:
Hat jemand einen Tip, was ich tun muß, oder falsch mache?
Danke, hat mir ein Stück weiter geholfen. https://web.esphome.io/ kannte ich noch nicht. Schönes Werkzeug!
Das Start-Images zu installieren, hat auch geklappt, ich kann auch in das Log sehen, dass es startet, es ist auch an pingbar.
Ich habe wahrscheinlich ein Problem mit dem esphome builder!
Mit den ESP´s 8266 ist alles I.O. Ich kann Installationen ändern oder auch Images speichern.
Mit de ESP`s 32 kann ich nichts ändern / speichern und auch keine Images speichern.
Es kommt immer folgende Fehlermeldung:
INFO ESPHome 2026.1.5
INFO Reading configuration /config/esphome/esp-1.yaml...
WARNING GPIO2 is a strapping PIN and should only be used for I/O with care.
Attaching external pullup/down resistors to strapping pins can cause unexpected failures.
See https://esphome.io/guides/faq/#why-am-i-getting-a-warning-about-strapping-pins
INFO Generating C++ source...
INFO Setting CONFIG_LWIP_MAX_SOCKETS to 14 (registered: api=4, captive_portal=4, mdns=2, ota=1, web_server=3)
INFO Compiling app... Build path: /data/build/esp-1
Processing esp-1 (board: esp32dev; framework: arduino, espidf; platform: https://github.com/pioarduino/platform-espressif32/releases/download/55.03.35/platform-espressif32.zip)
--------------------------------------------------------------------------------
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
- contrib-piohome @ 3.4.4
- framework-arduinoespressif32 @ 3.3.5
- framework-arduinoespressif32-libs @ 5.5.0+sha.9bb7aa84fe
- framework-espidf @ 3.50502.0 (5.5.2)
- tool-cmake @ 4.0.3
- tool-esp-rom-elfs @ 2024.10.11
- tool-esptoolpy @ 5.1.0
- 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+20251107
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).'
-- Minimal build - OFF
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- The ASM compiler identification is unknown
-- Found assembler: xtensa-esp32-elf-gcc
-- Warning: Did not find file Compiler/-ASM
-- 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/project.cmake:589 (__project):
The CMAKE_C_COMPILER:
xtensa-esp32-elf-gcc
is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
CMake Error at /data/cache/platformio/packages/framework-espidf/tools/cmake/project.cmake:589 (__project):
The CMAKE_CXX_COMPILER:
xtensa-esp32-elf-g++
is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
CMake Error at /data/cache/platformio/packages/framework-espidf/tools/cmake/project.cmake:589 (__project):
The CMAKE_ASM_COMPILER:
xtensa-esp32-elf-gcc
is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable "ASM" or the CMake cache entry CMAKE_ASM_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
========================= [FAILED] Took 10.17 seconds =========================
Da muss ich dann leider passen weil ich da nicht so tief im Thema bin. Die ESP8266/ESP32 die ich hier in den letzten Jahren, auf immer mal wieder unterschiedliche Wege geflasht habe, haben eigentlich wenig “herumgezickt”. Daher musste ich in die Fehler-/Problemsuche da auch noch nicht so wirklich tiefer einsteigen.
In der Config dein Wifi eintragen, den ESP mit USB-Kabel an den HA-Server stöpseln oder an dein Computer (nicht irgendwas über WLAN probieren), dann sollte es eigentlich klappen.
Nur beim Kabelgebundenen Flashen wird auch die Partition etc neu gemacht und an ESPHome angepasst, über WLAN geht das nicht und wenn das Partitionsschema nicht passt, geht das Flashing hops. Danach, wenn das Gerät einmal drin ist und im HA erkannt, kannst du immer über WLAN arbeiten.
Wenn das dann noch nicht geht: ESPHome deinstallieren, Haken “Daten entfernen” mit setzen, neu starten, ESPHome wieder installieren, HA neu starten, dann sollte alles wieder da sein, deine Projekte gehen nicht verloren da diese im HA drin liegen und nicht in dem Docker den du damit löschst. Und selbst wenn, die sind im HA Backup mit drin