Two versions of Device Builder?

I have Home assistant running on 2 devices: An X86 and a Pi 5.
I thought that both were on the same version (2025.8.3), but now I notice the Pi is reporting that it is using 2025.8.2 (dot two!).
Additionally, none of the previously compilable yamls - will. Giving errors like this:

INFO ESPHome 2025.8.2
INFO Reading configuration /config/esphome/motorhome-px300.yaml...
INFO Generating C++ source...
INFO Compiling app...
Processing motorhome-px300 (board: esp32dev; 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 Package configuration completed successfully
Tool Manager: Installing https://github.com/pioarduino/esp-idf/releases/download/v5.4.2/esp-idf-v5.4.2.zip
INFO Installing https://github.com/pioarduino/esp-idf/releases/download/v5.4.2/esp-idf-v5.4.2.zip
Downloading  [####################################]  100%          
Unpacking  [####################################]  100%          
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing espressif/toolchain-esp32ulp @ 2.35.0-20220830
INFO Installing espressif/toolchain-esp32ulp @ 2.35.0-20220830
Downloading  [####################################]  100%          
Unpacking  [####################################]  100%
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing https://github.com/pioarduino/registry/releases/download/0.0.1/cmake-3.30.2.zip
INFO Installing https://github.com/pioarduino/registry/releases/download/0.0.1/cmake-3.30.2.zip
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing https://github.com/pioarduino/registry/releases/download/0.0.1/esp-rom-elfs-20241011.zip
INFO Installing https://github.com/pioarduino/registry/releases/download/0.0.1/esp-rom-elfs-20241011.zip
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Tool Manager: Installing https://github.com/pioarduino/registry/releases/download/0.0.1/ninja-1.13.1.zip
INFO Installing https://github.com/pioarduino/registry/releases/download/0.0.1/ninja-1.13.1.zip
Downloading  [####################################]  100%
Unpacking  [####################################]  100%
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
Library Manager: Installing bblanchon/ArduinoJson @ 7.4.2
INFO Installing bblanchon/ArduinoJson @ 7.4.2
Unpacking  [####################################]  100%
Library Manager: [email protected] has been installed!
INFO [email protected] has been installed!
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)...
Tool Manager: Installing file:///root/.platformio/tools/tool-ninja
INFO Installing file:///root/.platformio/tools/tool-ninja
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
INFO Tool tool-ninja successfully installed
INFO Installing tools via idf_tools.py (this may take several minutes)...
Tool Manager: Installing file:///root/.platformio/tools/tool-esp-rom-elfs
INFO Installing file:///root/.platformio/tools/tool-esp-rom-elfs
Tool Manager: [email protected] has been installed!
INFO [email protected] has been installed!
INFO Tool tool-esp-rom-elfs successfully installed
INFO Package configuration completed successfully
idf_tools.py installation failed
idf_tools.py installation failed
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-esp32ulp @ 2.35.0-20220830 
 - toolchain-xtensa-esp-elf @ 14.2.0+20241119
Creating a new virtual environment for IDF Python dependencies
Installing ESP-IDF's Python dependencies
Reading CMake configuration...
FileNotFoundError: [Errno 2] No such file or directory: '/data/cache/platformio/packages/tool-cmake/bin/cmake':
  File "/usr/local/lib/python3.12/site-packages/platformio/builder/main.py", line 173:
    env.SConscript("$BUILD_SCRIPT")
  File "/data/cache/platformio/packages/tool-scons/scons-local-4.8.1/SCons/Script/SConscript.py", line 620:
    return _SConscript(self.fs, *files, **subst_kw)
  File "/data/cache/platformio/packages/tool-scons/scons-local-4.8.1/SCons/Script/SConscript.py", line 280:
    exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
  File "/data/cache/platformio/platforms/espressif32/builder/main.py", line 526:
    target_elf = env.BuildProgram()
  File "/data/cache/platformio/packages/tool-scons/scons-local-4.8.1/SCons/Util/envs.py", line 252:
    return self.method(*nargs, **kwargs)
  File "/usr/local/lib/python3.12/site-packages/platformio/builder/tools/piobuild.py", line 62:
    env.ProcessProgramDeps()
  File "/data/cache/platformio/packages/tool-scons/scons-local-4.8.1/SCons/Util/envs.py", line 252:
    return self.method(*nargs, **kwargs)
  File "/usr/local/lib/python3.12/site-packages/platformio/builder/tools/piobuild.py", line 142:
    env.BuildFrameworks(env.get("PIOFRAMEWORK"))
  File "/data/cache/platformio/packages/tool-scons/scons-local-4.8.1/SCons/Util/envs.py", line 252:
    return self.method(*nargs, **kwargs)
  File "/usr/local/lib/python3.12/site-packages/platformio/builder/tools/piobuild.py", line 352:
    SConscript(env.GetFrameworkScript(name), exports="env")
  File "/data/cache/platformio/packages/tool-scons/scons-local-4.8.1/SCons/Script/SConscript.py", line 684:
    return method(*args, **kw)
  File "/data/cache/platformio/packages/tool-scons/scons-local-4.8.1/SCons/Script/SConscript.py", line 620:
    return _SConscript(self.fs, *files, **subst_kw)
  File "/data/cache/platformio/packages/tool-scons/scons-local-4.8.1/SCons/Script/SConscript.py", line 280:
    exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
  File "/data/cache/platformio/platforms/espressif32/builder/frameworks/espidf.py", line 1863:
    project_codemodel = get_cmake_code_model(
  File "/data/cache/platformio/platforms/espressif32/builder/frameworks/espidf.py", line 552:
    run_cmake(src_dir, build_dir, extra_args)
  File "/data/cache/platformio/platforms/espressif32/builder/frameworks/espidf.py", line 1154:
    run_tool(cmd)
  File "/data/cache/platformio/platforms/espressif32/builder/frameworks/espidf.py", line 1109:
    result = exec_command(cmd, env=idf_env)
  File "/usr/local/lib/python3.12/site-packages/platformio/proc.py", line 114:
    with subprocess.Popen(*args, **kwargs) as p:
  File "/usr/local/lib/python3.12/subprocess.py", line 1026:
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.12/subprocess.py", line 1955:
    raise child_exception_type(errno_num, err_msg, err_filename)
========================= [FAILED] Took 705.40 seconds =========================

Sorry its so long! But I don’t know what is or isn’t relevent.
I have uninstalled and reinstalled the Device Builder but it is still 2025.8.2.
Has the repo for the Raspberries got a problem?

Regards, Martin

Just a guess but I believe these errors splattered through the log are relevant

ERROR idf_tools.py installation failed

The fact that it can’t find cmake is a problem. This means the tool chain you need is not installed correctly. Normally uninstalling the builder and reinstalling it will fix this, based on reports from others who have seen similar errors.

Perhaps there is a way to get a more verbose log that might shed more detail on why the install failed. Or, you could just build on your PC. You don’t HAVE to build on the same machine running HA. I never do and I know other people feel the same way. Using the builder probably makes some things easier, at least while it works.

Ahhhh…
Are you saying that there is a Linux tool that I can use to program my ESPs.
An that having done so, HA will find them?

Regards, M.

Have you tried clearing the build files? To install on linux

https://esphome.io/guides/installing_esphome/#linux

https://esphome.io/guides/installing_esphome/

Use the manual install path.

I use the following:

pip install pipx
pipx install esphome 

I find pipx does a good job of handling virtual environments and it works well with esphome.

This means you will be using the command line for esphome.

1 Like

Yeah, command line for compiling, all the way. I run it on my laptop. It’s been months since I’ve even started Device Builder in HA. I’m thinking I might just uninstall it. HA is perfectly happy with the device I compile from command line on the laptop.

It makes no sense at all to me to burden the production HA box with ESPHome development work.

I have similar problem on RP4 4gig, now even down to 2025.10.5


Even after reinstalling addon when trying to update board.getting same error.

You are not showing any errors and please use the code blocks to make it possible to read them. Pictures are a very poor substitute.

How to help us help you - or How to ask a good question - Configuration - Home Assistant Community

How to use code blocks to make your code and logs readable
Markdown Cheatsheet · adam-p/markdown-here Wiki · GitHub

1 Like

I would, but dont have PC by hand now, but to be honest HA is used 99% on phone.
Error is on screenshot! Tried to compile in different remote location with HA on PI4 2gb and it worked. Unfortunately can’t update from there…