ESPHome fail to load .yaml

I very recently got my hands on a ESP32-S3-BOX-3 which i managed to setup as mic/speaker device for voice-assist following the tutorial without issues. Trying to take control through ESPHome builder fails each time no matter if its “over the air”, connected to USB or manual download, it manages to validate the code.

          id(draw_timer_timeline).execute();
          id(draw_active_timer_widget).execute();
    auto_clear_enabled: unspecified
    color_palette: NONE
    color_palette_images: []

INFO Configuration is valid!

and here is the fail log

INFO ESPHome 2025.8.4
INFO Reading configuration /config/esphome/esp32-s3-box-3-52b544.yaml...
WARNING GPIO0 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.html#why-am-i-getting-a-warning-about-strapping-pins
WARNING GPIO45 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.html#why-am-i-getting-a-warning-about-strapping-pins
WARNING GPIO46 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.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Generating C++ source...
INFO Compiling app...
Processing esp32-s3-box-3-52b544 (board: esp32s3box; framework: espidf; platform: https://github.com/pioarduino/platform-espressif32/releases/download/54.03.21-2/platform-espressif32.zip)
--------------------------------------------------------------------------------
INFO Installing tools via idf_tools.py (this may take several minutes)...
ERROR idf_tools.py installation failed
INFO Installing tools via idf_tools.py (this may take several minutes)...
ERROR idf_tools.py installation failed
ERROR Error reading mklittlefs package  Expecting value: line 1 column 1 (char 0)
INFO Installing tools via idf_tools.py (this may take several minutes)...
ERROR idf_tools.py installation failed
INFO Installing tools via idf_tools.py (this may take several minutes)...
ERROR idf_tools.py installation failed
INFO Installing tools via idf_tools.py (this may take several minutes)...
ERROR idf_tools.py installation failed
INFO Installing tools via idf_tools.py (this may take several minutes)...
ERROR idf_tools.py installation failed
INFO Package configuration completed successfully
InvalidJSONFile: Could not load broken JSON: /data/cache/platformio/packages/tool-cmake/.piopm

i feel i’m running out of options, what can i try next?

Try clearing the build files.

Having said that, is your machine connected to internet? Looks like it’s failing to download what it needs… or failing to save files?

thanks for your answer. i cleared the build files

INFO ESPHome 2025.8.4
INFO Reading configuration /config/esphome/esp32-s3-box-3-52b544.yaml...
WARNING GPIO0 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.html#why-am-i-getting-a-warning-about-strapping-pins
WARNING GPIO45 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.html#why-am-i-getting-a-warning-about-strapping-pins
WARNING GPIO46 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.html#why-am-i-getting-a-warning-about-strapping-pins
INFO Deleting /data/build/esp32-s3-box-3-52b544/.pioenvs
INFO Done!

and tried installing again but it hangs


and I can tell it hangs because when that retry button pops out suddenly cpu and ram usage drops down

What computer are you trying to compile on ?

Hi thanks for reaching out.

HomeAssistantOS is installed as a VM in proxmox, i gave it 4 cpu and 10Gig of ram to avoid resuorce related problems, I also added a passthrough for a usb port. I reach the webpage from my desktop where cpu or ram are not a problem, I used several browsers and different metods: wirelessly, plugged into my desktop, plugged into the aforementioned usb port and the manual download. I guess is trying to compile onbord Homeassistant via ESPHome tool. Am I right?

Thats correct

1 Like