From 66ea303cffcb1258df473c948ed890411d976fc0 Mon Sep 17 00:00:00 2001 From: Tomasz Torcz Date: Mon, 15 May 2023 11:22:23 +0200 Subject: [PATCH] =?UTF-8?q?adnotacje=20co=20wy=C5=82=C4=85cza=C4=87=C2=A0j?= =?UTF-8?q?ak=20mamy=20urlop/wolne=20dni=20w=20ci=C4=85gu=20tygodnia=20w?= =?UTF-8?q?=20domu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rules/przedpokój.rules | 3 ++- rules/sypialnia.lampka-nocna.rules | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/rules/przedpokój.rules b/rules/przedpokój.rules index 51a32e2..ea7d516 100644 --- a/rules/przedpokój.rules +++ b/rules/przedpokój.rules @@ -42,9 +42,10 @@ end rule "Przedpokój: zapal rano" 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 *" */ then +/* wyłączać na urlopie */ sSONOFF06.sendCommand(ON) end diff --git a/rules/sypialnia.lampka-nocna.rules b/rules/sypialnia.lampka-nocna.rules index 9890112..878a87f 100644 --- a/rules/sypialnia.lampka-nocna.rules +++ b/rules/sypialnia.lampka-nocna.rules @@ -5,7 +5,8 @@ when Time cron "0 43 5 ? * MON-FRI *" /* Time cron "0 33 6 ? * MON-FRI *" */ then - sOWFS02.sendCommand(ON) +/* wyłączać na urlopie */ + sOWFS02.sendCommand(ON) sSONOFF08a.sendCommand(ON) end @@ -13,7 +14,7 @@ end rule "Zgaś lampkę i cottonballs rano" when /* Time cron "0 30 6 * * ?" */ - Time cron "0 30 7 * * ?" + Time cron "0 00 7 * * ?" then sOWFS02.sendCommand(OFF) sSONOFF08a.sendCommand(OFF)