Hi,
since a year or so, I cant update my SPHome modules, I get a build error. Now I tried a new one, same issue.
Have the latest version and tried it from HA.
With best regards
Gerhard
Hi,
since a year or so, I cant update my SPHome modules, I get a build error. Now I tried a new one, same issue.
Have the latest version and tried it from HA.
With best regards
Gerhard
Have you tried connecting them directly with a USB cable?
What is the error you are seeing?
A year ago or so a breaking change regarding OTA updates happened ![]()
What did you try new? Please post the error message.
Tried a new what?? You cant tell us? A new yaml/config?? A new esp board? A new usb cable for flashing? Low fat sour scream?
We dont know what you’re trying or not trying of you dont tell us, we dont read minds.
You dont say!?!? Are you going to copy/paste it? Upload a screenshot of it? Or were we supposed to take turns guessing the correct error out of the tens of thousands possible?? Can we at least get a hint??
Also, it would sure be helpful if we had any other specific and relevant details in addition to our single clue about a “build error” how about posting your Esphome configuration along with a screenshot of any relevant build errors!?!?!
Its no big deal and dont take it personal dude. If it helps in the future when posting questions, pretend like this is a transaction at an auto parts store or a pc repair shop. Surely you have an idea what they’d say or what looks would be on their face if you walked into Autozone and said, “I need some fuel injectors right now, go get them!” You think they’ll get the right one or even have a chance to without knowing what vehicle, make, model, engine size, etc etc.
Its really not a whole lot different here and in most cases, you’re going to want to include as many relevant details possible. The more information/details we have then the better people are able to help you out and do it quickly!
Help us to help you!!
Hi, sorry, can’t find a way to post a text file (log) here. Only images allowed … ok but som infos missing then.
With best regards
Gerhard
Hi,
I connected one module with USB cable and other, which runs with HA until something runs into breaking changes, via Wifi, same situation.
Hi,
I tried a new module to be sure, there is no problem with older software versions. Didn’t help. During the ‘First time’ procedure a .yaml is created, I never changed it, so I am sure, I don’t do anything wrong. The new module is a ESP32C6-DevKit, and as I could select this processor type from a list, I am sure, that it is supported, isn’t it?
With best regards
Gerhard
the C6 is supported, i use it myself.
Both ESP-IDF and Arduino framworks are compiling here with pretty default settings:
esp32:
board: seeed_xiao_esp32c6
framework:
type: esp-idf
and
esp32:
variant: ESP32S3
board: seeed_xiao_esp32s3
framework:
type: arduino
version: latest
Can you post your (redacted) ESP config please?
when you enter 3 backticks " ` " at the start of a line, and again at the end of a line, the output will be formatted automatically.
You can also go under de gear/cog icon and select the </> option
Hi, ok, let’s try:
esphome:
name: test
friendly_name: test
esp32:
board: esp32-c6-devkitc-1
framework:
type: esp-idf
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "******************************"
ota:
- platform: esphome
password: "****************"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Test Fallback Hotspot"
password: "**************"
captive_portal:
I just kill the passwords and keys, the values herein where generated, so I guess, they should be ok. I don’t tough the content of this file.
So let’s try to enter the log here:
INFO ESPHome 2025.10.1
INFO Reading configuration /config/esphome/esphome-web-cd61e0.yaml...
INFO Generating C++ source...
INFO Components removed (async_tcp, event_emitter), cleaning build files...
INFO Deleting /data/build/esphome-web-cd61e0/.pioenvs
INFO Deleting /data/build/esphome-web-cd61e0/.piolibdeps
INFO Deleting PlatformIO cache /data/cache/platformio/cache
INFO Compiling app...
Processing esphome-web-cd61e0 (board: esp32dev; framework: arduino, espidf; platform: https://github.com/pioarduino/platform-espressif32/releases/download/54.03.21-2/platform-espressif32.zip)
--------------------------------------------------------------------------------
INFO Package configuration completed successfully
Library Manager: Installing bblanchon/ArduinoJson @ 7.4.2
INFO Installing bblanchon/ArduinoJson @ 7.4.2
Downloading [####################################] 100%
Unpacking [####################################] 100%
Library Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Library Manager: Installing improv/Improv @ 1.2.4
INFO Installing improv/Improv @ 1.2.4
Downloading [####################################] 100%
Unpacking [####################################] 100%
Library Manager: [email protected] has been installed!
INFO [email protected] has been installed!
INFO Package configuration completed successfully
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
- framework-arduinoespressif32 @ 3.2.1
- framework-arduinoespressif32-libs @ 5.4.0+sha.858a988d6e
- 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...
Generating assembly for certificate bundle...
Dependency Graph
|-- Networking @ 3.2.1
|-- ESP32 Async UDP @ 3.2.1
|-- DNSServer @ 3.2.1
|-- WiFi @ 3.2.1
|-- ESPmDNS @ 3.2.1
|-- Update @ 3.2.1
|-- ArduinoJson @ 7.4.2
|-- Improv @ 1.2.4
Generating assembly for .pioenvs/esphome-web-cd61e0/https_server.crt.S
Generating assembly for .pioenvs/esphome-web-cd61e0/rmaker_mqtt_server.crt.S
Generating assembly for .pioenvs/esphome-web-cd61e0/rmaker_claim_service_server.crt.S
Generating assembly for .pioenvs/esphome-web-cd61e0/rmaker_ota_server.crt.S
Compiling .pioenvs/esphome-web-cd61e0/src/esphome/components/api/api_connection.cpp.o
Compiling .pioenvs/esphome-web-cd61e0/src/esphome/components/api/api_frame_helper.cpp.o
Compiling .pioenvs/esphome-web-cd61e0/src/esphome/components/api/api_frame_helper_plaintext.cpp.o
Compiling .pioenvs/esphome-web-cd61e0/src/esphome/components/api/api_pb2.cpp.o
xtensa-esp-elf-g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
*** [.pioenvs/esphome-web-cd61e0/src/esphome/components/api/api_frame_helper_plaintext.cpp.o] Error 1
xtensa-esp-elf-g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
*** [.pioenvs/esphome-web-cd61e0/src/esphome/components/api/api_frame_helper.cpp.o] Error 1
xtensa-esp-elf-g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
*** [.pioenvs/esphome-web-cd61e0/src/esphome/components/api/api_connection.cpp.o] Error 1
========================= [FAILED] Took 136.94 seconds =========================
So, all infos here now.
As I told before, I started to use the ESP modules more than a year ago, and only need it for WiFi-BLE gateway, this works fine. After some time, the updates signalled in HA failed and I ignored the stuff.
Now I want to build a speaker box to play TTS, and so I need ESPHome again.
With best regards
Gerhard
What are you running HA on ? From the error message I would speculate a Pi3 or Pï4 with 1Gb ram.
I did a search with the error message and it came back with this thread:
Hi,
I use a Yellow with 1TB SSD disk.
And the memory on the Compute module?
Is the compute module a CM4 or a CM5?
I was also thinking you might hit a memory limit. Can you check if you hit a limit/run out of it?
How much ram on your cm module ? The error comes most of the time from a lack of memory.
Hi,
good question …
But I found a hint in the discussion referenced above, to set the process limit to 1 and now it runs slow but it runs.
Have to leave soon for holidays, but will report the results I get.
Thanks for helping so far.
With best regards
Gerhard
Hi,
with this setting:
I also tried an update of my old ESP32 Wroom-1, but this fails with the same error as described above after some time.
I am out now for a week or so, will continuing testing later on, sorry.
With best regards
Gerhard
I had issues with compilation all of sudden - not sure if this is the same thing, but uninstall your ESPHome addon and install it back. Don’t worry. Configs will stay. (Or you can do backup before uninstalling it).
Then try again.