Description
i'm not 100% sure whether this is a feature request, a bug or neither, anyway:
i am making an ambilight system for my primary desktop computer, the room i'm in is bright a lot of the time, but quite dark at night, so i want to add a switch or anything acting as one (such as a 3 pin digital photoresistor module) to control the master brightness, without interrupting the stream of data at all.
currently, the master brightness slider works perfectly fine both in WLED mode, and in Realtime mode, both through the web portal and the app.
the physical switch works in WLED mode but is completely ignored in Realtime mode, as it relies presets. Lor 1 or 2 do not solve my issue, since 1 does nothing as the stream never ends, and 2 ends the stream.
my ideal solution would be a checkbox in the preset menu or elsewhere, that enables a preset to be loaded while actively in realtime mode.
if the preset system is too hard to realistically change to this end, a hardware override in the "Time & Macros" menu would also be excellent, specifically for master brightness, completely bypassing the presets system. in my ideal version of this implementation, the option would offer limited variables for the two states of a binary switch, such as the brightness to set per state (eg. 0 and 255) as well as a time for how long it would take to hit the set level from its current state, to prevent flashes or rapid flickering in case of a poorly implemented light sensor etc.
if this already exists i apologize for wasting your time, i have spent days at this point, searching the internet and asking questions, but have found no concrete solution.
Activity
DedeHai commentedon Sep 14, 2026
I checked the code. Applying presets during real-time mode is intentionally disabled as it can be disruptive. I am not sure changing that is a good idea as it will make things interfere with streams.
Can you try this: enable "Use main segment only" in sync settings - what it does is only stream to the selected segment and still allow everything else to run. If you only have one segment this should do what you want.
combatplayer commentedon Sep 14, 2026
thank you, this works for the current iteration of my setup!
i have previously read the mentioned thread as well, which is why i said that modifying the preset system might be too troublesome, to achieve such a minor difference in functionality at least. granted i'm very novice to both WLED, code and development, so i may've missed some details that pertain to my situation.
telling WLED that i only have a single segment does indeed make it do what i want it to do, and it works flawlessly (after a reboot of the esp32)
however i only consider this a stopgap solution as my project is still ongoing, depending on what additional functions i learn to use or that gets added later.
personally, i think a universal master brightness override, tied either to physical access or optional software buttons, would be useful enough to a big enough segment to be considered.
it could be implemented as a multiplier of the expected brightness, as to not mess with incoming data or progressing playlists/effects at all, or alternatively a simple brightness cap. implemented with the suggestions i had above.
now i dont know what other problems that might cause, simply a feature request.
combatplayer commentedon Sep 14, 2026
i did not intend to close this, this comment only to reopen, apologies.
DedeHai commentedon Sep 14, 2026
The usual (and intended) way to use WLED is either as a streaming receiver where the sender controls everything OR as a standalone device. Mixing the two is possible with "use main segment only" which does not mean you need a single segment but the stream only streams to the selected segment and others are controlled by wled. This is the exception to the rule so I am a bit hesitant in adding another override just for some special use cases, the code already has way too many special cases to treat special combination cases for users that want to do all at once from a single device.
combatplayer commentedon Sep 14, 2026
i suppose that's a fair way to look at it. i mostly came at it from the angle of "there are already a lot of weird niche options that pertain only to a subset of other users, so whats another that pertains to me." but i can see how eternally adding stuff like that will just complicate things. maybe some day the bridge between the two modes will be gapped, but that'll likely be a much bigger undertaking than yet another override.