Hi Guys,
i’m stumbled to WLED a Day ago and it realy hooked me!
Now I need to work on the Weekend to get my spent Time back
Anyway, I have a question - or I need a Advice, we’ll see.
WLED will control some Background-Lights in the Livingroom. There is a Shelly-Switch that sends HTTP-Requests and I like to archive the Following:
Pressing the Switch shut Toogle LED Power. I can do that by sending &T=2, easy so far. But now it’s get tricky. I like to give it specific Preset, but only when its off.
Why?
When I have some other cool effect running I the Switch must just power off on one press. But when the Lights are off and I’m pressing it, then it needs to set the preset and power on!
My Idea is to set up a macro containing something like (pseudo)
IF {LED_Running},{TURN_OFF},[SET_PRESET};
I’m sure my problem is solvable, hoping for some help
Mirko