Skip to content

OTA Update Fails on ESP8266 with Relay Enabled When Upgrading from WLED 0.15.1 to 0.15.3 #5160

Closed as not planned

Description

@curfew3749

What happened?

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?

ESP8266

Relevant log/trace output

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. DedeHai commented on Dec 7, 2025

    @DedeHai
    Collaborator

    Can you please provide your config.json file?

  2. netmindz commented on Dec 7, 2025

    @netmindz
    Member

    @DedeHai are there any files on the filesystem that indicate when the firmware has rolled back?

  3. curfew3749 commented on Dec 7, 2025

    @curfew3749
    Author

    cfg.json attached

    redacted_cfg.json

  4. DedeHai commented on Dec 14, 2025

    @DedeHai
    Collaborator

    @DedeHai are there any files on the filesystem that indicate when the firmware has rolled back?

    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.

  5. DedeHai commented on Dec 14, 2025

    @DedeHai
    Collaborator

    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.

  6. added
    cannot reproduce
    on Dec 14, 2025
  7. willmmiles commented on Dec 14, 2025

    @willmmiles
    Member

    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.

  8. Scope12345 commented on Dec 14, 2025

    @Scope12345

    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.

  9. willmmiles commented on Dec 15, 2025

    @willmmiles
    Member

    @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)

  10. Scope12345 commented on Dec 15, 2025

    @Scope12345

    @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.

  11. DedeHai commented on Dec 15, 2025

    @DedeHai
    Collaborator

    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.

  12. added
    waiting for feedback
    on Dec 23, 2025
  13. github-actions commented on Apr 22, 2026

    @github-actions

    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! ✨

  14. added
    stale
    on Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcannot reproducenot_plannedstalewaiting for feedback

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions