Hi everyone,
I have a question regarding my textual rules.
I have a rule like this:
rule1
...
TV_LG_RS232_POWER.sendCommand(ON)
sendCommand(HyperionNgServerHyperionenabled, ON)
rule2
rule "Farben und effekte löschen"
when
Item HyperionNgServerHyperionenabled received command ON
then
logInfo("rules", logPrefix+ "rs232 power {}",TV_LG_RS232_POWER.state)
if(TV_LG_RS232_POWER.state==OFF){
HyperionNgServerEffect.sendCommand("Lights")
}
Sometimes the item TV_LG_RS232_POWER has the state OFF, even the command TV_LG_RS232_POWER.sendCommand(ON) was executed before in rule1.
So it is not setting the effect. There seems to be a delay in the rule execution. Is there a way I can proof that the Item has the correct value before I check it in another rule?