You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WLED_0.14.0-b3 binary too large for OTA updates of 2M ESP8266 boards (e.g. Athom devices) #3257
Thank you for the report! Which version did you try updating from? Please check the total size of the Filesystem in the Info tab of the main UI, it should be 499 kB.
I successfully OTA updated my 7W E27 Athom bulb, which also runs on a 2MB ESP8266.
Thank you for the report! Which version did you try updating from? Please check the total size of the Filesystem in the Info tab of the main UI, it should be 499 kB.
I successfully OTA updated my 7W E27 Athom bulb, which also runs on a 2MB ESP8266.
Hello!
Reacted by WarC0zes, Christian Schwinne, olympia and weppa
Same issue here after updating ESP8266 WLED_0.14.0-b1_ESP8266.bin to WLED_0.14.0-b3_ESP8266.bin.
Tried OTA and wired flashing.
ESP stays in AP-Mode. Its controllable but does not connect to wifi.
Tried updating two of these Athom LS4P-WLED devies not with same result.
Tried manual update through the WebUI with the file WLED_0.14.0-b3_ESP02.bin.
Tried manual update and unchecking Enable ArduinoOTA (Probably unrelated).
Both fail with the "Please check your file" error.
Also tried updating using the Home Assistant integration and that fails with the following information in the logs...
Logger: homeassistant.core
Source: components/wled/helpers.py:34
First occurred: 07:21:24 (2 occurrences)
Last logged: 14:12:49
Error executing service: <ServiceCall update.install (c:01H3GRRVN95D8KB6QYV0C97X0J): entity_id=['update.arbetsrum_wled_list_firmware'], version=0.14.0-b3, backup=False>
Error executing service: <ServiceCall update.install (c:01H3HGAPGRVE43HY05X1RVW99H): entity_id=['update.ellie_wled_list_firmware'], version=0.14.0-b3, backup=False>
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/wled/wled.py", line 699, in upgrade
await self.session.post(url, data=form)
File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 560, in _request
await resp.start(conn)
File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 899, in start
message, payload = await protocol.read() # type: ignore[union-attr]
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/streams.py", line 616, in read
await self._waiter
aiohttp.client_exceptions.ClientOSError: [Errno 32] Broken pipe
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/wled/helpers.py", line 28, in handler
await func(self, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/components/wled/update.py", line 89, in async_install
await self.coordinator.wled.upgrade(version=version)
File "/usr/local/lib/python3.11/site-packages/wled/wled.py", line 717, in upgrade
raise WLEDConnectionError(msg) from exception
wled.exceptions.WLEDConnectionError: Timeout occurred while communicating with GitHub for WLED version information
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/core.py", line 1928, in catch_exceptions
await coro_or_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1950, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 226, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 811, in entity_service_call
future.result() # pop exception if have
^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1034, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 851, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/update/init.py", line 156, in async_install
await entity.async_install_with_progress(version, backup)
File "/usr/src/homeassistant/homeassistant/components/update/init.py", line 417, in async_install_with_progress
await self.async_install(version, backup)
File "/usr/src/homeassistant/homeassistant/components/wled/helpers.py", line 34, in handler
raise HomeAssistantError("Error communicating with WLED API") from error
homeassistant.exceptions.HomeAssistantError: Error communicating with WLED API
Same here, just got my first Athom device and was about to start experimenting with WLED and an LED matrix but b3 can't be flashed, b1 works fine. Great work on 2D support though, works pretty well.
Just an idea - the new firmware is 823Kb, while beta-1 was 784 Kb. Depending on LittleFS size, it could be that the firmware now is too large for normal OTA update, as OTA seems to need 2x firmware size. 2x823 =1646, so a 2MB devi ce with 512KB filesystem would not have enough space for OTA.
Using the compressed binaries should update successfully
This is a great tip and I can confirm this to be working! It slightly increased update time as decompression is required, but I've added a new binary [WLED_0.14.0-b3_ESP02_2306240.bin.gz](https://github.com/Aircoookie/WLED/releases/download/v0.14.0-b3/WLED_0.14.0-b3_ESP02_2306240.bin.gz) to the release.
We still need to keep an eye on binary size, as the sum of b3 and b3 .gz combined is 1447, which is only about 50 kB below limit.
This compressed file (and WLED_0.14.0-b6_ESP02.bin.gz) are still not working for athom bulbs stuck on 0.13.0-b6.
Using the compressed binaries should update successfully
This is a great tip and I can confirm this to be working! It slightly increased update time as decompression is required, but I've added a new binary [WLED_0.14.0-b3_ESP02_2306240.bin.gz](https://github.com/Aircoookie/WLED/releases/download/v0.14.0-b3/WLED_0.14.0-b3_ESP02_2306240.bin.gz) to the release.
We still need to keep an eye on binary size, as the sum of b3 and b3 .gz combined is 1447, which is only about 50 kB below limit.
This compressed file (and WLED_0.14.0-b6_ESP02.bin.gz) are still not working for athom bulbs stuck on 0.13.0-b6.
I was able to flash 0.14.0-b6. But the latest one still fails for me. Is there anything we can do, or are we stuck with this version?
I was able to flash 0.14.0-b6. But the latest one still fails for me. Is there anything we can do, or are we stuck with this version?
FYI, I've abandoned the Athom WLED device as it is severely hampered by the memory limit, plus I've had issued with WLED & Hyperion. That and I found the Wi-Fi link between Hyperion & WLED a little slow.
I've replaced it with HyperHDR on a Pi 3B+ connected to a USB-C powered Pimoroni Plasma 2040 (RP2040=based driver board) and my APA102 light strip for ambient TV lighting. Check out if HyperHDR + HyperSerialPico suits your needs.
I was able to flash 0.14.0-b6. But the latest one still fails for me. Is there anything we can do, or are we stuck with this version?
FYI, I've abandoned the Athom WLED device as it is severely hampered by the memory limit, plus I've had issued with WLED & Hyperion. That and I found the Wi-Fi link between Hyperion & WLED a little slow. I've replaced it with HyperHDR on a Pi 3B+ connected to a USB-C powered Pimoroni Plasma 2040 (RP2040=based driver board) and my APA102 light strip for ambient TV lighting. Check out if HyperHDR + HyperSerialPico suits your needs.
Athom has an ESP32 version of the controller, you can choose that one, it has 8MB of flash memory
Athom has an ESP32 version of the controller, you can choose that one, it has 8MB of flash memory
Thanks!
That would have been useful info a month or two ago but I am well underway now with my old Pi3B+ & HyperHDR (free) & Pico RP2040 (CAD$25) vs Athom SKU: LS8P-WLED (US$24.85). Still, I'll keep it in the back of my mind.
Is anyone still having this issue? Last file I could update was 0.14.0-b6. Every update after that fails, even using the .gz provided.
Flash space for firmware is "on the edge" with ESP8266 2MB, and "over the edge" with ESP8266 <= 1MB.
If you have problems to OTA update your device with the .gz file, it could be that the device was pre-installed with a filesystem of >512Kb. In that case, you can only update by USB, but previously a complete chip erase with esptool erase_flash is necessary, removing the too-large filesystem. So make a backup of your old config and presets.
After complete erase, you must upload WLED by USB - OTA not possible, sorry.
Ran into what I suspect is this issue with an Adafruit Feather ESP8266 (4MB flash) in a difficult to access location running WLED 13.3.
I ultimately got 14.0 to flash OTA successfully with the gzipped 02 image after factory resetting WLED, then trying to upgrade. Went from 14.0 > 15.3 without any issues, and probably could've gone straight from 13.3 > 15.3.
Activity
[-]Update failed with WLED_0.14.0-b3[/-][+]Update failed with WLED_0.14.0-b3 Athom Devices.[/+]olympia commentedon Jun 22, 2023
I've got the same both with:
Aircoookie commentedon Jun 22, 2023
Thank you for the report! Which version did you try updating from? Please check the total size of the Filesystem in the Info tab of the main UI, it should be 499 kB.
I successfully OTA updated my 7W E27 Athom bulb, which also runs on a 2MB ESP8266.
javigmsuperka commentedon Jun 22, 2023
Hello!
olympia commentedon Jun 22, 2023
@javigmsuperka was faster, but it is exactly the same for me
weppa commentedon Jun 22, 2023
Same with me, I have the https://es.athom.tech/blank-1/wled-high-power-led-strip-controller
Toggz commentedon Jun 22, 2023
Problem here also using an Athom esp8266, manual and auto update via Ha failures. :(
Joakim-T commentedon Jun 22, 2023
Same issue here. Can i enable some kind of debugging in wled to see where it fails?
Rushmed commentedon Jun 22, 2023
Same issue here after updating ESP8266 WLED_0.14.0-b1_ESP8266.bin to WLED_0.14.0-b3_ESP8266.bin.
Tried OTA and wired flashing.
ESP stays in AP-Mode. Its controllable but does not connect to wifi.
blazoncek commentedon Jun 22, 2023
Are you using newer or older Athom bulbs?
Joakim-T commentedon Jun 22, 2023
Tried updating two of these Athom LS4P-WLED devies not with same result.
Tried manual update through the WebUI with the file WLED_0.14.0-b3_ESP02.bin.
Tried manual update and unchecking Enable ArduinoOTA (Probably unrelated).
Both fail with the "Please check your file" error.
Also tried updating using the Home Assistant integration and that fails with the following information in the logs...
Logger: homeassistant.core
Source: components/wled/helpers.py:34
First occurred: 07:21:24 (2 occurrences)
Last logged: 14:12:49
Error executing service: <ServiceCall update.install (c:01H3GRRVN95D8KB6QYV0C97X0J): entity_id=['update.arbetsrum_wled_list_firmware'], version=0.14.0-b3, backup=False>
Error executing service: <ServiceCall update.install (c:01H3HGAPGRVE43HY05X1RVW99H): entity_id=['update.ellie_wled_list_firmware'], version=0.14.0-b3, backup=False>
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/wled/wled.py", line 699, in upgrade
await self.session.post(url, data=form)
File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 560, in _request
await resp.start(conn)
File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 899, in start
message, payload = await protocol.read() # type: ignore[union-attr]
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/streams.py", line 616, in read
await self._waiter
aiohttp.client_exceptions.ClientOSError: [Errno 32] Broken pipe
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/wled/helpers.py", line 28, in handler
await func(self, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/components/wled/update.py", line 89, in async_install
await self.coordinator.wled.upgrade(version=version)
File "/usr/local/lib/python3.11/site-packages/wled/wled.py", line 717, in upgrade
raise WLEDConnectionError(msg) from exception
wled.exceptions.WLEDConnectionError: Timeout occurred while communicating with GitHub for WLED version information
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/core.py", line 1928, in catch_exceptions
await coro_or_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1950, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 226, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 811, in entity_service_call
future.result() # pop exception if have
^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1034, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 851, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/update/init.py", line 156, in async_install
await entity.async_install_with_progress(version, backup)
File "/usr/src/homeassistant/homeassistant/components/update/init.py", line 417, in async_install_with_progress
await self.async_install(version, backup)
File "/usr/src/homeassistant/homeassistant/components/wled/helpers.py", line 34, in handler
raise HomeAssistantError("Error communicating with WLED API") from error
homeassistant.exceptions.HomeAssistantError: Error communicating with WLED API
mateuszdrab commentedon Jun 22, 2023
Same here, just got my first Athom device and was about to start experimenting with WLED and an LED matrix but b3 can't be flashed, b1 works fine. Great work on 2D support though, works pretty well.
mikem30303 commentedon Jun 22, 2023
athom controller, same issue. Following.
softhack007 commentedon Jun 22, 2023
Just an idea - the new firmware is 823Kb, while beta-1 was 784 Kb. Depending on LittleFS size, it could be that the firmware now is too large for normal OTA update, as OTA seems to need 2x firmware size. 2x823 =1646, so a 2MB devi ce with 512KB filesystem would not have enough space for OTA.
17 remaining items
danielbrunt57 commentedon Aug 7, 2023
This compressed binary worked for my LS-4P from b1 to b3! Thanks!
Balooski commentedon Aug 17, 2023
Same issue on latest firmware. Compressed binary did not work for me. Can I help in any way?
brentcomeau commentedon Oct 9, 2023
This compressed file (and WLED_0.14.0-b6_ESP02.bin.gz) are still not working for athom bulbs stuck on 0.13.0-b6.
N1029676 commentedon Nov 22, 2023
This process was failing when I tried to update from my phones web browser but was successful when updating from my desktop's browser.
Balooski commentedon Nov 22, 2023
I'm on 1
I was able to flash 0.14.0-b6. But the latest one still fails for me. Is there anything we can do, or are we stuck with this version?
danielbrunt57 commentedon Nov 22, 2023
FYI, I've abandoned the Athom WLED device as it is severely hampered by the memory limit, plus I've had issued with WLED & Hyperion. That and I found the Wi-Fi link between Hyperion & WLED a little slow.
I've replaced it with HyperHDR on a Pi 3B+ connected to a USB-C powered Pimoroni Plasma 2040 (RP2040=based driver board) and my APA102 light strip for ambient TV lighting. Check out if HyperHDR + HyperSerialPico suits your needs.
tarontop commentedon Nov 22, 2023
Athom has an ESP32 version of the controller, you can choose that one, it has 8MB of flash memory
danielbrunt57 commentedon Nov 22, 2023
Thanks!
That would have been useful info a month or two ago but I am well underway now with my old Pi3B+ & HyperHDR (free) & Pico RP2040 (CAD$25) vs Athom SKU: LS8P-WLED (US$24.85). Still, I'll keep it in the back of my mind.
Balooski commentedon Jan 4, 2024
Is anyone still having this issue? Last file I could update was 0.14.0-b6. Every update after that fails, even using the .gz provided.
danielbrunt57 commentedon Jan 4, 2024
Not me. I abandoned my WLED-based Athom LS-4P in favor of an RP2040-based Pimoroni Plasma 2040 directly connected to my Pi 3B+ running HyperHDR.
softhack007 commentedon Jan 4, 2024
Flash space for firmware is "on the edge" with ESP8266 2MB, and "over the edge" with ESP8266 <= 1MB.
If you have problems to OTA update your device with the .gz file, it could be that the device was pre-installed with a filesystem of >512Kb. In that case, you can only update by USB, but previously a complete chip erase with
esptool erase_flashis necessary, removing the too-large filesystem. So make a backup of your old config and presets.After complete erase, you must upload WLED by USB - OTA not possible, sorry.
Fix firmware upgrade for 2M ESP8266 boards
igorsantos07 commentedon May 9, 2024
I have two of this model, and gzipping 0.15.0-b2 from 900.5kb to 648kb did the trick 🙏
Although I had to re-pair and restore backups, but I guess this is expected?
Fix firmware upgrade for 2M ESP8266 boards
realchrisolin commentedon Jan 13, 2026
Ran into what I suspect is this issue with an Adafruit Feather ESP8266 (4MB flash) in a difficult to access location running WLED 13.3.
I ultimately got 14.0 to flash OTA successfully with the gzipped 02 image after factory resetting WLED, then trying to upgrade. Went from 14.0 > 15.3 without any issues, and probably could've gone straight from 13.3 > 15.3.