From c21a6dee5ec45d0cf8ce0be6c02a9bf6b0e11d83 Mon Sep 17 00:00:00 2001 From: Tomasz Torcz Date: Wed, 3 Dec 2025 09:58:05 +0100 Subject: [PATCH] poprawki do WFH Asiowego --- rules/przedpokój.rules | 3 ++- rules/sypialnia.lampka-nocna.rules | 4 ++-- rules/wc.rules | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/rules/przedpokój.rules b/rules/przedpokój.rules index f617e0e..dd71c48 100644 --- a/rules/przedpokój.rules +++ b/rules/przedpokój.rules @@ -52,7 +52,8 @@ end rule "Przedpokój: zgaś rano" when - Time cron "0 10 7 ? * MON-FRI *" + /* teraz po osmej, bo ciemno i Asia WFH */ + Time cron "0 10 8 ? * MON-FRI *" then sSONOFF06.sendCommand(OFF) end diff --git a/rules/sypialnia.lampka-nocna.rules b/rules/sypialnia.lampka-nocna.rules index 710cd06..89c8a72 100644 --- a/rules/sypialnia.lampka-nocna.rules +++ b/rules/sypialnia.lampka-nocna.rules @@ -2,8 +2,8 @@ rule "Zapal lampkę i cottonballs rano" when - Time cron "0 43 5 ? * MON-FRI *" -/* Time cron "0 29 7 ? * MON-FRI *" +/* Time cron "0 43 5 ? * MON-FRI *" */ + Time cron "0 14 6 ? * MON-FRI *" /* Time cron "0 59 8 ? * MON-FRI *" */ then if (sHolidayVacancy.state != ON) { diff --git a/rules/wc.rules b/rules/wc.rules index 160a3b8..73d3bb7 100644 --- a/rules/wc.rules +++ b/rules/wc.rules @@ -18,7 +18,6 @@ when Item sWC_occupied changed from ON to OFF or Time cron "55 49 5,8,11 ? * MON-FRI" or /* w ciągu dnia roboczego */ Time cron "55 9/20 15-20 ? * MON-FRI" or /* normalnie bez kotow */ -/* Time cron "55 9/12 15-21 ? * MON-FRI" or czesciej jak koty byly */ Time cron "55 59,19,39 8-20 ? * SAT,SUN" then if (sHolidayVacancy.state == ON) { @@ -77,3 +76,4 @@ then sSONOFF01.sendCommand(ON) end */ +