rule "Steuerung Tor 1" when Item REMWEBIO001_Ausgang0 changed to ON then Thread::sleep(1000) REMWEBIO001_Ausgang0.sendCommand(OFF) end rule "Steuerung Tor 2" when Item REMWEBIO001_Ausgang1 changed to ON then Thread::sleep(1000) REMWEBIO001_Ausgang1.sendCommand(OFF) end rule "Steuerung Tor 3" when Item REMWEBIO001_Ausgang2 changed to ON then Thread::sleep(1000) REMWEBIO001_Ausgang2.sendCommand(OFF) end rule "Steuerung Tor 4" when Item REMWEBIO001_Ausgang3 changed to ON then Thread::sleep(1000) REMWEBIO001_Ausgang3.sendCommand(OFF) end rule "Steuerung Tor 5" when Item REMWEBIO001_Ausgang4 changed to ON then Thread::sleep(1000) REMWEBIO001_Ausgang4.sendCommand(OFF) end rule "MTF 1 (3-19-1) - Status 2" when Item FFStatus67641319 received update then logInfo("REMWEBIO001.rules", "Rule MTF 1 (3-19-1) - Status 2 triggered") logInfo("REMWEBIO001.rules", "StartupSwitch: " + StartupSwitch.state.toString) logInfo("REMWEBIO001.rules", "FunctioncheckSwitch: " + FunctioncheckSwitch.state.toString) if( StartupSwitch.state == ON && FFStatus67641319.state == 2) { logInfo("REMWEBIO001.rules", "Tor 1 öffnen") // REMWEBIO001_Ausgang0.sendCommand(ON) } end rule "LF 8/6-1 (3-42-1) - Status 2" when Item FFStatus67641342 received update then logInfo("REMWEBIO001.rules", "Rule LF 8/6-1 (3-42-1) - Status 2 triggered") logInfo("REMWEBIO001.rules", "StartupSwitch: " + StartupSwitch.state.toString) logInfo("REMWEBIO001.rules", "FunctioncheckSwitch: " + FunctioncheckSwitch.state.toString) if( StartupSwitch.state == ON && FFStatus67641342.state == 2) { logInfo("REMWEBIO001.rules", "Tor 2 öffnen") REMWEBIO001_Ausgang2.sendCommand(ON) } end rule "LF 8/6-2 (3-42-2) - Status 2" when Item FFStatus67641349 received update then logInfo("REMWEBIO001.rules", "Rule LF 8/6-2 (3-42-2) - Status 2 triggered") logInfo("REMWEBIO001.rules", "StartupSwitch: " + StartupSwitch.state.toString) logInfo("REMWEBIO001.rules", "FunctioncheckSwitch: " + FunctioncheckSwitch.state.toString) if( StartupSwitch.state == ON && FFStatus67641349.state == 2) { logInfo("REMWEBIO001.rules", "Tor 3 öffnen") REMWEBIO001_Ausgang0.sendCommand(ON) } end rule "MTF 2 (3-19-2) - Status 2" when Item FFStatus67641317 received update then logInfo("REMWEBIO001.rules", "Rule MTF 2 (3-19-2) - Status 2 triggered") logInfo("REMWEBIO001.rules", "StartupSwitch: " + StartupSwitch.state.toString) logInfo("REMWEBIO001.rules", "FunctioncheckSwitch: " + FunctioncheckSwitch.state.toString) if( StartupSwitch.state == ON && FFStatus67641317.state == 2 ) { logInfo("REMWEBIO001.rules", "Tor 4 öffnen") REMWEBIO001_Ausgang3.sendCommand(ON) } end rule "RW1 (3-51-1) - Status 2" when Item FFStatus67641351 received update then logInfo("REMWEBIO001.rules", "Rule RW1 (3-51-1) - Status 2 triggered") logInfo("REMWEBIO001.rules", "StartupSwitch: " + StartupSwitch.state.toString) logInfo("REMWEBIO001.rules", "FunctioncheckSwitch: " + FunctioncheckSwitch.state.toString) if( StartupSwitch.state == ON && FFStatus67641351.state == 2) { logInfo("REMWEBIO001.rules", "Tor 5 öffnen") REMWEBIO001_Ausgang4.sendCommand(ON) } end rule "Steuerung Alarmlicht & Gong" when Item REMWEBIO001_Ausgang5 changed to ON then Thread::sleep(6000) REMWEBIO001_Ausgang5.sendCommand(OFF) end