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

@@ -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 */
sOWFS02.sendCommand(ON)
sSONOFF08a.sendCommand(ON)
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)