2025-06-05

This commit is contained in:
Patrick Niebeling
2025-06-05 13:24:26 +02:00
parent 9347d3284d
commit b091f04a1b
3 changed files with 47 additions and 49 deletions

View File

@ -2,7 +2,6 @@ rule "Abruf Dienste"
when
// Time cron "0 * * ? * *" or
Time cron "0 0 19 ? * MON-FRI" or
Time cron "0 16 14 ? * MON-FRI" or
Time cron "0 0 7 ? * SAT,SUN"
then
logInfo("HTTPGET", "Abfrage Erfolgt")

View File

@ -6,6 +6,38 @@ then
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
@ -15,18 +47,10 @@ then
logInfo("REMWEBIO001.rules", "FunctioncheckSwitch: " + FunctioncheckSwitch.state.toString)
if( StartupSwitch.state == ON && FFStatus67641319.state == 2) {
logInfo("REMWEBIO001.rules", "Tor 1 öffnen")
REMWEBIO001_Ausgang0.sendCommand(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 received update
@ -36,18 +60,10 @@ then
logInfo("REMWEBIO001.rules", "FunctioncheckSwitch: " + FunctioncheckSwitch.state.toString)
if( StartupSwitch.state == ON && FFStatus67641342.state == 2) {
logInfo("REMWEBIO001.rules", "Tor 2 öffnen")
REMWEBIO001_Ausgang1.sendCommand(ON)
REMWEBIO001_Ausgang2.sendCommand(ON)
}
end
rule "Steuerung Tor 3"
when
Item REMWEBIO001_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 received update
@ -57,18 +73,10 @@ then
logInfo("REMWEBIO001.rules", "FunctioncheckSwitch: " + FunctioncheckSwitch.state.toString)
if( StartupSwitch.state == ON && FFStatus67641349.state == 2) {
logInfo("REMWEBIO001.rules", "Tor 3 öffnen")
REMWEBIO001_Ausgang2.sendCommand(ON)
REMWEBIO001_Ausgang0.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 received update
@ -82,14 +90,6 @@ then
}
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 received update