From d29402d64fd9c044efde314f0efba6d64c04bc2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20M=C3=B6hle?= <91616163+softhack007@users.noreply.github.com> Date: Mon, 26 Jan 2026 13:54:32 +0100 Subject: [PATCH] quickfix for sporadic "relay does not turn on" issues see discussion in https://github.com/wled/WLED/issues/5312 --- wled00/wled.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/wled00/wled.cpp b/wled00/wled.cpp index 1c319585..f3f61bc2 100644 --- a/wled00/wled.cpp +++ b/wled00/wled.cpp @@ -962,6 +962,7 @@ void WLED::beginStrip() if (rlyPin>=0) { if (strip.isUpdating()) delay(FRAMETIME_FIXED); // WLEDMM ensure that no background led communication is happening while powering on the strip digitalWrite(rlyPin, (rlyMde ? bri : !bri)); + offMode = !bri; // WLEDMM quickfix for sporadic "relay does not turn on" problems delay(75); // wait for relay to switch and power to stabilize strip.show(); // update LEDs delay(5);