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
OTA Update Fails on ESP8266 with Relay Enabled When Upgrading from WLED 0.15.1 to 0.15.3 #5160
bugcannot reproduceDevelopers are not able reproduce. Might be fixed already, or report is missing important detailsnot_plannedno change plannedstaleThis issue will be closed soon because of prolonged inactivitywaiting for feedbackaddition information needed to better understand the issue
When attempting to update an ESP8266 running WLED 0.15.1 to 0.15.3, the OTA update consistently fails if the relay feature is enabled. The device begins the update process but never completes it, eventually reverting to the previous version.
I was able to successfully update only by disabling the relay, which worked without issues.
To Reproduce Bug
Set relay IO to 16, and attempt to update from 15.1 to 15.3 OTA.
Expected Behavior
I would expect the version to be upgraded to 15.3, not fail.
Install Method
Binary from WLED.me
What version of WLED?
WLED_0.15.3_ESP8266.bin
Which microcontroller/board are you seeing the problem on?
I was not able to reproduce this. One of my ESP8266 failed to update OTA to 15.3 but that one had so many firmware version changes in testing its hard to link it to this issue. With a fresh install, this does not happen and update works regardless of the relay pin.
Same, I could not reproduce this on my hardware. (I don't have an actual relay, though.) Unfortunately older versions aren't very helpful at telling you why they refused an update -- that was a 0.15.2 feature.
Im having the same issue, its been the case with every point release since v15.0 ... It will try to upgrade, then failing, and remain offline until I turn the power off/on - at which point it will come back with v15.0.
edit: I have only tried updates over the browser - with unit connected to WIFI.
@Scope12345 Try gzipping the binary and then uploading the gz file. It could be that it's too big for your hardware to fit the OTA binary before installing; the ESP8266 bootloader supports gzip compressed OTAs. (Ref: #3257)
@Scope12345 Try gzipping the binary and then uploading the gz file. It could be that it's too big for your hardware to fit the OTA binary before installing; the ESP8266 bootloader supports gzip compressed OTAs. (Ref: #3257)
@willmmiles Thanks for the suggestion.. I have tried uploading as gzip but the outcome is still the same.. It goes offline until I turn power off and back on again - returning with v15.0.
does it also happen if you have nothing connected on GPIO16? that is the "sleep" pin, I dont thinkg it is somehow involved in OTA updates but with ESPs you never know.
Hey! This issue has been open for quite some time without any new comments now. It will be closed automatically in a week if no further activity occurs.
Thank you for using WLED! ✨
bugcannot reproduceDevelopers are not able reproduce. Might be fixed already, or report is missing important detailsnot_plannedno change plannedstaleThis issue will be closed soon because of prolonged inactivitywaiting for feedbackaddition information needed to better understand the issue
Activity
DedeHai commentedon Dec 7, 2025
Can you please provide your config.json file?
netmindz commentedon Dec 7, 2025
@DedeHai are there any files on the filesystem that indicate when the firmware has rolled back?
curfew3749 commentedon Dec 7, 2025
cfg.json attached
redacted_cfg.json
DedeHai commentedon Dec 14, 2025
No, we would need to add one. Only thing that would be detectable if the config was rolled back as that creates a copy with a different backup name.
DedeHai commentedon Dec 14, 2025
I was not able to reproduce this. One of my ESP8266 failed to update OTA to 15.3 but that one had so many firmware version changes in testing its hard to link it to this issue. With a fresh install, this does not happen and update works regardless of the relay pin.
willmmiles commentedon Dec 14, 2025
Same, I could not reproduce this on my hardware. (I don't have an actual relay, though.) Unfortunately older versions aren't very helpful at telling you why they refused an update -- that was a 0.15.2 feature.
Scope12345 commentedon Dec 14, 2025
Im having the same issue, its been the case with every point release since v15.0 ... It will try to upgrade, then failing, and remain offline until I turn the power off/on - at which point it will come back with v15.0.
edit: I have only tried updates over the browser - with unit connected to WIFI.
willmmiles commentedon Dec 15, 2025
@Scope12345 Try gzipping the binary and then uploading the gz file. It could be that it's too big for your hardware to fit the OTA binary before installing; the ESP8266 bootloader supports gzip compressed OTAs. (Ref: #3257)
Scope12345 commentedon Dec 15, 2025
@willmmiles Thanks for the suggestion.. I have tried uploading as gzip but the outcome is still the same.. It goes offline until I turn power off and back on again - returning with v15.0.
DedeHai commentedon Dec 15, 2025
does it also happen if you have nothing connected on GPIO16? that is the "sleep" pin, I dont thinkg it is somehow involved in OTA updates but with ESPs you never know.
github-actions commentedon Apr 22, 2026
Hey! This issue has been open for quite some time without any new comments now. It will be closed automatically in a week if no further activity occurs.
Thank you for using WLED! ✨