Hi everybody,
i try to create buttons with fade times for the DMX binding.
My first idea was to create rules for the buttons.
rule "Fade In Fast"
when Item Fade_In_Fast changed from OFF to ON
then
var Number dimmerintensity_in_fast=20
while (dimmerintensity_in_fast<60) {
if (dimmerintensity_in_fast != 59) {
dimmerintensity_in_fast=dimmerintensity_in_fast+1
sendCommand (Saallicht1, dimmerintensity_in_fast)
sendCommand (Saallicht2, dimmerintensity_in_fast)
sendCommand (Saallicht3, dimmerintensity_in_fast)
sendCommand (Saallicht4, dimmerintensity_in_fast)
Thread::sleep(500)
}
else {
postUpdate(Fade_In_Fast, OFF)
}
}
I need this 4 times.
Fade Out Fast, Fade Out Slow, Fade In Fast, Fade In Slow
So i created four of this rules. But after i started every rule they didn’t break and the dimmerintensity began to jump.
In the end i want a fade out over 60 seconds (slow). But the lights should dimm one after another.
So every light has 30 seconds from 60 to 0 %.
The first row starts at 0 sec.
The secons on 10 sec.
The third on 20 sec.
And the last on 30 sec.
0 seconds(Saallicht1) - - - 10(Saallicht2) ---- 20(Saallicht3) ---- 30(Saalicht1 ends; Saalicht4 starts) ---- 40(Saallicht 2 ends) — 50(Saalicht 3 ends) ----- 60 seconds (Saallicht 4 ends)
So how can i do this with the DMX Binding Fade? And how get i the best performance?
I would be grateful for every good idea.