Is it possible to use the DMX command “FADE” in the rules?
I tasted so:
Items:
Dimmer r_spot "r_spot [%d]" {dmx="CHANNEL[1]"}
Rules:
rule "Dimmed LightR"
when
Item extR changed
then
r_spot.sendCommand(ON[FADE|60000:255,255,255:-1])
end
But in this case, an error:
Error during the execution of rule 'Dimmed LightR': feature was simple feature call
but got receiver instead of null. Receiver: Proxy for
org.eclipse.xtext.xbase.lib.Functions$Function1:
org.eclipse.xtext.xbase.impl.XClosureImplCustom@9cc129 (explicitSyntax: true)
This sample test. I want to make a run FADE command with specified values. Therefore, I can not assign values in item.