Hi All,
It’s worth noting there’s a little bit more budget as the ota gets gzipped, but, alas, it seems the more recent update has exhausted it 🙁
The figures I’m seeing are as follows.
Okay, having done some investigation, I’m seeing:
- space:
1023984
- pre-v6
574096b
(394244b
gz ota)
- post-v6
606528 b
(419056b
gz ota)
So yeah, we’ve exhausted by ~1.6kb 😑
Frustratingly, you can do the initial flash of v6 from v4 (or the other way round) but not reflash a v6 bin to v6.
That would be why it wasn’t caught in the initial test, sorry!
There have been a few requests for auto-minimal:
However, that’s beyond what we can do in the immediate term.
As such, I’ve merged in pr#12. Thanks, @MichaelMKKelly, for the investigation and the poke!
As hinted at above, it looks like the actual cause may not have been just ESPHome but pr#9, where we added IPv6 support.
Whilst this was initially tested, we did not need to flash multiple times, so the space issue was not discovered.
In the future, we’ll consider this as part of our testing for future firmware revisions.
I’ll more formally cut a release once the other pr(s) have eyes on them, and then we can remove the daily energy to get v6 support back, should that be a desirable pathway!
That will, however, be done in a way that warns people of the breaking change, etc