Hi guys,
i have a Problem with a rule.
It doesn´t fire anymore, and a don´t know why.
It´s quite smiple, but i am not able to get it work.
Here is my Rule:
rule "Alle Rollo rauf"
when
Item Rollo_gesamt changed to 0
then
Rollo_11.sendCommand(UP)
Thread::sleep(2000)
Rollo_12.sendCommand(UP)
Thread::sleep(2000)
Rollo_1.sendCommand(UP)
Thread::sleep(2000)
Rollo_2.sendCommand(UP)
Thread::sleep(2000)
Rollo_3.sendCommand(UP)
Thread::sleep(2000)
Rollo_4.sendCommand(UP)
Thread::sleep(2000)
Rollo_5.sendCommand(UP)
Thread::sleep(2000)
Rollo_6.sendCommand(UP)
Thread::sleep(2000)
Rollo_7.sendCommand(UP)
Thread::sleep(2000)
Rollo_8.sendCommand(UP)
Thread::sleep(2000)
Rollo_9.sendCommand(UP)
Thread::sleep(2000)
Rollo_10.sendCommand(UP)
Rollo_Dummy_1.sendCommand(OFF) Rollo_Dummy_2.sendCommand(OFF)
Rollo_Dummy_3.sendCommand(OFF)
Rollo_Dummy_4.sendCommand(OFF)
Rollo_Dummy_5.sendCommand(OFF)
Rollo_Dummy_6.sendCommand(OFF)
Rollo_Dummy_7.sendCommand(OFF)
Rollo_Dummy_8.sendCommand(OFF)
Rollo_Dummy_9.sendCommand(OFF)
Rollo_Dummy_10.sendCommand(OFF)
Rollo_Dummy_11.sendCommand(OFF)
Rollo_Dummy_12.sendCommand(OFF)
Szene_7_PM_SZ.sendCommand(7)
Szene_9_PM_Noel.sendCommand(9)
Szene_11_PM_Lia.sendCommand(11)
end
My Item changed to 0 but nothing happens:
2018-09-21 08:23:41.627 [ome.event.ItemCommandEvent] - Item 'Rollo_gesamt' received command 0
What could that be?
I am running on OH 2.3
The opposite rule works great:
rule "Alle Rollo runter"
when
Item Rollo_gesamt changed to 100
then
sendCommand(Rollo_11,DOWN)
Thread::sleep(2000)
sendCommand(Rollo_12,DOWN)
Thread::sleep(2000)
sendCommand(Rollo_1,DOWN)
Thread::sleep(2000)
sendCommand(Rollo_2,DOWN)
Thread::sleep(2000)
sendCommand(Rollo_3,DOWN)
Thread::sleep(2000)
sendCommand(Rollo_4,DOWN)
Thread::sleep(2000)
sendCommand(Rollo_5,DOWN)
Thread::sleep(2000)
sendCommand(Rollo_6,DOWN)
Thread::sleep(2000)
sendCommand(Rollo_7,DOWN)
Thread::sleep(2000)
sendCommand(Rollo_8,DOWN)
Thread::sleep(2000)
sendCommand(Rollo_9,DOWN)
Thread::sleep(2000)
sendCommand(Rollo_10,DOWN)
end
best regards
Vaillan