aktualizacje

This commit is contained in:
2024-09-24 18:22:07 +02:00
parent 4af668cb9d
commit 41e7396205
3 changed files with 19 additions and 8 deletions

View File

@@ -45,8 +45,9 @@ when
Time cron "0 44 5 ? * MON-FRI *" /* była piąta */
/* Time cron "0 33 6 ? * MON-FRI *" */
then
/* wyłączać na urlopie */
if (sHolidayVacancy.state != ON) {
sSONOFF06.sendCommand(ON)
}
end
rule "Przedpokój: zgaś rano"

View File

@@ -37,14 +37,13 @@ end
/* niech czeka na "goodnight" */
/*
rule "Zgaś cottonballsy wieczorem"
rule "Zgaś cottonballsy i balkon wieczorem"
when
Time cron "0 20 22 * * ?"
then
sOWFS01.sendCommand(OFF)
sOWFS01_expected.postUpdate(OFF)
/* balkon */
sSHELLY01.sendCommand(OFF)
end
*/

View File

@@ -4,17 +4,28 @@ rule "Zapal lampkę i cottonballs rano"
when
Time cron "0 43 5 ? * MON-FRI *"
/* Time cron "0 33 6 ? * MON-FRI *" */
/* Time cron "0 59 8 ? * MON-FRI *" */
then
/* wyłączać na urlopie */
if (sHolidayVacancy.state != ON) {
sOWFS02.sendCommand(ON)
sSONOFF08a.sendCommand(ON)
}
end
/*
rule "Zapal lampkę WFH"
when
Time cron "0 29 7 ? * FRI *"
then
sOWFS02.sendCommand(ON)
end
*/
rule "Zgaś lampkę i cottonballs rano"
when
/* Time cron "0 30 6 * * ?" */
Time cron "0 00 7 * * ?"
Time cron "0 10 7 * * ?"
then
sOWFS02.sendCommand(OFF)
sSONOFF08a.sendCommand(OFF)