M5stack-atom-echo - Error: The OTA partition on the ESP is too small

Hi there…
I recently got an m5stack-atom-echo and flashed it following the instructions : $13 voice assistant for Home Assistant
So far so good, the m5stack-atom-echo appeared in Homeassistant.
HA_M5_ESP_discovered by HA
Then I installed the ESPHome AddOn (2024.7.1) which recognized the m5stack-atom-echo.


Here I clicked on the only option “Adopt” and then selected “Install”.

There is some log output which ends with the following lines:

INFO Uploading /data/build/m5stack-atom-echo-23cd88/.pioenvs/m5stack-atom-echo-23cd88/firmware.bin (1835616 bytes)
ERROR Error binary size: Error: The OTA partition on the ESP is too small. ESPHome needs to resize this partition, please flash over USB.

After clicking “close” on the log-window the m5stack-atom-echo seems to be adopted, but if i try to update/install again, i get the same error.
So ist seems i cannot ota-update / install the m5stack-atom-echo from ESPHome.

Is this correct? Or i’m doing something wrong?
II thought I could integrate the m5stack-atom-echo into ESPHome and manage it, i.e. update it.

I got the same error. Tried to update via USB connection as it was suggested somewheres. No it woont boot anymore.

Nice to hear that i’m not alone. :wink:
In the meantime i tried also to flash via usb, with booth available firmwares.


But booth flashed firmwares leading to a bootlooping m5stack-atom-echo, so it seems somehing is really wrong.

Meanwhile i found the corresponding issue: M5 Stack Atom Echo VA firmware does not install locally since a79c9fa - image too big. · Issue #227 · esphome/firmware · GitHub

And in the comment a temporary workaround.

1 Like

This has been fixed. As I undestand, newly adopted devices will not be affected by the issue any more.
If you have previously adopted devices, you need to edit their configuration and replace

m5stack.atom-echo-voice-assistant: github://esphome/firmware/voice-assistant/m5stack-atom-echo.yaml

with

m5stack.atom-echo-voice-assistant: github://esphome/firmware/voice-assistant/m5stack-atom-echo.adopted.yaml
2 Likes