After " arduino_version: latest" - can't OTA

I had issues with a particular LED downlight model which reboot itself after 10 minutes or so when turned on. No rebooting when these downlights (x4) where off.

These lights worked on Tasmota, so I wanted to find out what was the issue.

Having tried setting reboot_timeout to 0 for wifi and mqtt (api disabled), I decided to try using “arduino_version: latest”. This actually fixed it!

However, now when I try to OTA update it (to remove the debug component), I found it could not update. Error: ESP does not have enough space to store OTA file

Before using “arduino_version: latest”, I will able to OTA back and forth with no issues.

I tried OTA’ing a minimal config, but still no joy.

The current firmware has the following footprint:
RAM: [==== ] 44.3% (used 36300 bytes from 81920 bytes)
Flash: [====== ] 61.9% (used 471844 bytes from 761840 bytes)

The minimal firmware has the following:
RAM: [==== ] 39.1% (used 32016 bytes from 81920 bytes)
Flash: [=== ] 31.5% (used 323064 bytes from 1023984 bytes)

Is there anyway to recover this situation without serial flash as I don’t really want to open up a light bulb.

The configured board is: esp01_1m

Cheers
Joe

No. Unfortunately not.

That’s what I feared. Would still like to know what happened there as I have another 3 that I’d like to move over to ESPhome.

So prior to adding “arduino_version: latest” in the core config, I was able to move freely from Tasmota to ESPhome, back and forth (as part of debugging) and also different versions of similar ESPhome (in some cases, including additional API component).

What caused this space issue now?

Also presumably with the debug component added in (which is the only thing I wanted to remove via new firmware OTA), this won’t cause any issues apart from additional MQTT messages sent to +/debug)?

cheers
Joe

Now I’m going to contradict Tom_l (which I really shouldn’t, because he is one of the smartest people on this forum), but what if you compiled a minimal firmware without any components ?

Yeah, the minimal firmware only has wifi and ota at the moment, and it results in the following:
RAM: [==== ] 39.1% (used 32016 bytes from 81920 bytes)
Flash: [=== ] 31.5% (used 323064 bytes from 1023984 bytes)

If there is a smaller possibility would be happy to try that.

Mate, thank you but I am still very much learning. Never be afraid to contradict me. I make mistakes every day.

I did see this in the original post:

Which is why I think serial is the only option now.