Kaldek / rat-ratgdo

Open source schematics for ratgdo PCB
MIT License
329 stars 53 forks source link

Error: ESP does not have enough space to store OTA file. #66

Closed williamcwallis closed 9 months ago

williamcwallis commented 9 months ago

I’m receiving the following error on my setup when trying to update the firmware.

Screenshot 2023-12-28 at 8 55 53 AM

Per the instructions on the ESPHome vs Native Ratgdo page, I added the d1_mini board code in my yaml as seen below.

Screenshot 2023-12-28 at 9 05 48 AM

I am using the following board. https://a.co/d/6W7dEID

Apologies if there is something that I’m missing rather than this being an actual issue. Thanks.

Kaldek commented 9 months ago

Hi mate, did you first reflash it using USB? The first time you update the settings to "d1_mini" it still doesn't know about that capability, so you must first do a "manual" install via USB. After that, it knows about the settings and space available.

https://github.com/Kaldek/rat-ratgdo/blob/main/ESPHome%20vs%20native%20ratgdo.md#initial-re-flash-after-updating-yaml

Kaldek commented 9 months ago

For @CodeFinder2 - I deleted your comment only because it missed the context of how I've provided instrructions for ESP8266 boards with 4MB flash.

williamcwallis commented 9 months ago

I just flashed it manually via USB. That did that trick. No OTA problems now. Thanks for the help!