Alarmgong, Alarmlicht und Hoftor Steuerung
This commit is contained in:
92
rules/REMWEBIO001.rules
Normal file
92
rules/REMWEBIO001.rules
Normal file
@ -0,0 +1,92 @@
|
||||
rule "Steuerung Tor 1"
|
||||
when
|
||||
Item REMWEBIO001_Ausgang0 changed to ON
|
||||
then
|
||||
Thread::sleep(1000)
|
||||
REMWEBIO001_Ausgang0.sendCommand(OFF)
|
||||
end
|
||||
|
||||
rule "MTF 1 (3-19-1) - Status 2"
|
||||
when
|
||||
Item FFStatus67641319 changed to 2
|
||||
then
|
||||
if( StartupSwitch.state == ON && FunctioncheckSwitch.state!=ON ) {
|
||||
REMWEBIO001_Ausgang0.sendCommand(ON)
|
||||
}
|
||||
end
|
||||
|
||||
rule "Steuerung Tor 2"
|
||||
when
|
||||
Item REMWEBIO001_Ausgang1 changed to ON
|
||||
then
|
||||
Thread::sleep(1000)
|
||||
REMWEBIO001_Ausgang1.sendCommand(OFF)
|
||||
end
|
||||
|
||||
rule "LF 8/6-1 (3-42-1) - Status 2"
|
||||
when
|
||||
Item FFStatus67641342 changed to 2
|
||||
then
|
||||
if( StartupSwitch.state == ON && FunctioncheckSwitch.state!=ON ) {
|
||||
REMWEBIO001_Ausgang1.sendCommand(ON)
|
||||
}
|
||||
end
|
||||
|
||||
rule "Steuerung Tor 3"
|
||||
when
|
||||
Item REMWEBIO002_Ausgang2 changed to ON
|
||||
then
|
||||
Thread::sleep(1000)
|
||||
REMWEBIO001_Ausgang2.sendCommand(OFF)
|
||||
end
|
||||
|
||||
rule "LF 8/6-2 (3-42-2) - Status 2"
|
||||
when
|
||||
Item FFStatus67641349 changed to 2
|
||||
then
|
||||
if( StartupSwitch.state == ON && FunctioncheckSwitch.state!=ON ) {
|
||||
REMWEBIO001_Ausgang2.sendCommand(ON)
|
||||
}
|
||||
end
|
||||
|
||||
rule "Steuerung Tor 4"
|
||||
when
|
||||
Item REMWEBIO001_Ausgang3 changed to ON
|
||||
then
|
||||
Thread::sleep(1000)
|
||||
REMWEBIO001_Ausgang3.sendCommand(OFF)
|
||||
end
|
||||
|
||||
rule "MTF 2 (3-19-2) - Status 2"
|
||||
when
|
||||
Item FFStatus67641317 changed to 2
|
||||
then
|
||||
if( StartupSwitch.state == ON && FunctioncheckSwitch.state!=ON ) {
|
||||
REMWEBIO001_Ausgang4.sendCommand(ON)
|
||||
}
|
||||
end
|
||||
|
||||
rule "Steuerung Tor 5"
|
||||
when
|
||||
Item REMWEBIO001_Ausgang4 changed to ON
|
||||
then
|
||||
Thread::sleep(1000)
|
||||
REMWEBIO001_Ausgang4.sendCommand(OFF)
|
||||
end
|
||||
|
||||
rule "RW1 (3-51-1) - Status 2"
|
||||
when
|
||||
Item FFStatus67641351 changed to 2
|
||||
then
|
||||
if( StartupSwitch.state == ON && FunctioncheckSwitch.state!=ON ) {
|
||||
REMWEBIO001_Ausgang5.sendCommand(ON)
|
||||
}
|
||||
end
|
||||
|
||||
rule "Steuerung Alarmlicht & Gong"
|
||||
when
|
||||
Item REMWEBIO001_Ausgang5 changed to ON
|
||||
then
|
||||
Thread::sleep(6000)
|
||||
REMWEBIO001_Ausgang5.sendCommand(OFF)
|
||||
end
|
Reference in New Issue
Block a user