adnotacje co wyłączać jak mamy urlop/wolne dni w ciągu tygodnia w domu

This commit is contained in:
2023-05-15 11:22:23 +02:00
parent 6320e596c9
commit 66ea303cff
2 changed files with 5 additions and 3 deletions

View File

@@ -42,9 +42,10 @@ end
rule "Przedpokój: zapal rano" rule "Przedpokój: zapal rano"
when when
Time cron "0 44 5 ? * MON-FRI *" Time cron "0 44 5 ? * MON-FRI *" /* była piąta */
/* Time cron "0 33 6 ? * MON-FRI *" */ /* Time cron "0 33 6 ? * MON-FRI *" */
then then
/* wyłączać na urlopie */
sSONOFF06.sendCommand(ON) sSONOFF06.sendCommand(ON)
end end

View File

@@ -5,6 +5,7 @@ when
Time cron "0 43 5 ? * MON-FRI *" Time cron "0 43 5 ? * MON-FRI *"
/* Time cron "0 33 6 ? * MON-FRI *" */ /* Time cron "0 33 6 ? * MON-FRI *" */
then then
/* wyłączać na urlopie */
sOWFS02.sendCommand(ON) sOWFS02.sendCommand(ON)
sSONOFF08a.sendCommand(ON) sSONOFF08a.sendCommand(ON)
end end
@@ -13,7 +14,7 @@ end
rule "Zgaś lampkę i cottonballs rano" rule "Zgaś lampkę i cottonballs rano"
when when
/* Time cron "0 30 6 * * ?" */ /* Time cron "0 30 6 * * ?" */
Time cron "0 30 7 * * ?" Time cron "0 00 7 * * ?"
then then
sOWFS02.sendCommand(OFF) sOWFS02.sendCommand(OFF)
sSONOFF08a.sendCommand(OFF) sSONOFF08a.sendCommand(OFF)